Searched refs:fpl (Results 1 – 4 of 4) sorted by relevance
68 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local80 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 …]
102 static int diag_ftp_2c4(struct diag_ftp_ldfpl *fpl, in diag_ftp_2c4() argument114 : [rc] "=d" (rc), "+m" (*fpl) in diag_ftp_2c4()115 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
44 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
7132 struct scm_fp_list *fpl; in __io_sqe_files_scm() local7136 fpl = kzalloc(sizeof(*fpl), GFP_KERNEL); in __io_sqe_files_scm()7137 if (!fpl) in __io_sqe_files_scm()7142 kfree(fpl); in __io_sqe_files_scm()7149 fpl->user = get_uid(ctx->user); in __io_sqe_files_scm()7155 fpl->fp[nr_files] = get_file(file); in __io_sqe_files_scm()7156 unix_inflight(fpl->user, fpl->fp[nr_files]); in __io_sqe_files_scm()7161 fpl->max = SCM_MAX_FD; in __io_sqe_files_scm()7162 fpl->count = nr_files; in __io_sqe_files_scm()7163 UNIXCB(skb).fp = fpl; in __io_sqe_files_scm()[all …]