Home
last modified time | relevance | path

Searched refs:fpl (Results 1 – 5 of 5) sorted by relevance

/linux/net/unix/
H A Dgarbage.c154 static void unix_add_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_add_edge() argument
159 vertex = list_first_entry(&fpl->vertices, typeof(*vertex), entry); in unix_add_edge()
176 static void unix_del_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_del_edge() argument
180 if (!fpl->dead) in unix_del_edge()
188 list_move_tail(&vertex->entry, &fpl->vertices); in unix_del_edge()
192 static void unix_free_vertices(struct scm_fp_list *fpl) in unix_free_vertices() argument
196 list_for_each_entry_safe(vertex, next_vertex, &fpl->vertices, entry) { in unix_free_vertices()
204 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver) in unix_add_edges() argument
210 if (!fpl->count_unix) in unix_add_edges()
214 struct unix_sock *inflight = unix_get_socket(fpl->fp[j++]); in unix_add_edges()
[all …]
H A Daf_unix.h27 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver);
28 void unix_del_edges(struct scm_fp_list *fpl);
30 int unix_prepare_fpl(struct scm_fp_list *fpl);
31 void unix_destroy_fpl(struct scm_fp_list *fpl);
/linux/net/core/
H A Dscm.c72 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local
84 if (!fpl) in scm_fp_copy()
86 fpl = kmalloc_obj(struct scm_fp_list, GFP_KERNEL_ACCOUNT); in scm_fp_copy()
87 if (!fpl) in scm_fp_copy()
89 *fplp = fpl; in scm_fp_copy()
90 fpl->count = 0; in scm_fp_copy()
91 fpl->count_unix = 0; in scm_fp_copy()
92 fpl->max = SCM_MAX_FD; in scm_fp_copy()
93 fpl->user = NULL; in scm_fp_copy()
95 fpl->inflight = false; in scm_fp_copy()
[all …]
/linux/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c35 FILE *fp, *fpl; in read_patterns() local
42 fpl = fopen(plf, "r"); in read_patterns()
43 if (!fpl) in read_patterns()
45 fscanf(fpl, "%u", &patterns[i].len); in read_patterns()
46 fclose(fpl); in read_patterns()
/linux/include/net/
H A Dscm.h57 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);