Searched refs:fd (Results 151 - 175 of 1454) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/testsuite/libsmbclient/src/read/
H A Dread_12.c33 int fd = 0; local
58 fd = smbc_open(url,O_RDWR | O_CREAT, 0666);
59 smbc_close(fd);
61 fd = smbc_open(url, O_RDWR, 0666);
62 smbc_write(fd, message, msg_len);
63 smbc_close(fd);
68 fd = smbc_open(url, O_RDONLY, 0666);
70 err = smbc_read(fd,response,msg_len);
71 smbc_close(fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/testsuite/libsmbclient/src/write/
H A Dwrite_11.c33 int fd = 0; local
58 fd = smbc_open(url,O_RDWR | O_CREAT, 0666);
59 smbc_close(fd);
61 fd = smbc_open(url, O_RDWR, 0666);
62 smbc_write(fd, message, msg_len);
63 smbc_close(fd);
65 fd = smbc_open(url, O_RDONLY, 0666);
66 smbc_read(fd,response,msg_len);
67 smbc_close(fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dpty.c43 int fd, err; local
45 fd = get_pty();
46 if(fd < 0){
52 CATCH_EINTR(err = tcgetattr(fd, &data->tt));
56 err = raw(fd);
61 dev = ptsname(fd);
66 return(fd);
102 int fd, err; local
105 fd = getmaster(dev);
106 if(fd <
[all...]
H A Dchan_user.c23 int generic_console_write(int fd, const char *buf, int n) argument
28 if(isatty(fd)){
29 CATCH_EINTR(err = tcgetattr(fd, &save));
37 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &new));
41 err = generic_write(fd, buf, n, NULL);
44 if(isatty(fd))
45 CATCH_EINTR(tcsetattr(fd, TCSAFLUSH, &save));
140 static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out) argument
153 data = ((struct winch_data) { .pty_fd = fd,
169 printk("fd
182 register_winch(int fd, struct tty_struct *tty) argument
[all...]
H A Dpcap_user.h20 extern int pcap_user_read(int fd, void *buf, int len, struct pcap_data *pri);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/console-tools/
H A Dsetkeycodes.c26 int fd, sc; local
33 fd = get_console_fd();
42 ioctl_or_perror_and_die(fd, KDSETKEYCODE, &a,
H A Ddumpkmap.c29 int i, j, fd; local
35 fd = xopen(CURRENT_VC, O_RDWR);
53 if (!ioctl_or_perror(fd, KDGKBENT, &ke,
64 close(fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dpipe.h35 They return the process id of the subprocess. They also return in fd[]
39 if null_stderr is false, then -1 is returned and fd[] remain uninitialized.
79 * parent -> fd[0] -> STDIN_FILENO -> child
86 int fd[1]);
92 * parent <- fd[0] <- STDOUT_FILENO <- child
99 int fd[1]);
104 * parent -> fd[1] -> STDIN_FILENO -> child
105 * parent <- fd[0] <- STDOUT_FILENO <- child
113 int fd[2]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/tagutils/
H A Dtagutils-wav.c36 int fd; local
58 if(!(fd = open(filename, O_RDONLY)))
65 if(!(len = read(fd, hdr, len)) || (len != 12))
68 close(fd);
78 close(fd);
89 if(!(len = read(fd, hdr, len)) || (len != 8))
91 close(fd);
104 close(fd);
114 if(!read(fd, fmt, len) || (len != 16))
116 close(fd);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/tagutils/
H A Dtagutils-wav.c36 int fd; local
58 if(!(fd = open(filename, O_RDONLY)))
65 if(!(len = read(fd, hdr, len)) || (len != 12))
68 close(fd);
78 close(fd);
89 if(!(len = read(fd, hdr, len)) || (len != 8))
91 close(fd);
104 close(fd);
114 if(!read(fd, fmt, len) || (len != 16))
116 close(fd);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/
H A Dsys_parisc.c38 int fd[2]; local
41 error = do_pipe(fd);
43 if (copy_to_user(fildes, fd, 2*sizeof(int)))
127 unsigned long prot, unsigned long flags, unsigned long fd,
133 file = fget(fd);
151 unsigned long prot, unsigned long flags, unsigned long fd,
156 return do_mmap2(addr, len, prot, flags, fd, pgoff >> (PAGE_SHIFT - 12));
160 unsigned long prot, unsigned long flags, unsigned long fd,
164 return do_mmap2(addr, len, prot, flags, fd, offset >> PAGE_SHIFT);
179 asmlinkage long parisc_ftruncate64(unsigned int fd, argument
126 do_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff) argument
150 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff) argument
159 sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset) argument
191 sys_ftruncate64(unsigned int fd, unsigned long length) argument
195 sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg) argument
207 parisc_ftruncate64(unsigned int fd, unsigned int high, unsigned int low) argument
214 parisc_pread64(unsigned int fd, char __user *buf, size_t count, unsigned int high, unsigned int low) argument
220 parisc_pwrite64(unsigned int fd, const char __user *buf, size_t count, unsigned int high, unsigned int low) argument
226 parisc_readahead(int fd, unsigned int high, unsigned int low, size_t count) argument
232 parisc_fadvise64_64(int fd, unsigned int high_off, unsigned int low_off, unsigned int high_len, unsigned int low_len, int advice) argument
240 parisc_sync_file_range(int fd, u32 hi_off, u32 lo_off, u32 hi_nbytes, u32 lo_nbytes, unsigned int flags) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dbrec.c13 static struct hfs_bnode *hfs_bnode_split(struct hfs_find_data *fd);
14 static int hfs_brec_update_parent(struct hfs_find_data *fd);
55 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) argument
64 tree = fd->tree;
65 if (!fd->bnode) {
68 fd->bnode = hfs_bnode_find(tree, tree->leaf_head);
69 if (IS_ERR(fd->bnode))
70 return PTR_ERR(fd->bnode);
71 fd->record = -1;
74 key_len = (fd
165 hfs_brec_remove(struct hfs_find_data *fd) argument
218 hfs_bnode_split(struct hfs_find_data *fd) argument
327 hfs_brec_update_parent(struct hfs_find_data *fd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dnotify_kernel.c98 DEBUG(3,("kernel_check_notify: kernel change notify on %s fd[%d]=%d (signals_received=%d)\n",
124 int fd = data->directory_handle; local
125 if (fd != -1) {
129 if (fd == (int)fd_pending_array[i]) {
140 close(fd);
144 DEBUG(3,("kernel_remove_notify: fd=%d\n", fd));
154 int fd; local
157 fd = sys_open(path,O_RDONLY, 0);
159 if (fd
200 int fd, ret; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dbrec.c14 static struct hfs_bnode *hfs_bnode_split(struct hfs_find_data *fd);
15 static int hfs_brec_update_parent(struct hfs_find_data *fd);
53 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) argument
62 tree = fd->tree;
63 if (!fd->bnode) {
66 fd->bnode = hfs_bnode_find(tree, tree->leaf_head);
67 if (IS_ERR(fd->bnode))
68 return PTR_ERR(fd->bnode);
69 fd->record = -1;
72 key_len = be16_to_cpu(fd
163 hfs_brec_remove(struct hfs_find_data *fd) argument
216 hfs_bnode_split(struct hfs_find_data *fd) argument
325 hfs_brec_update_parent(struct hfs_find_data *fd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dbrec.c14 static struct hfs_bnode *hfs_bnode_split(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd);
15 static int hfs_brec_update_parent(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd);
53 int hfs_brec_insert(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd, void *entry, int entry_len) argument
62 tree = fd->tree;
63 if (!fd->bnode) {
66 fd->bnode = hfs_bnode_find(hfsplus_handle, tree, tree->leaf_head);
67 if (IS_ERR(fd->bnode))
68 return PTR_ERR(fd->bnode);
69 fd->record = -1;
72 key_len = be16_to_cpu(fd
164 hfs_brec_remove(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
218 hfs_bnode_split(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
328 hfs_brec_update_parent(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Dnetlink.c37 int fd; member in struct:AvahiNetlink
70 if ((bytes = recvmsg(nl->fd, &smsg, 0)) < 0) {
106 static void socket_event(AvahiWatch *w, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event, void *userdata) { argument
111 assert(fd == nl->fd);
117 int fd = -1; local
125 if ((fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE)) < 0) {
135 if (bind(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
140 if (setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
151 nl->fd
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/solaris/
H A Dioctl.c39 extern asmlinkage int compat_sys_ioctl(unsigned int fd, unsigned int cmd,
41 asmlinkage int solaris_ioctl(unsigned int fd, unsigned int cmd, u32 arg);
43 extern int timod_putmsg(unsigned int fd, char __user *ctl_buf, int ctl_len,
45 extern int timod_getmsg(unsigned int fd, char __user *ctl_buf, int ctl_maxlen, int __user *ctl_len,
116 static inline int linux_to_solaris_termio(unsigned int fd, unsigned int cmd, u32 arg) argument
121 ret = sys_ioctl(fd, cmd, (unsigned long)p);
134 static int solaris_to_linux_termio(unsigned int fd, unsigned int cmd, u32 arg) argument
144 ret = sys_ioctl(fd, cmd, (unsigned long)&s);
149 static inline int linux_to_solaris_termios(unsigned int fd, unsigned int cmd, u32 arg) argument
156 ret = sys_ioctl(fd, cm
171 solaris_to_linux_termios(unsigned int fd, unsigned int cmd, u32 arg) argument
195 solaris_T(unsigned int fd, unsigned int cmd, u32 arg) argument
228 solaris_t(unsigned int fd, unsigned int cmd, u32 arg) argument
291 solaris_sockmod(unsigned int fd, unsigned int cmd, u32 arg) argument
382 solaris_timod(unsigned int fd, unsigned int cmd, u32 arg, int len, int __user *len_p) argument
470 solaris_S(struct file *filp, unsigned int fd, unsigned int cmd, u32 arg) argument
580 solaris_s(unsigned int fd, unsigned int cmd, u32 arg) argument
601 solaris_r(unsigned int fd, unsigned int cmd, u32 arg) argument
612 solaris_i(unsigned int fd, unsigned int cmd, u32 arg) argument
694 solaris_m(unsigned int fd, unsigned int cmd, u32 arg) argument
725 solaris_O(unsigned int fd, unsigned int cmd, u32 arg) argument
780 solaris_ioctl(unsigned int fd, unsigned int cmd, u32 arg) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dutil_file.c39 Lock or unlock a fd for a known lock type. Abandon after waitsecs
43 BOOL do_file_lock(int fd, int waitsecs, int type) argument
60 ret = fcntl(fd, SMB_F_SETLKW, &lock);
74 Lock an fd. Abandon after waitsecs seconds.
77 BOOL file_lock(int fd, int type, int secs, int *plock_depth) argument
79 if (fd < 0)
85 if (!do_file_lock(fd, secs, type)) {
95 Unlock an fd. Abandon after waitsecs seconds.
98 BOOL file_unlock(int fd, int *plock_depth) argument
103 ret = do_file_lock(fd,
347 int fd, n; local
391 fd_load(int fd, size_t *size) argument
424 int fd; local
450 int fd; local
544 fd_lines_load(int fd, int *numlines) argument
622 int fd; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/
H A Dos.h131 extern int os_stat_fd(const int fd, struct uml_stat *buf);
134 extern int os_get_exec_close(int fd, int *close_on_exec);
135 extern int os_set_exec_close(int fd, int close_on_exec);
136 extern int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg);
137 extern int os_window_size(int fd, int *rows, int *cols);
138 extern int os_new_tty_pgrp(int fd, int pid);
139 extern int os_get_ifname(int fd, char *namebuf);
140 extern int os_set_slip(int fd);
141 extern int os_set_owner(int fd, int pid);
142 extern int os_mode_fd(int fd, in
[all...]
H A Dirq_kern.h12 extern int um_request_irq(unsigned int irq, int fd, int type,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dmsgunfmt.tcl62 set fd [open $langfile r]
64 fconfigure $fd -encoding utf-8
65 eval [read $fd]
66 close $fd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_getpass.c188 static bool ttyecho(bool enable, int fd) argument
198 tcgetattr(fd, &withecho);
201 tcsetattr(fd, TCSANOW, &noecho);
203 ioctl(fd, TCGETA, &withecho);
206 ioctl(fd, TCSETA, &noecho);
209 (void)fd;
218 tcsetattr(fd, TCSAFLUSH, &withecho);
220 ioctl(fd, TCSETA, &withecho);
234 int fd = open("/dev/tty", O_RDONLY); local
235 if(-1 == fd)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/easy_tls/
H A Dtest.h5 void test_process_init(int fd, int client_p, void *apparg);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dlockdev.h25 int lock_dev(int fd, int mode, struct device *dev) argument
46 if (flock(fd, (mode ? LOCK_EX : LOCK_SH)|LOCK_NB) < 0)
50 if (mode && lockf(fd, F_TLOCK, 0) < 0)
59 if (fcntl(fd, F_SETLK, &flk) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/easy_tls/
H A Dtest.h5 void test_process_init(int fd, int client_p, void *apparg);

Completed in 376 milliseconds

1234567891011>>