Home
last modified time | relevance | path

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

/Linux-v6.6/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_ACCOUNT); 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 …]
/Linux-v6.6/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-v6.6/io_uring/
Drsrc.c733 struct scm_fp_list *fpl; in __io_scm_file_account() local
753 fpl = kzalloc(sizeof(*fpl), GFP_KERNEL); in __io_scm_file_account()
754 if (!fpl) in __io_scm_file_account()
759 kfree(fpl); in __io_scm_file_account()
763 fpl->user = get_uid(current_user()); in __io_scm_file_account()
764 fpl->max = SCM_MAX_FD; in __io_scm_file_account()
765 fpl->count = 0; in __io_scm_file_account()
767 UNIXCB(skb).fp = fpl; in __io_scm_file_account()
773 fpl = UNIXCB(skb).fp; in __io_scm_file_account()
774 fpl->fp[fpl->count++] = get_file(file); in __io_scm_file_account()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/include/net/
Dscm.h45 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);