Home
last modified time | relevance | path

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

/linux-6.12.1/net/unix/
Dgarbage.c140 static void unix_add_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_add_edge() argument
145 vertex = list_first_entry(&fpl->vertices, typeof(*vertex), entry); in unix_add_edge()
161 static void unix_del_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_del_edge() argument
165 if (!fpl->dead) in unix_del_edge()
173 list_move_tail(&vertex->entry, &fpl->vertices); in unix_del_edge()
177 static void unix_free_vertices(struct scm_fp_list *fpl) in unix_free_vertices() argument
181 list_for_each_entry_safe(vertex, next_vertex, &fpl->vertices, entry) { in unix_free_vertices()
190 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver) in unix_add_edges() argument
196 if (!fpl->count_unix) in unix_add_edges()
200 struct unix_sock *inflight = unix_get_socket(fpl->fp[j++]); in unix_add_edges()
[all …]
/linux-6.12.1/net/core/
Dscm.c70 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local
82 if (!fpl) in scm_fp_copy()
84 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL_ACCOUNT); in scm_fp_copy()
85 if (!fpl) in scm_fp_copy()
87 *fplp = fpl; in scm_fp_copy()
88 fpl->count = 0; in scm_fp_copy()
89 fpl->count_unix = 0; in scm_fp_copy()
90 fpl->max = SCM_MAX_FD; in scm_fp_copy()
91 fpl->user = NULL; in scm_fp_copy()
93 fpl->inflight = false; in scm_fp_copy()
[all …]
/linux-6.12.1/include/net/
Daf_unix.h21 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver);
22 void unix_del_edges(struct scm_fp_list *fpl);
24 int unix_prepare_fpl(struct scm_fp_list *fpl);
25 void unix_destroy_fpl(struct scm_fp_list *fpl);
27 void wait_for_unix_gc(struct scm_fp_list *fpl);
Dscm.h57 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
/linux-6.12.1/drivers/s390/char/
Ddiag_ftp.c103 static int diag_ftp_2c4(struct diag_ftp_ldfpl *fpl, in diag_ftp_2c4() argument
115 : [rc] "=d" (rc), "+m" (*fpl) in diag_ftp_2c4()
116 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
/linux-6.12.1/tools/testing/selftests/alsa/
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()