Lines Matching refs:fp
101 fpp = &fpl->fp[fpl->count]; in scm_fp_copy()
137 struct scm_fp_list *fpl = scm->fp; in __scm_destroy()
141 scm->fp = NULL; in __scm_destroy()
143 fput(fpl->fp[i]); in __scm_destroy()
194 err=scm_fp_copy(cmsg, &p->fp); in __scm_send()
242 if (p->fp && !p->fp->count) in __scm_send()
244 kfree(p->fp); in __scm_send()
245 p->fp = NULL; in __scm_send()
359 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds()
373 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
395 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds()
414 new_fpl = kmemdup(fpl, offsetof(struct scm_fp_list, fp[fpl->count]), in scm_fp_dup()
418 get_file(fpl->fp[i]); in scm_fp_dup()
506 scm->fp || scm_has_secdata(sk)) in __scm_recv_common()
526 if (scm->fp) in __scm_recv_common()