Lines Matching refs:protons_token
55 struct protons_token { struct
56 RB_ENTRY(protons_token) pt_link;
70 pt_cmp(const struct protons_token *pt1, const struct protons_token *pt2) in pt_cmp() argument
74 RB_HEAD(protons_token_tree, protons_token);
75 RB_PROTOTYPE_PREV(protons_token_tree, protons_token, pt_link, pt_cmp);
76 RB_GENERATE_PREV(protons_token_tree, protons_token, pt_link, pt_cmp);
79 static SKMEM_TYPE_DEFINE(protons_token_zone, struct protons_token);
81 static struct protons_token *
86 struct protons_token *pt = NULL; in protons_token_alloc()
102 protons_token_free(struct protons_token *pt) in protons_token_free()
112 protons_token_is_valid(struct protons_token *pt) in protons_token_is_valid()
121 protons_token_has_matching_pid(struct protons_token *pt, pid_t pid, pid_t epid) in protons_token_has_matching_pid()
127 static struct protons_token *
130 struct protons_token find = { .pt_protocol = proto }; in protons_find_token_with_protocol()
133 struct protons_token *pt = NULL; in protons_find_token_with_protocol()
142 protons_token_get_use_count(struct protons_token *pt) in protons_token_get_use_count()
149 protons_token_release(struct protons_token *pt) in protons_token_release()
170 protons_reserve_locked(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve_locked()
173 struct protons_token *pt = NULL, *dup = NULL; in protons_reserve_locked()
212 protons_reserve(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve()
223 protons_release(struct protons_token **ptp) in protons_release()
225 struct protons_token *pt = *ptp; in protons_release()
241 struct protons_token *pt = NULL; in protons_init_netinet_protocol()
329 struct protons_token *pt = NULL;