Searched refs:n_ref (Results 1 – 2 of 2) sorted by relevance
64 int n_ref; member372 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()[all …]
80 int n_ref; member357 (*self)->n_ref = 1; in sw_discovery_init()427 assert(self->n_ref >= 1); in discovery_ref()429 self->n_ref++; in discovery_ref()436 assert(self->n_ref >= 1); in discovery_unref()438 if (--self->n_ref > 0) in discovery_unref()515 if (self->n_ref > 1) /* Perhaps we should die */ in sw_discovery_read_socket()521 if (self->n_ref > 1) in sw_discovery_read_socket()