Home
last modified time | relevance | path

Searched refs:fpl (Results 1 – 6 of 6) 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()
193 static void unix_free_vertices(struct scm_fp_list *fpl) in unix_free_vertices() argument
197 list_for_each_entry_safe(vertex, next_vertex, &fpl->vertices, entry) { in unix_free_vertices()
205 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver) in unix_add_edges() argument
211 if (!fpl->count_unix) in unix_add_edges()
215 struct unix_sock *inflight = unix_get_socket(fpl in unix_add_edges()
239 unix_del_edges(struct scm_fp_list * fpl) unix_del_edges() argument
283 unix_prepare_fpl(struct scm_fp_list * fpl) unix_prepare_fpl() argument
313 unix_destroy_fpl(struct scm_fp_list * fpl) unix_destroy_fpl() argument
325 unix_peek_fpl(struct scm_fp_list * fpl) unix_peek_fpl() argument
[all...]
H A Daf_unix.h28 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver);
29 void unix_del_edges(struct scm_fp_list *fpl);
31 int unix_prepare_fpl(struct scm_fp_list *fpl);
32 void unix_destroy_fpl(struct scm_fp_list *fpl);
33 void unix_peek_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/drivers/s390/char/
H A Ddiag_ftp.c102 static int diag_ftp_2c4(struct diag_ftp_ldfpl *fpl, in diag_ftp_2c4() argument
114 : [rc] "=d" (rc), "+m" (*fpl) in diag_ftp_2c4()
115 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
/linux/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c37 FILE *fp, *fpl; in read_patterns()
44 fpl = fopen(plf, "r"); in read_patterns()
45 if (!fpl) in read_patterns()
47 fscanf(fpl, "%u", &patterns[i].len); in read_patterns()
48 fclose(fpl); in read_patterns()
35 FILE *fp, *fpl; read_patterns() local
/linux/include/net/
H A Dscm.h57 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);