/include/linux/ |
D | file.h | 34 struct fd { struct 41 static inline void fdput(struct fd fd) in fdput() argument 43 if (fd.flags & FDPUT_FPUT) in fdput() 44 fput(fd.file); in fdput() 47 extern struct file *fget(unsigned int fd); 48 extern struct file *fget_many(unsigned int fd, unsigned int refs); 49 extern struct file *fget_raw(unsigned int fd); 50 extern unsigned long __fdget(unsigned int fd); 51 extern unsigned long __fdget_raw(unsigned int fd); 52 extern unsigned long __fdget_pos(unsigned int fd); [all …]
|
D | fdtable.h | 28 struct file __rcu **fd; /* current fd array */ member 35 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec() argument 37 return test_bit(fd, fdt->close_on_exec); in close_on_exec() 40 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open() argument 42 return test_bit(fd, fdt->open_fds); in fd_is_open() 82 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument 86 if (fd < fdt->max_fds) { in __fcheck_files() 87 fd = array_index_nospec(fd, fdt->max_fds); in __fcheck_files() 88 return rcu_dereference_raw(fdt->fd[fd]); in __fcheck_files() 93 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument [all …]
|
D | font.h | 63 #define REFCOUNT(fd) (((int *)(fd))[-1]) argument 64 #define FNTSIZE(fd) (((int *)(fd))[-2]) argument 65 #define FNTCHARCNT(fd) (((int *)(fd))[-3]) argument 66 #define FNTSUM(fd) (((int *)(fd))[-4]) argument
|
D | syscalls.h | 320 asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit, 323 asmlinkage long sys_io_uring_register(unsigned int fd, unsigned int op, 331 asmlinkage long sys_fsetxattr(int fd, const char __user *name, 337 asmlinkage long sys_fgetxattr(int fd, const char __user *name, 343 asmlinkage long sys_flistxattr(int fd, char __user *list, size_t size); 348 asmlinkage long sys_fremovexattr(int fd, const char __user *name); 361 asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, 371 asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg); 373 asmlinkage long sys_fcntl64(unsigned int fd, 379 asmlinkage long sys_inotify_add_watch(int fd, const char __user *path, [all …]
|
D | socket.h | 370 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg, 372 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, 374 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, 378 extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, 389 extern int __sys_recvfrom(int fd, void __user *ubuf, size_t size, 392 extern int __sys_sendto(int fd, void __user *buff, size_t len, 395 extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, 398 extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen); 399 extern int __sys_connect(int fd, struct sockaddr __user *uservaddr, 401 extern int __sys_listen(int fd, int backlog); [all …]
|
D | eventfd.h | 38 struct file *eventfd_fget(int fd); 39 struct eventfd_ctx *eventfd_ctx_fdget(int fd); 60 static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd) in eventfd_ctx_fdget() argument
|
D | compat.h | 544 asmlinkage long compat_sys_fcntl(unsigned int fd, unsigned int cmd, 546 asmlinkage long compat_sys_fcntl64(unsigned int fd, unsigned int cmd, 550 asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, 565 asmlinkage long compat_sys_fstatfs(unsigned int fd, 567 asmlinkage long compat_sys_fstatfs64(unsigned int fd, compat_size_t sz, 576 asmlinkage long compat_sys_getdents(unsigned int fd, 582 asmlinkage ssize_t compat_sys_readv(compat_ulong_t fd, 584 asmlinkage ssize_t compat_sys_writev(compat_ulong_t fd, 587 asmlinkage ssize_t compat_sys_preadv(compat_ulong_t fd, 590 asmlinkage ssize_t compat_sys_pwritev(compat_ulong_t fd, [all …]
|
D | sync_file.h | 59 struct dma_fence *sync_file_get_fence(int fd);
|
D | dnotify.h | 42 static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify() argument
|
/include/soc/fsl/ |
D | dpaa2-fd.h | 103 static inline dma_addr_t dpaa2_fd_get_addr(const struct dpaa2_fd *fd) in dpaa2_fd_get_addr() argument 105 return (dma_addr_t)le64_to_cpu(fd->simple.addr); in dpaa2_fd_get_addr() 113 static inline void dpaa2_fd_set_addr(struct dpaa2_fd *fd, dma_addr_t addr) in dpaa2_fd_set_addr() argument 115 fd->simple.addr = cpu_to_le64(addr); in dpaa2_fd_set_addr() 124 static inline u32 dpaa2_fd_get_frc(const struct dpaa2_fd *fd) in dpaa2_fd_get_frc() argument 126 return le32_to_cpu(fd->simple.frc); in dpaa2_fd_get_frc() 134 static inline void dpaa2_fd_set_frc(struct dpaa2_fd *fd, u32 frc) in dpaa2_fd_set_frc() argument 136 fd->simple.frc = cpu_to_le32(frc); in dpaa2_fd_set_frc() 145 static inline u32 dpaa2_fd_get_ctrl(const struct dpaa2_fd *fd) in dpaa2_fd_get_ctrl() argument 147 return le32_to_cpu(fd->simple.ctrl); in dpaa2_fd_get_ctrl() [all …]
|
D | qman.h | 115 static inline dma_addr_t qm_fd_addr(const struct qm_fd *fd) in qm_fd_addr() argument 117 return be64_to_cpu(fd->data) & 0xffffffffffLLU; in qm_fd_addr() 120 static inline u64 qm_fd_addr_get64(const struct qm_fd *fd) in qm_fd_addr_get64() argument 122 return be64_to_cpu(fd->data) & 0xffffffffffLLU; in qm_fd_addr_get64() 125 static inline void qm_fd_addr_set64(struct qm_fd *fd, u64 addr) in qm_fd_addr_set64() argument 127 fd->addr_hi = upper_32_bits(addr); in qm_fd_addr_set64() 128 fd->addr_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fd_addr_set64() 138 static inline enum qm_fd_format qm_fd_get_format(const struct qm_fd *fd) in qm_fd_get_format() argument 140 return be32_to_cpu(fd->cfg) & QM_FD_FORMAT_MASK; in qm_fd_get_format() 143 static inline int qm_fd_get_offset(const struct qm_fd *fd) in qm_fd_get_offset() argument [all …]
|
D | dpaa2-global.h | 32 u8 fd[32]; member 174 return (const struct dpaa2_fd *)&dq->dq.fd[0]; in dpaa2_dq_fd()
|
D | dpaa2-io.h | 111 const struct dpaa2_fd *fd); 113 u16 qdbin, const struct dpaa2_fd *fd);
|
/include/uapi/linux/ |
D | kcm.h | 19 int fd; member 24 int fd; member 28 int fd; member
|
D | if_pppol2tp.h | 30 int fd; /* FD of UDP socket to use */ member 44 int fd; /* FD of UDP socket to use */ member 58 int fd; /* FD of UDP or IP socket to use */ member 69 int fd; /* FD of UDP or IP socket to use */ member
|
D | gpio.h | 94 int fd; member 134 int fd; member
|
D | vtpm_proxy.h | 43 __u32 fd; /* output */ member
|
D | fanotify.h | 114 __s32 fd; member 139 __s32 fd; member
|
D | nfs_mount.h | 29 int fd; /* 1 */ member
|
/include/asm-generic/ |
D | syscalls.h | 16 unsigned long fd, unsigned long pgoff); 22 unsigned long fd, off_t pgoff);
|
/include/uapi/xen/ |
D | gntdev.h | 245 __u32 fd; member 269 __u32 fd; member 283 __u32 fd; member 305 __u32 fd; member
|
/include/uapi/misc/ |
D | fastrpc.h | 17 __s32 fd; member 36 __s32 fd; /* fd */ member
|
/include/linux/sunrpc/ |
D | svcsock.h | 60 bool svc_alien_sock(struct net *net, int fd); 61 int svc_addsock(struct svc_serv *serv, const int fd,
|
/include/uapi/asm-generic/ |
D | poll.h | 37 int fd; member
|
/include/uapi/linux/netfilter/ |
D | xt_bpf.h | 32 __s32 fd; member
|