Searched refs:fd (Results 26 - 50 of 2268) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Dbfind.c14 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) argument
18 fd->tree = tree;
19 fd->bnode = NULL;
23 fd->search_key = ptr;
24 fd->key = ptr + tree->max_key_len + 2;
30 void hfs_find_exit(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
32 hfs_bnode_put(hfsplus_handle, fd->bnode);
33 kfree(fd->search_key);
34 dprint(DBG_BNODE_REFS, "find_exit: %d (%p)\n", fd->tree->cnid, __builtin_return_address(0));
35 mutex_unlock(&fd
39 hfsplus_journalled_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) argument
54 hfsplus_journalled_find_exit(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
63 __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) argument
115 hfs_brec_find(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd) argument
169 hfs_brec_read(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd, void *rec, int rec_len) argument
182 hfs_brec_goto(hfsplus_handle_t *hfsplus_handle, struct hfs_find_data *fd, int cnt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libdaemon-0.14/libdaemon/
H A Ddnonblock.h36 * @param fd The file descriptor to manipulation
41 int daemon_nonblock(int fd, int b);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/drivers/
H A Dssl.h9 extern int ssl_read(int fd, int line);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libdaemon-0.14/libdaemon/
H A Ddnonblock.h36 * @param fd The file descriptor to manipulation
41 int daemon_nonblock(int fd, int b);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dfd_ostream.priv.h10 int fd; member in struct:fd_ostream_representation
H A Dbinary-io.h52 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
54 # define SET_BINARY(fd) setmode (fd, O_BINARY)
60 # define SET_BINARY(fd) /* nothing */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/watchdog/src/
H A Dwatchdog-simple.c8 int fd = open("/dev/watchdog", O_WRONLY); local
10 if (fd == -1) {
15 ret = write(fd, "\0", 1);
22 close(fd);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/console-tools/
H A Dchvt.c21 int fd, num; local
27 fd = get_console_fd();
30 xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)num);
31 xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)num);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dfreeramdisk.c14 /* From <linux/fd.h> */
20 int fd; local
24 fd = xopen(argv[1], O_RDWR);
27 ioctl_or_perror_and_die(fd, (ENABLE_FREERAMDISK && applet_name[1]=='r')
30 if (ENABLE_FEATURE_CLEAN_UP) close(fd);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/compat/
H A Dcompat-daemon.c78 int fd; local
79 if ((fd = open ("/dev/null", O_RDWR, 0)) != -1) {
80 dup2 (fd, 0);
81 dup2 (fd, 1);
82 dup2 (fd, 2);
83 if (fd > 2) {
84 close (fd);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dlocal.c31 int fd; local
35 if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
38 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &conf->reuseaddr,
40 close(fd);
50 if (bind(fd, (struct sockaddr *) &local, len) == -1) {
51 close(fd);
56 if (listen(fd, conf->backlog) == -1) {
57 close(fd);
62 server->fd = fd;
74 do_local_server_step(struct local_server *server, void *data, int (*process)(int fd, void *data)) argument
96 int fd; local
113 local_client_destroy(int fd) argument
118 do_local_client_step(int fd, void (*process)(char *buf)) argument
143 int fd, ret; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/
H A Dcat.c22 int fd; local
29 fd = STDIN_FILENO;
31 fd = open_or_warn(*argv, O_RDONLY);
32 if (fd >= 0) {
34 off_t r = bb_copyfd_eof(fd, STDOUT_FILENO);
35 if (fd != STDIN_FILENO)
36 close(fd);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/
H A Dtty.c16 int fd; member in struct:grantpt_info
25 info->res = grantpt(info->fd);
32 int fd, err; local
34 fd = open("/dev/ptmx", O_RDWR);
35 if (fd < 0) {
42 info.fd = fd;
52 if (unlockpt(fd) < 0) {
58 return fd;
60 close(fd);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/zebra/
H A Dipforward_aix.c28 int fd, ret; local
33 fd = socket(af, SOCK_DGRAM, 0);
34 if (fd < 0) {
42 ret = ioctl (fd, SIOCGNETOPT, (caddr_t)&oq);
43 close(fd);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Disrv.c27 short *fd2peer; /* one per registered fd */
31 int (*new_peer)(isrv_state_t *state, int fd);
50 void isrv_want_rd(isrv_state_t *state, int fd) argument
52 FD_SET(fd, &state->rd);
56 void isrv_want_wr(isrv_state_t *state, int fd) argument
58 if (!FD_ISSET(fd, &state->wr)) {
60 FD_SET(fd, &state->wr);
65 void isrv_dont_want_rd(isrv_state_t *state, int fd) argument
67 FD_CLR(fd, &state->rd);
71 void isrv_dont_want_wr(isrv_state_t *state, int fd) argument
80 isrv_register_fd(isrv_state_t *state, int peer, int fd) argument
104 isrv_close_fd(isrv_state_t *state, int fd) argument
145 int fd; local
175 handle_accept(isrv_state_t *state, int fd) argument
202 int fd, peer; local
271 isrv_run( int listen_fd, int (*new_peer)(isrv_state_t *state, int fd), int (*do_rd)(int fd, void **), int (*do_wr)(int fd, void **), int (*do_timeout)(void **), int timeout, int linger_timeout) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dread.c12 ssize_t safe_read(int fd, void *buf, size_t count) argument
17 n = read(fd, buf, count);
29 ssize_t full_read(int fd, void *buf, size_t len) argument
37 cc = safe_read(fd, buf, len);
52 void xread(int fd, void *buf, size_t count) argument
55 ssize_t size = full_read(fd, buf, count);
62 unsigned char xread_char(int fd) argument
65 xread(fd, &tmp, 1);
70 char *reads(int fd, char *buffer, size_t size) argument
76 size = full_read(fd, buffe
96 xmalloc_reads(int fd, char *buf) argument
125 read_close(int fd, void *buf, size_t size) argument
137 int fd = open(filename, O_RDONLY); local
149 int fd; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_qnx/
H A Dos_qnx_fsync.c31 int fd, unset, flags; local
33 fd = fhp->fd;
38 RETRY_CHK(fcntl(fd, F_GETFL), ret);
50 RETRY_CHK(fcntl(fd, F_SETFL, flags), ret);
55 RETRY_CHK(write(fd, "", 0), ret);
60 RETRY_CHK(fcntl(fd, F_GETFL), ret);
65 RETRY_CHK(fcntl(fd, F_SETFL, flags), ret);
70 RETRY_CHK(fdatasync(fd), ret);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/include/asm/
H A Dposix_types.h60 #define __FD_SET(fd, fdsetp) \
61 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31)))
64 #define __FD_CLR(fd, fdsetp) \
65 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31)))
68 #define __FD_ISSET(fd, fdsetp) \
69 ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/scripts/perl/
H A Drw-by-file.pl31 $common_pid, $common_comm, $nr, $fd, $buf, $count) = @_;
34 $reads{$fd}{bytes_requested} += $count;
35 $reads{$fd}{total_reads}++;
42 $common_pid, $common_comm, $nr, $fd, $buf, $count) = @_;
45 $writes{$fd}{bytes_written} += $count;
46 $writes{$fd}{total_writes}++;
54 printf("%6s %10s %10s\n", "fd", "# reads", "bytes_requested");
57 foreach my $fd (sort {$reads{$b}{bytes_requested} <=>
59 my $total_reads = $reads{$fd}{total_reads};
60 my $bytes_requested = $reads{$fd}{bytes_requeste
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/tiff/
H A Dtif_print.c68 TIFFPrintDirectory(TIFF* tif, FILE* fd, long flags) argument
75 fprintf(fd, "TIFF Directory at offset 0x%lx\n", tif->tif_diroff);
78 fprintf(fd, " Subfile Type:");
81 fprintf(fd, "%sreduced-resolution image", sep);
85 fprintf(fd, "%smulti-page document", sep);
89 fprintf(fd, "%stransparency mask", sep);
90 fprintf(fd, " (%lu = 0x%lx)\n",
94 fprintf(fd, " Image Width: %lu Image Length: %lu",
97 fprintf(fd, " Image Depth: %lu",
99 fprintf(fd, "\
588 _TIFFprintAscii(FILE* fd, const char* cp) argument
608 _TIFFprintAsciiTag(FILE* fd, const char* name, const char* value) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/hpux/
H A Dioctl.c43 static int hpux_ioctl_t(int fd, unsigned long cmd, unsigned long arg) argument
49 result = sys_ioctl(fd, TIOCSWINSZ, arg);
52 result = sys_ioctl(fd, TIOCGWINSZ, arg);
58 int hpux_ioctl(int fd, unsigned long cmd, unsigned long arg) argument
65 result = sys_ioctl(fd, cmd, arg);
68 result = hpux_ioctl_t(fd, cmd, arg);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfs/
H A Dbfind.c14 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) argument
18 fd->tree = tree;
19 fd->bnode = NULL;
23 fd->search_key = ptr;
24 fd->key = ptr + tree->max_key_len + 2;
30 void hfs_find_exit(struct hfs_find_data *fd) argument
32 hfs_bnode_put(fd->bnode);
33 kfree(fd->search_key);
34 dprint(DBG_BNODE_REFS, "find_exit: %d (%p)\n", fd->tree->cnid, __builtin_return_address(0));
35 up(&fd
40 __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) argument
92 hfs_brec_find(struct hfs_find_data *fd) argument
146 hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) argument
159 hfs_brec_goto(struct hfs_find_data *fd, int cnt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus/
H A Dbfind.c14 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) argument
18 fd->tree = tree;
19 fd->bnode = NULL;
23 fd->search_key = ptr;
24 fd->key = ptr + tree->max_key_len + 2;
30 void hfs_find_exit(struct hfs_find_data *fd) argument
32 hfs_bnode_put(fd->bnode);
33 kfree(fd->search_key);
34 dprint(DBG_BNODE_REFS, "find_exit: %d (%p)\n", fd->tree->cnid, __builtin_return_address(0));
35 up(&fd
40 __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) argument
83 hfs_brec_find(struct hfs_find_data *fd) argument
137 hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) argument
150 hfs_brec_goto(struct hfs_find_data *fd, int cnt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libiconv-1.10/srclib/
H A Dbinary-io.h53 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
55 # define SET_BINARY(fd) setmode (fd, O_BINARY)
61 # define SET_BINARY(fd) /* nothing */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Dbinary-io.h53 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
55 # define SET_BINARY(fd) setmode (fd, O_BINARY)
61 # define SET_BINARY(fd) /* nothing */

Completed in 158 milliseconds

1234567891011>>