Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 203) sorted by relevance

123456789

/linux-2.4.37.9/include/linux/
Dfile.h11 static inline int get_close_on_exec(unsigned int fd) in get_close_on_exec()
21 static inline void set_close_on_exec(unsigned int fd, int flag) in set_close_on_exec()
32 static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files()
44 static inline struct file * fcheck(unsigned int fd) in fcheck()
58 static inline void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd()
65 static inline void put_unused_fd(unsigned int fd) in put_unused_fd()
/linux-2.4.37.9/fs/hfsplus/
Dbfind.c15 void hfsplus_find_rec(hfsplus_bnode *bnode, struct hfsplus_find_data *fd) in hfsplus_find_rec()
55 int hfsplus_btree_find(struct hfsplus_find_data *fd) in hfsplus_btree_find()
112 int hfsplus_btree_find_entry(struct hfsplus_find_data *fd, in hfsplus_btree_find_entry()
126 int hfsplus_btree_move(struct hfsplus_find_data *fd, int cnt) in hfsplus_btree_move()
188 int hfsplus_find_init(hfsplus_btree *tree, struct hfsplus_find_data *fd) in hfsplus_find_init()
205 void hfsplus_find_exit(struct hfsplus_find_data *fd) in hfsplus_find_exit()
/linux-2.4.37.9/fs/
Dfcntl.c114 struct file *file, int fd) in allocate_fd()
205 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl()
254 static long do_fcntl(unsigned int fd, unsigned int cmd, in do_fcntl()
340 asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_fcntl()
357 asmlinkage long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_fcntl64()
402 int fd, in send_sigio_to_task()
439 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio()
469 int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp) in fasync_helper()
Dread_write.c130 asmlinkage off_t sys_lseek(unsigned int fd, off_t offset, unsigned int origin) in sys_lseek()
152 asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high, in sys_llseek()
184 asmlinkage ssize_t sys_read(unsigned int fd, char * buf, size_t count) in sys_read()
209 asmlinkage ssize_t sys_write(unsigned int fd, const char * buf, size_t count) in sys_write()
347 asmlinkage ssize_t sys_readv(unsigned long fd, const struct iovec * vector, in sys_readv()
367 asmlinkage ssize_t sys_writev(unsigned long fd, const struct iovec * vector, in sys_writev()
391 asmlinkage ssize_t sys_pread(unsigned int fd, char * buf, in sys_pread()
422 asmlinkage ssize_t sys_pwrite(unsigned int fd, const char * buf, in sys_pwrite()
Dopen.c56 asmlinkage long sys_fstatfs(unsigned int fd, struct statfs * buf) in sys_fstatfs()
87 void fd_install(unsigned int fd, struct file * file) in fd_install()
186 static inline long do_sys_ftruncate(unsigned int fd, loff_t length, int small) in do_sys_ftruncate()
229 asmlinkage long sys_ftruncate(unsigned int fd, unsigned long length) in sys_ftruncate()
241 asmlinkage long sys_ftruncate64(unsigned int fd, loff_t length) in sys_ftruncate64()
422 asmlinkage long sys_fchdir(unsigned int fd) in sys_fchdir()
479 asmlinkage long sys_fchmod(unsigned int fd, mode_t mode) in sys_fchmod()
631 asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group) in sys_fchown()
744 int fd, error; in get_unused_fd() local
803 int fd, error; in sys_open() local
[all …]
/linux-2.4.37.9/arch/sparc64/solaris/
Dioctl.c116 static inline int linux_to_solaris_termio(unsigned int fd, unsigned int cmd, u32 arg) in linux_to_solaris_termio()
133 static int solaris_to_linux_termio(unsigned int fd, unsigned int cmd, u32 arg) in solaris_to_linux_termio()
148 static inline int linux_to_solaris_termios(unsigned int fd, unsigned int cmd, u32 arg) in linux_to_solaris_termios()
169 static int solaris_to_linux_termios(unsigned int fd, unsigned int cmd, u32 arg) in solaris_to_linux_termios()
192 static inline int solaris_T(unsigned int fd, unsigned int cmd, u32 arg) in solaris_T()
225 static inline int solaris_t(unsigned int fd, unsigned int cmd, u32 arg) in solaris_t()
288 static inline int solaris_sockmod(unsigned int fd, unsigned int cmd, u32 arg) in solaris_sockmod()
375 static inline int solaris_timod(unsigned int fd, unsigned int cmd, u32 arg, in solaris_timod()
463 static inline int solaris_S(struct file *filp, unsigned int fd, unsigned int cmd, u32 arg) in solaris_S()
573 static inline int solaris_s(unsigned int fd, unsigned int cmd, u32 arg) in solaris_s()
[all …]
Dsocket.c95 asmlinkage int solaris_bind(int fd, struct sockaddr *addr, int addrlen) in solaris_bind()
103 asmlinkage int solaris_setsockopt(int fd, int level, int optname, u32 optval, int optlen) in solaris_setsockopt()
117 asmlinkage int solaris_getsockopt(int fd, int level, int optname, u32 optval, u32 optlen) in solaris_getsockopt()
132 asmlinkage int solaris_connect(int fd, struct sockaddr *addr, int addrlen) in solaris_connect()
140 asmlinkage int solaris_accept(int fd, struct sockaddr *addr, int *addrlen) in solaris_accept()
148 asmlinkage int solaris_listen(int fd, int backlog) in solaris_listen()
156 asmlinkage int solaris_shutdown(int fd, int how) in solaris_shutdown()
229 asmlinkage int solaris_getpeername(int fd, struct sockaddr *addr, int *addrlen) in solaris_getpeername()
237 asmlinkage int solaris_getsockname(int fd, struct sockaddr *addr, int *addrlen) in solaris_getsockname()
257 extern __inline__ struct socket *sockfd_lookup(int fd, int *err) in sockfd_lookup()
[all …]
Dtimod.c147 static void timod_wake_socket(unsigned int fd) in timod_wake_socket()
161 static void timod_queue(unsigned int fd, struct T_primsg *it) in timod_queue()
175 static void timod_queue_end(unsigned int fd, struct T_primsg *it) in timod_queue_end()
190 static void timod_error(unsigned int fd, int prim, int terr, int uerr) in timod_error()
209 static void timod_ok(unsigned int fd, int prim) in timod_ok()
226 static int timod_optmgmt(unsigned int fd, int flag, char *opt_buf, int opt_len, int do_ret) in timod_optmgmt()
344 int timod_putmsg(unsigned int fd, char *ctl_buf, int ctl_len, in timod_putmsg()
620 int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len, in timod_getmsg()
836 asmlinkage int solaris_getmsg(unsigned int fd, u32 arg1, u32 arg2, u32 arg3) in solaris_getmsg()
904 asmlinkage int solaris_putmsg(unsigned int fd, u32 arg1, u32 arg2, u32 arg3) in solaris_putmsg()
/linux-2.4.37.9/fs/jffs2/
Ddir.c95 struct jffs2_full_dirent *fd = NULL, *fd_list; in jffs2_lookup() local
139 struct jffs2_full_dirent *fd; in jffs2_readdir() local
199 struct jffs2_full_dirent *fd; in jffs2_create() local
340 struct jffs2_full_dirent *fd; in jffs2_do_unlink() local
428 struct jffs2_full_dirent *fd; in jffs2_do_link() local
518 struct jffs2_full_dirent *fd; in jffs2_symlink() local
660 struct jffs2_full_dirent *fd; in jffs2_mkdir() local
788 struct jffs2_full_dirent *fd; in jffs2_rmdir() local
805 struct jffs2_full_dirent *fd; in jffs2_mknod() local
957 struct jffs2_full_dirent *fd; in jffs2_rename() local
Dbuild.c132 struct jffs2_full_dirent *fd; in jffs2_build_filesystem() local
156 struct jffs2_full_dirent *fd; in jffs2_build_inode_pass1() local
245 struct jffs2_full_dirent *fd; in jffs2_build_remove_unlinked_inode() local
/linux-2.4.37.9/arch/sh/kernel/
Dsys_sh.c36 int fd[2]; in sys_pipe() local
92 unsigned long flags, int fd, unsigned long pgoff) in do_mmap2()
116 int fd, unsigned long off) in old_mmap()
125 unsigned long fd, unsigned long pgoff) in sys_mmap2()
269 asmlinkage ssize_t sys_pread_wrapper(unsigned int fd, char * buf, in sys_pread_wrapper()
277 asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char * buf, in sys_pwrite_wrapper()
/linux-2.4.37.9/arch/sh64/kernel/
Dsys_sh64.c50 int fd[2]; in sys_pipe() local
79 int fd[2]; in sys_pipe() local
153 unsigned long fd, unsigned long pgoff) in do_mmap2()
177 unsigned long fd, unsigned long pgoff) in sys_mmap2()
184 int fd, unsigned long off) in old_mmap()
/linux-2.4.37.9/net/
Dsocket.c330 int fd; in sock_map_fd() local
394 struct socket *sockfd_lookup(int fd, int *err) in sockfd_lookup()
735 static int sock_fasync(int fd, struct file *filp, int on) in sock_fasync()
1000 asmlinkage long sys_bind(int fd, struct sockaddr *umyaddr, int addrlen) in sys_bind()
1024 asmlinkage long sys_listen(int fd, int backlog) in sys_listen()
1051 asmlinkage long sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen) in sys_accept()
1110 asmlinkage long sys_connect(int fd, struct sockaddr *uservaddr, int addrlen) in sys_connect()
1135 asmlinkage long sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len) in sys_getsockname()
1160 asmlinkage long sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len) in sys_getpeername()
1182 asmlinkage long sys_sendto(int fd, void * buff, size_t len, unsigned flags, in sys_sendto()
[all …]
/linux-2.4.37.9/arch/parisc/hpux/
Dioctl.c31 static int hpux_ioctl_t(int fd, unsigned long cmd, unsigned long arg) in hpux_ioctl_t()
46 int hpux_ioctl(int fd, unsigned long cmd, unsigned long arg) in hpux_ioctl()
/linux-2.4.37.9/arch/cris/kernel/
Dsys_cris.c33 int fd[2]; in sys_pipe() local
49 unsigned long flags, unsigned long fd, unsigned long pgoff) in do_mmap2()
91 unsigned long flags, unsigned long fd, unsigned long pgoff) in sys_mmap2()
/linux-2.4.37.9/include/asm-s390/
Dposix_types.h63 #define __FD_SET(fd,fdsetp) set_bit(fd,fdsetp) argument
66 #define __FD_CLR(fd,fdsetp) clear_bit(fd,fdsetp) argument
69 #define __FD_ISSET(fd,fdsetp) test_bit(fd,fdsetp) argument
/linux-2.4.37.9/include/asm-s390x/
Dposix_types.h61 #define __FD_SET(fd,fdsetp) set_bit(fd,fdsetp) argument
64 #define __FD_CLR(fd,fdsetp) clear_bit(fd,fdsetp) argument
67 #define __FD_ISSET(fd,fdsetp) test_bit(fd,fdsetp) argument
/linux-2.4.37.9/include/asm-i386/
Dposix_types.h50 #define __FD_SET(fd,fdsetp) \ argument
55 #define __FD_CLR(fd,fdsetp) \ argument
60 #define __FD_ISSET(fd,fdsetp) (__extension__ ({ \ argument
/linux-2.4.37.9/include/asm-arm/
Dposix_types.h62 #define __FD_SET(fd, fdsetp) \ argument
66 #define __FD_CLR(fd, fdsetp) \ argument
70 #define __FD_ISSET(fd, fdsetp) \ argument
/linux-2.4.37.9/include/asm-cris/
Dposix_types.h57 #define __FD_SET(fd,fdsetp) set_bit(fd, (void *)(fdsetp)) argument
60 #define __FD_CLR(fd,fdsetp) clear_bit(fd, (void *)(fdsetp)) argument
63 #define __FD_ISSET(fd,fdsetp) test_bit(fd, (void *)(fdsetp)) argument
/linux-2.4.37.9/arch/sparc64/kernel/
Dioctl32.c127 static int w_long(unsigned int fd, unsigned int cmd, unsigned long arg) in w_long()
141 static int rw_long(unsigned int fd, unsigned int cmd, unsigned long arg) in rw_long()
157 static int do_ext2_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in do_ext2_ioctl()
335 static int do_video_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in do_video_ioctl()
415 static int do_siocgstamp(unsigned int fd, unsigned int cmd, unsigned long arg) in do_siocgstamp()
469 static int dev_ifname32(unsigned int fd, unsigned int cmd, unsigned long arg) in dev_ifname32()
490 static int dev_ifconf(unsigned int fd, unsigned int cmd, unsigned long arg) in dev_ifconf()
571 static int ethtool_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in ethtool_ioctl()
594 static int bond_ioctl(unsigned long fd, unsigned int cmd, unsigned long arg) in bond_ioctl()
646 static int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in siocdevprivate_ioctl()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c66 unsigned long fd, unsigned long off) in sunos_mmap()
350 asmlinkage int sunos_getdents(unsigned int fd, void * dirent, int cnt) in sunos_getdents()
429 asmlinkage int sunos_getdirentries(unsigned int fd, void * dirent, int cnt, unsigned int *basep) in sunos_getdirentries()
521 asmlinkage int sunos_fpathconf(int fd, int name) in sunos_fpathconf()
634 sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr) in sunos_nfs_get_server_fd()
1049 static inline int check_nonblock(int ret, int fd) in check_nonblock()
1071 asmlinkage int sunos_read(unsigned int fd,char *buf,int count) in sunos_read()
1079 asmlinkage int sunos_readv(unsigned long fd, const struct iovec * vector, long count) in sunos_readv()
1087 asmlinkage int sunos_write(unsigned int fd,char *buf,int count) in sunos_write()
1095 asmlinkage int sunos_writev(unsigned long fd, const struct iovec * vector, long count) in sunos_writev()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dsyscall.c44 int fd[2]; in sys_pipe() local
116 unsigned long flags, unsigned long fd, unsigned long pgoff) in do_mmap2()
139 int flags, int fd, off_t offset) in old_mmap()
155 unsigned long flags, unsigned long fd, unsigned long pgoff) in sys_mmap2()
/linux-2.4.37.9/arch/i386/kernel/
Dsys_i386.c31 int fd[2]; in sys_pipe() local
46 unsigned long fd, unsigned long pgoff) in do_mmap2()
70 unsigned long fd, unsigned long pgoff) in sys_mmap2()
87 unsigned long fd; member
/linux-2.4.37.9/arch/s390x/kernel/
Dioctl32.c50 static inline int hd_geometry_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in hd_geometry_ioctl()
118 static int dev_ifname32(unsigned int fd, unsigned int cmd, unsigned long arg) in dev_ifname32()
143 static inline int dev_ifconf(unsigned int fd, unsigned int cmd, in dev_ifconf()
208 static int bond_ioctl(unsigned long fd, unsigned int cmd, unsigned long arg) in bond_ioctl()
260 static inline int dev_ifsioc(unsigned int fd, unsigned int cmd, in dev_ifsioc()
341 static inline int routing_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in routing_ioctl()
370 static int do_ext2_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in do_ext2_ioctl()
397 static int loop_status(unsigned int fd, unsigned int cmd, unsigned long arg) in loop_status()
453 static int blkpg_ioctl_trans(unsigned int fd, unsigned int cmd, struct blkpg_ioctl_arg32 *arg) in blkpg_ioctl_trans()
483 static int w_long(unsigned int fd, unsigned int cmd, unsigned long arg) in w_long()
[all …]

123456789