Lines Matching refs:label

170         c->label = mfree(c->label);  in client_context_reset()
237 const char *label, size_t label_size) { in client_context_read_label() argument
241 assert(label_size == 0 || label); in client_context_read_label()
248 l = newdup_suffix0(char, label, label_size); in client_context_read_label()
252 free_and_replace(c->label, l); in client_context_read_label()
262 free_and_replace(c->label, con); in client_context_read_label()
263 c->label_size = strlen(c->label); in client_context_read_label()
507 const char *label, size_t label_size, in client_context_really_refresh() argument
520 (void) client_context_read_label(c, label, label_size); in client_context_really_refresh()
544 const char *label, size_t label_size, in client_context_maybe_refresh() argument
576 … if (label_size > 0 && (label_size != c->label_size || memcmp(label, c->label, label_size) != 0)) in client_context_maybe_refresh()
582 client_context_really_refresh(s, c, ucred, label, label_size, unit_id, timestamp); in client_context_maybe_refresh()
653 const char *label, size_t label_len, in client_context_get_internal() argument
681 client_context_maybe_refresh(s, c, ucred, label, label_len, unit_id, USEC_INFINITY); in client_context_get_internal()
705 client_context_really_refresh(s, c, ucred, label, label_len, unit_id, USEC_INFINITY); in client_context_get_internal()
715 const char *label, size_t label_len, in client_context_get() argument
719 return client_context_get_internal(s, pid, ucred, label, label_len, unit_id, false, ret); in client_context_get()
726 const char *label, size_t label_len, in client_context_acquire() argument
730 return client_context_get_internal(s, pid, ucred, label, label_len, unit_id, true, ret); in client_context_acquire()