Lines Matching refs:protons_token
56 struct protons_token { struct
57 RB_ENTRY(protons_token) pt_link;
71 pt_cmp(const struct protons_token *pt1, const struct protons_token *pt2) in pt_cmp() argument
75 RB_HEAD(protons_token_tree, protons_token);
76 RB_PROTOTYPE_PREV(protons_token_tree, protons_token, pt_link, pt_cmp);
77 RB_GENERATE_PREV(protons_token_tree, protons_token, pt_link, pt_cmp);
80 static SKMEM_TYPE_DEFINE(protons_token_zone, struct protons_token);
82 static struct protons_token *
87 struct protons_token *pt = NULL; in protons_token_alloc()
103 protons_token_free(struct protons_token *pt) in protons_token_free()
113 protons_token_is_valid(struct protons_token *pt) in protons_token_is_valid()
122 protons_token_has_matching_pid(struct protons_token *pt, pid_t pid, pid_t epid) in protons_token_has_matching_pid()
128 static struct protons_token *
131 struct protons_token find = { .pt_protocol = proto }; in protons_find_token_with_protocol()
134 struct protons_token *pt = NULL; in protons_find_token_with_protocol()
143 protons_token_get_use_count(struct protons_token *pt) in protons_token_get_use_count()
150 protons_token_release(struct protons_token *pt) in protons_token_release()
171 protons_reserve_locked(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve_locked()
174 struct protons_token *pt = NULL, *dup = NULL; in protons_reserve_locked()
213 protons_reserve(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve()
224 protons_release(struct protons_token **ptp) in protons_release()
226 struct protons_token *pt = *ptp; in protons_release()
242 struct protons_token *__single pt = NULL; in protons_init_netinet_protocol()
330 struct protons_token *pt = NULL;