Searched defs:fd (Results 1 - 5 of 5) sorted by relevance
/pkg/src/zoneproxy/zoneproxy-adm/ |
H A D | zoneproxy-adm.c | 54 int fd; local 57 fd = open(ZP_DOOR_PATH, O_RDONLY); 58 if (fd < 0) 73 (void) door_call(fd, ¶ms); 74 (void) close(fd);
|
/pkg/src/zoneproxy/zoneproxy-client/ |
H A D | zoneproxy-client.c | 89 int fd; local 92 fd = dp->d_data.d_desc.d_descriptor; 94 (void) close(fd); 261 /* Caller should have passed us a pipe fd */ 566 pfd[0].fd = pipefd;
|
/pkg/src/modules/ |
H A D | elf.c | 45 * 'fd' the file descriptor of an ELF file 52 int fd; member in struct:__anon1 135 int fd; local 143 if ((fd = open(f, O_RDONLY)) < 0) { 148 return (fd); 154 int fd = -1; local 179 if ((fd = open(f, O_RDONLY)) < 0) { 184 hargs.fd = fd; 198 int fd, re local 234 int fd; local 410 int fd; local [all...] |
H A D | elfextract.c | 134 getident(int fd) argument 143 if (lseek(fd, 0, SEEK_SET) == -1) { 149 if (read(fd, id, EI_NIDENT) < 0) { 159 iself(int fd) argument 163 if (!(ident = getident(fd))) 176 iself32(int fd) argument 180 if (!(ident = getident(fd))) 218 getheaderinfo(int fd) argument 235 if (!(elf = elf_begin(fd, ELF_C_READ, NULL))) { 387 getdynamic(int fd) argument 681 gethashes(int fd, int doelf, int do256, int do512) argument [all...] |
/pkg/src/zoneproxy/zoneproxyd/ |
H A D | zoneproxyd.c | 56 * used for writing. As long as no thread reads and writes the same fd, 258 set_noblocking(int fd) argument 262 if ((flags = fcntl(fd, F_GETFL, 0)) < 0) { 267 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) { 374 int fd; local 385 /* Dup fd's switching read for write */ 386 if ((fd = dup(pair->pp_readfd)) < 0) { 392 op_pair->pp_writefd = fd; 394 if ((fd = dup(pair->pp_writefd)) < 0) { 400 op_pair->pp_readfd = fd; 993 int fd; local 1056 close_on_exec(int fd) argument 1068 int n, fd; local 1097 int fd, err; local 1115 int fd; local 1267 int fd; local 1347 zpd_add_listener(zoneid_t zid, int fd, int pipefd, int closefd) argument [all...] |
Completed in 15 milliseconds