Lines Matching refs:n_ref
64 int n_ref; member
372 sdref->n_ref = 1; in sdref_new()
458 assert(sdref->n_ref >= 1); in sdref_ref()
460 sdref->n_ref++; in sdref_ref()
465 assert(sdref->n_ref >= 1); in sdref_unref()
467 if (--(sdref->n_ref) <= 0) in sdref_unref()
475 if (!sdref || sdref->n_ref <= 0) in DNSServiceRefSockFD()
486 if (!sdref || sdref->n_ref <= 0) in DNSServiceProcessResult()
500 if (sdref->n_ref > 1) /* Perhaps we should die */ in DNSServiceProcessResult()
506 if (sdref->n_ref > 1) in DNSServiceProcessResult()
545 assert(sdref->n_ref >= 1); in service_browser_callback()
575 assert(sdref->n_ref >= 1); in generic_client_callback()
692 assert(sdref->n_ref >= 1); in service_resolver_callback()
816 assert(sdref->n_ref >= 1); in domain_browser_callback()
902 assert(sdref->n_ref >= 1); in reg_report_error()
923 assert(sdref->n_ref >= 1); in reg_create_service()
964 assert(sdref->n_ref >= 1); in reg_client_callback()
1223 if (!sdref || sdref->n_ref <= 0) in DNSServiceUpdateRecord()
1289 assert(sdref->n_ref >= 1); in query_resolver_callback()