Searched refs:fd (Results 176 - 200 of 283) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/lib/libc/rpc/
H A Dkey_call.c302 int fd; local
407 if (clnt_control(kcp->client, CLGET_FD, (char *)&fd))
408 _fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
H A Dsvc_dg.c105 svc_dg_create(int fd, u_int sendsize, u_int recvsize) argument
113 if (!__rpc_fd2sockinfo(fd, &si)) {
140 xprt->xp_fd = fd;
147 if (_getsockname(fd, (struct sockaddr *)(void *)&ss, &slen) < 0) {
165 if (_setsockopt(fd, IPPROTO_IP, IP_RECVDSTADDR,
194 svc_dg_recvfrom(int fd, char *buf, int buflen, argument
217 rlen = _recvmsg(fd, &msg, 0);
298 svc_dg_sendto(int fd, char *buf, int buflen, argument
328 return _sendmsg(fd, &msg, 0);
H A Dclnt_dg.c90 * This machinery implements per-fd locks for MT-safety. It is not
92 * user may create more than one CLIENT handle with the same fd behind
95 * similarly protected. Dg_fd_lock[fd] == 1 => a call is activte on some
96 * CLIENT handle created for that fd.
104 #define release_fd_lock(fd, mask) { \
106 dg_fd_locks[fd] = 0; \
109 cond_signal(&dg_cv[fd]); \
122 int cu_fd; /* connections fd */
146 * fd should be open and bound.
157 * fd
165 clnt_dg_create(int fd, const struct netbuf *svcaddr, rpcprog_t program, rpcvers_t version, u_int sendsz, u_int recvsz) argument
[all...]
/barrelfish-2018-10-04/include/
H A Ddb.h106 int (*fd)(const struct __db *); member in struct:__db
/barrelfish-2018-10-04/usr/eclipseclp/icparc_solvers/
H A Drepairfd.pl42 :- lib(fd).
/barrelfish-2018-10-04/lib/linenoise/
H A Dlinenoise.c217 static int enableRawMode(int fd) { argument
225 if (tcgetattr(fd,&orig_termios) == -1) goto fatal;
243 if (tcsetattr(fd,TCSAFLUSH,&raw) < 0) goto fatal;
252 static void disableRawMode(int fd) { argument
254 if (rawmode && tcsetattr(fd,TCSAFLUSH,&orig_termios) != -1)
470 int fd = l->ofd; local
498 if (write(fd,ab.b,ab.len) == -1) {} /* Can't recover from write error. */
514 int fd = l->ofd, j; local
582 if (write(fd,ab.b,ab.len) == -1) {} /* Can't recover from write error. */
721 * It expects 'fd' t
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Duverbs_main.c373 static int ib_uverbs_event_fasync(int fd, struct file *filp, int on) argument
377 return fasync_helper(fd, filp, on, &file->async_queue);
535 int is_async, int *fd)
555 *fd = get_unused_fd();
556 if (*fd < 0) {
557 ret = *fd;
582 put_unused_fd(*fd);
594 struct ib_uverbs_event_file *ib_uverbs_lookup_comp_file(int fd) argument
599 filp = fget(fd);
534 ib_uverbs_alloc_event_file(struct ib_uverbs_file *uverbs_file, int is_async, int *fd) argument
/barrelfish-2018-10-04/lib/libc/yp/
H A Dyplib.c294 int clnt_sock, fd; local
377 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) {
380 _close(fd);
383 if (_flock(fd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK) {
393 r = _readv(fd, iov, 2);
395 _close(fd);
411 _close(fd);
416 _close(fd);
/barrelfish-2018-10-04/usr/eclipseclp/Shm/src/
H A Dmemman.h314 int shared_mem_save(struct heap_descriptor *hd, int fd);
315 int shared_mem_restore(struct heap_descriptor *hd, int fd);
/barrelfish-2018-10-04/usr/eclipseclp/ecrc_solvers/grace/
H A Dqueens.pl36 :- lib(fd).
H A Dexpr.pl30 :- call(lib(fd)).
75 qg_display_value(element(A, B, C), fd).
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/des/
H A Ddes.h203 int DES_enc_read(int fd,void *buf,int len,DES_key_schedule *sched,
205 int DES_enc_write(int fd,const void *buf,int len,DES_key_schedule *sched,
/barrelfish-2018-10-04/include/sys/
H A Dstat.h330 int futimens(int fd, const struct timespec times[2]);
331 int utimensat(int fd, const char *path, const struct timespec times[2],
/barrelfish-2018-10-04/include/openssl/
H A Ddes.h203 int DES_enc_read(int fd,void *buf,int len,DES_key_schedule *sched,
205 int DES_enc_write(int fd,const void *buf,int len,DES_key_schedule *sched,
/barrelfish-2018-10-04/usr/eclipseclp/lib_tcl/
H A Dmapcolour.tcl57 set solver fd
59 $m2 add radio -label FD -variable solver -value fd
/barrelfish-2018-10-04/lib/libc/db/test/
H A Ddbtest.c79 int ofd = STDOUT_FILENO; /* Standard output fd. */
682 int fd; local
688 if ((fd = open(name, O_RDONLY, 0)) < 0 ||
689 fstat(fd, &sb))
697 (void)read(fd, p, (int)sb.st_size);
699 (void)close(fd);
/barrelfish-2018-10-04/usr/eclipseclp/documents/libman/
H A Dsolverinter.tex87 fd & --- & yes & yes & yes & yes & --- \\
225 \item[\biptxtref{fd}{lib(fd)}{../bips/lib/fd/index.html}]
233 % An example of a hybrid solver that combines the fd and eplex solvers.
/barrelfish-2018-10-04/include/vm/
H A Dvm_mmap.c180 int fd; member in struct:mmap_args
210 AUDIT_ARG_FD(uap->fd);
228 ((flags & MAP_ANON) != 0 && (uap->fd != -1 || pos != 0)))
236 if ((uap->fd != -1) ||
356 error = fget_mmap(td, uap->fd, &rights, &cap_maxprot, &fp);
389 oargs.fd = uap->fd;
402 int fd; member in struct:ommap_args
449 nargs.fd = uap->fd;
[all...]
/barrelfish-2018-10-04/lib/libc/db/hash/
H A Dhash_page.c521 int fd, page, size, rsize; local
524 fd = hashp->fp;
527 if ((fd == -1) || !is_disk) {
535 if ((rsize = pread(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
575 int fd, page, size, wsize; local
580 fd = hashp->fp;
599 if ((wsize = pwrite(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/apps/
H A Docsp.c1280 int fd; local
1299 if (BIO_get_fd(cbio, &fd) <= 0)
1301 BIO_puts(err, "Can't get connection fd\n");
1308 openssl_fdset(fd, &confds);
1311 rv = select(fd + 1, NULL, (void *)&confds, NULL, &tv);
1342 openssl_fdset(fd, &confds);
1346 rv = select(fd + 1, (void *)&confds, NULL, NULL, &tv);
1348 rv = select(fd + 1, NULL, (void *)&confds, NULL, &tv);
/barrelfish-2018-10-04/lib/dmalloc/
H A Ddmalloc.c2248 struct malloc_chunk* fd; /* double links -- used only if free. */ member in struct:malloc_chunk
2422 work in the same way as fd/bk pointers of small chunks.
2458 struct malloc_tree_chunk* fd; member in struct:malloc_tree_chunk
2572 waste, we allocate only the fd/bk pointers of bins, and then use
3221 int fd; local
3224 if ((fd = open("/dev/urandom", O_RDONLY)) >= 0 &&
3225 read(fd, buf, sizeof(buf)) == sizeof(buf)) {
3227 close(fd);
3338 assert(p->fd->bk == p);
3339 assert(p->bk->fd
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/documents/intro_paper/
H A Declipse.tex649 :- lib(fd).
667 The \ECL finite domain library is loaded (using {\em :- lib(fd)}).
847 library {\em fd}.
853 :- lib(fd).
872 {\bf {\em fd} Constraints for the Coins Problem}
901 They are the {\em fd} (finite domain) library,
906 \subsection{The {\em fd} (Finite Domain) Library}
907 \label{fd}
936 \subsubsection{The {\em fd} Symbolic Finite Domain Facilities}
958 [eclipse 1]: lib(fd)
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/lib/
H A Dfd_chip.pl94 dom(_{fd:(fd with domain:D)}, List) :-
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dfs.h85 #define fasync_helper(fd, filp, on, queue) \
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/rdma/
H A Drdma_user_cm.h239 __u32 fd; member in struct:rdma_ucm_migrate_id

Completed in 137 milliseconds

1234567891011>>