Home
last modified time | relevance | path

Searched refs:fdf (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dfile.h162 static inline void class_fd_prepare_destructor(const struct fd_prepare *fdf) in class_fd_prepare_destructor() argument
164 if (unlikely(fdf->__fd >= 0)) in class_fd_prepare_destructor()
165 put_unused_fd(fdf->__fd); in class_fd_prepare_destructor()
166 if (unlikely(!IS_ERR_OR_NULL(fdf->__file))) in class_fd_prepare_destructor()
167 fput(fdf->__file); in class_fd_prepare_destructor()
171 static inline int class_fd_prepare_lock_err(const struct fd_prepare *fdf) in class_fd_prepare_lock_err() argument
173 if (unlikely(fdf->err)) in class_fd_prepare_lock_err()
174 return fdf->err; in class_fd_prepare_lock_err()
175 if (unlikely(fdf->__fd < 0)) in class_fd_prepare_lock_err()
176 return fdf->__fd; in class_fd_prepare_lock_err()
[all …]
/linux/net/handshake/
H A Dnetlink.c112 FD_PREPARE(fdf, O_CLOEXEC, sock->file); in handshake_nl_accept_doit()
113 if (fdf.err) { in handshake_nl_accept_doit()
114 err = fdf.err; in handshake_nl_accept_doit()
119 err = req->hr_proto->hp_accept(req, info, fd_prepare_fd(fdf)); in handshake_nl_accept_doit()
123 trace_handshake_cmd_accept(net, req, req->hr_sk, fd_prepare_fd(fdf)); in handshake_nl_accept_doit()
124 fd_publish(fdf); in handshake_nl_accept_doit()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c268 FD_PREPARE(fdf, 0, dentry_open(path, O_RDONLY, current_cred())); in spufs_context_open()
269 if (fdf.err) in spufs_context_open()
270 return fdf.err; in spufs_context_open()
271 fd_prepare_file(fdf)->f_op = &spufs_context_fops; in spufs_context_open()
272 return fd_publish(fdf); in spufs_context_open()
501 FD_PREPARE(fdf, 0, dentry_open(path, O_RDONLY, current_cred())); in spufs_gang_open()
502 if (fdf.err) in spufs_gang_open()
503 return fdf.err; in spufs_gang_open()
504 fd_prepare_file(fdf)->f_op = &spufs_gang_fops; in spufs_gang_open()
505 return fd_publish(fdf); in spufs_gang_open()
/linux/fs/
H A Dnsfs.c324 FD_PREPARE(fdf, O_CLOEXEC, dentry_open(&path, O_RDONLY, current_cred())); in ns_ioctl()
325 if (fdf.err) in ns_ioctl()
326 return fdf.err; in ns_ioctl()
334 ret = fd_publish(fdf); in ns_ioctl()
H A Duserfaultfd.c2155 FD_PREPARE(fdf, flags & UFFD_SHARED_FCNTL_FLAGS, in new_userfaultfd()
2159 if (fdf.err) in new_userfaultfd()
2160 return fdf.err; in new_userfaultfd()
2164 fd_prepare_file(fdf)->f_mode |= FMODE_NOWAIT; in new_userfaultfd()
2166 return fd_publish(fdf); in new_userfaultfd()
/linux/sound/firewire/
H A Damdtp-stream.h159 unsigned int fdf; member
H A Damdtp-am824.c94 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_am824_set_parameters()
/linux/sound/firewire/digi00x/
H A Damdtp-dot.c130 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_dot_set_parameters()
/linux/sound/firewire/motu/
H A Damdtp-motu.c478 s->ctx_data.rx.fdf = MOTU_FDF_AM824; in amdtp_motu_init()
/linux/arch/m68k/ifpsp060/
H A Dfplsp.sa1260 dc.l $78ad690a,$43741fdf,$26103fff,$0000b123
1270 dc.l $ccda2497,$64089fdf,$137b3fff,$0000c567