Home
last modified time | relevance | path

Searched refs:tr_fd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c72 int tr_fd; member
192 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL); in nfs_cast()
193 if (trans->tr_fd < 0) { in nfs_cast()
199 if (t_bind(trans->tr_fd, (struct t_bind *)NULL, in nfs_cast()
207 (struct t_bind *)t_alloc(trans->tr_fd, T_BIND, T_ADDR); in nfs_cast()
215 FD_SET(trans->tr_fd, &mask); in nfs_cast()
364 if (t_sndudata(trans->tr_fd, in nfs_cast()
418 if (FD_ISSET(trans->tr_fd, &readfds)) in nfs_cast()
430 if (t_rcvudata(trans->tr_fd, &t_rdata, &flag) < 0) { in nfs_cast()
677 if (t->tr_fd > 0)
[all …]
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c71 void *tr_fd; /* dyn library handle */ member
668 t->tr_fd = dlopen(name, RTLD_LAZY); in load_xlate()
669 if (t->tr_fd == NULL) { in load_xlate()
675 t->gbn = (struct nd_addrlist *(*)())dlsym(t->tr_fd, in load_xlate()
683 t->gba = (struct nd_hostservlist *(*)())dlsym(t->tr_fd, in load_xlate()
691 t->t2u = (char *(*)())dlsym(t->tr_fd, "_taddr2uaddr"); in load_xlate()
698 t->u2t = (struct netbuf *(*)())dlsym(t->tr_fd, "_uaddr2taddr"); in load_xlate()
705 t->opt = (int (*)())dlsym(t->tr_fd, "_netdir_options"); in load_xlate()
728 if (t->tr_fd != NULL) in load_xlate()
729 (void) dlclose(t->tr_fd); in load_xlate()