Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
Dscm.c68 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local
80 if (!fpl) in scm_fp_copy()
82 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL); in scm_fp_copy()
83 if (!fpl) in scm_fp_copy()
85 *fplp = fpl; in scm_fp_copy()
86 fpl->count = 0; in scm_fp_copy()
87 fpl->max = SCM_MAX_FD; in scm_fp_copy()
88 fpl->user = NULL; in scm_fp_copy()
90 fpp = &fpl->fp[fpl->count]; in scm_fp_copy()
92 if (fpl->count + num > fpl->max) in scm_fp_copy()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
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()
/kernel/linux/linux-5.10/include/net/
Dscm.h44 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c8079 struct scm_fp_list *fpl; in __io_sqe_files_scm() local
8083 fpl = kzalloc(sizeof(*fpl), GFP_KERNEL); in __io_sqe_files_scm()
8084 if (!fpl) in __io_sqe_files_scm()
8089 kfree(fpl); in __io_sqe_files_scm()
8097 fpl->user = get_uid(current_user()); in __io_sqe_files_scm()
8103 fpl->fp[nr_files] = get_file(file); in __io_sqe_files_scm()
8104 unix_inflight(fpl->user, fpl->fp[nr_files]); in __io_sqe_files_scm()
8109 fpl->max = SCM_MAX_FD; in __io_sqe_files_scm()
8110 fpl->count = nr_files; in __io_sqe_files_scm()
8111 UNIXCB(skb).fp = fpl; in __io_sqe_files_scm()
[all …]