Searched refs:fpl (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
H A D | scm.c | 69 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local 81 if (!fpl) in scm_fp_copy() 83 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL); in scm_fp_copy() 84 if (!fpl) in scm_fp_copy() 86 *fplp = fpl; in scm_fp_copy() 87 fpl->count = 0; in scm_fp_copy() 88 fpl->max = SCM_MAX_FD; in scm_fp_copy() 89 fpl->user = NULL; in scm_fp_copy() 91 fpp = &fpl->fp[fpl in scm_fp_copy() 124 struct scm_fp_list *fpl = scm->fp; __scm_destroy() local 348 scm_fp_dup(struct scm_fp_list *fpl) scm_fp_dup() argument [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | scm.c | 69 struct scm_fp_list *fpl = *fplp; in scm_fp_copy() local 81 if (!fpl) in scm_fp_copy() 83 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL_ACCOUNT); in scm_fp_copy() 84 if (!fpl) in scm_fp_copy() 86 *fplp = fpl; in scm_fp_copy() 87 fpl->count = 0; in scm_fp_copy() 88 fpl->max = SCM_MAX_FD; in scm_fp_copy() 89 fpl->user = NULL; in scm_fp_copy() 91 fpp = &fpl->fp[fpl in scm_fp_copy() 124 struct scm_fp_list *fpl = scm->fp; __scm_destroy() local 361 scm_fp_dup(struct scm_fp_list *fpl) scm_fp_dup() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | diag_ftp.c | 89 * @fpl: pointer to prepared LDFPL 93 * @fpl and FTP function code @cmd. In case of an error the function does 99 * 2. The FTP parameter list @fpl must be aligned to a double-word boundary. 100 * 3. fpl->bufaddr must be a real address, 4k aligned 102 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-6.6/drivers/s390/char/ |
H A D | diag_ftp.c | 90 * @fpl: pointer to prepared LDFPL 94 * @fpl and FTP function code @cmd. In case of an error the function does 100 * 2. The FTP parameter list @fpl must be aligned to a double-word boundary. 101 * 3. fpl->bufaddr must be a real address, 4k aligned 103 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
H A D | test-pcmtest-driver.c | 35 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()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | scm.h | 44 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | scm.h | 45 struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 8170 struct scm_fp_list *fpl; in __io_sqe_files_scm() local 8174 fpl = kzalloc(sizeof(*fpl), GFP_KERNEL); in __io_sqe_files_scm() 8175 if (!fpl) in __io_sqe_files_scm() 8180 kfree(fpl); in __io_sqe_files_scm() 8188 fpl->user = get_uid(current_user()); in __io_sqe_files_scm() 8194 fpl->fp[nr_files] = get_file(file); in __io_sqe_files_scm() 8195 unix_inflight(fpl->user, fpl->fp[nr_files]); in __io_sqe_files_scm() 8200 fpl in __io_sqe_files_scm() [all...] |
Completed in 21 milliseconds