Lines Matching refs:fpl
7956 struct scm_fp_list *fpl; in __io_sqe_files_scm() local
7960 fpl = kzalloc(sizeof(*fpl), GFP_KERNEL); in __io_sqe_files_scm()
7961 if (!fpl) in __io_sqe_files_scm()
7966 kfree(fpl); in __io_sqe_files_scm()
7974 fpl->user = get_uid(current_user()); in __io_sqe_files_scm()
7980 fpl->fp[nr_files] = get_file(file); in __io_sqe_files_scm()
7981 unix_inflight(fpl->user, fpl->fp[nr_files]); in __io_sqe_files_scm()
7986 fpl->max = SCM_MAX_FD; in __io_sqe_files_scm()
7987 fpl->count = nr_files; in __io_sqe_files_scm()
7988 UNIXCB(skb).fp = fpl; in __io_sqe_files_scm()
8001 free_uid(fpl->user); in __io_sqe_files_scm()
8002 kfree(fpl); in __io_sqe_files_scm()
8259 struct scm_fp_list *fpl = UNIXCB(skb).fp; in io_sqe_file_register() local
8261 if (fpl->count < SCM_MAX_FD) { in io_sqe_file_register()
8264 fpl->fp[fpl->count] = get_file(file); in io_sqe_file_register()
8265 unix_inflight(fpl->user, fpl->fp[fpl->count]); in io_sqe_file_register()
8266 fpl->count++; in io_sqe_file_register()