Home
last modified time | relevance | path

Searched refs:tres (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c235 struct t_bind *tres = NULL; /* bind info */ in svc_tli_create_common() local
320 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in svc_tli_create_common()
321 if (tres == NULL) { in svc_tli_create_common()
366 if (t_bind(fd, (struct t_bind *)bindaddr, tres) == -1) { in svc_tli_create_common()
381 (memcmp(bindaddr->addr.buf, tres->addr.buf, in svc_tli_create_common()
382 (int)tres->addr.len) != 0)) { in svc_tli_create_common()
389 if (rpc_control(__RPC_SVC_LSTNBKLOG_GET, &tres->qlen) in svc_tli_create_common()
395 tres->addr.len = 0; in svc_tli_create_common()
396 if (t_bind(fd, tres, tres) == -1) { in svc_tli_create_common()
445 if (tres->addr.maxlen < bindaddr->addr.len) { in svc_tli_create_common()
[all …]
H A Drpc_soc.c285 struct t_bind tbindstr, *tres; in __rpc_bindresvport_ipv6() local
330 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in __rpc_bindresvport_ipv6()
331 if (tres == NULL) in __rpc_bindresvport_ipv6()
348 res = t_bind(fd, &tbindstr, tres); in __rpc_bindresvport_ipv6()
350 if ((tbindstr.addr.len == tres->addr.len) && in __rpc_bindresvport_ipv6()
351 (memcmp(tbindstr.addr.buf, tres->addr.buf, in __rpc_bindresvport_ipv6()
352 (int)tres->addr.len) == 0)) in __rpc_bindresvport_ipv6()
363 (void) t_free((char *)tres, T_BIND); in __rpc_bindresvport_ipv6()
H A Dsvc_vc.c397 struct netbuf tres = {0}; in svc_fd_create_private() local
428 if (t_getname(fd, &tres, LOCALNAME) == -1) in svc_fd_create_private()
429 tres.len = 0; in svc_fd_create_private()
430 dummy->xp_ltaddr = tres; in svc_fd_create_private()
/titanic_50/usr/src/lib/libc/port/stdio/
H A Dftell.c56 off64_t tres; in ftell() local
77 tres = lseek64(FILENO(iop), 0, SEEK_CUR); in ftell()
78 if (tres >= 0) in ftell()
79 tres += adjust; in ftell()
81 if (tres > LONG_MAX) { in ftell()
88 return ((long)tres); in ftell()
H A Dftello.c64 off64_t tres; in ftello64() local
82 tres = lseek64(FILENO(iop), 0, SEEK_CUR); in ftello64()
83 if (tres >= 0) in ftello64()
84 tres += (off64_t)adjust; in ftello64()
86 return (tres); in ftello64()
/titanic_50/usr/src/lib/libbc/libc/stdio/common/
H A Dftell.c45 register long tres; local
59 tres = lseek(fileno(iop), 0L, 1);
60 if(tres >= 0)
61 tres += (long)adjust;
62 return(tres);
/titanic_50/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c76 struct t_bind *tbind, *tres; local
131 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
132 if (tres == NULL) {
179 res = t_bind(fd, tbind, tres);
181 if (memcmp(tbind->addr.buf, tres->addr.buf,
182 (int)tres->addr.len) == 0)
196 (void) t_free((char *)tres, T_BIND);
/titanic_50/usr/src/lib/libdwarf/common/
H A Ddwarf_addr_finder.c408 int tres; in process_this_die_attrs() local
420 tres = dwarf_tag(newdie, &ltag, &err); in process_this_die_attrs()
421 if (tres != DW_DLV_OK) { in process_this_die_attrs()
422 return tres; in process_this_die_attrs()
506 int tres = DW_DLV_OK; in do_this_die_and_dealloc() local
528 tres = dwarf_child(newdie, &ch_die, &err); in do_this_die_and_dealloc()
530 if (tres == DW_DLV_OK) { in do_this_die_and_dealloc()
545 } else if (tres == DW_DLV_ERROR) { in do_this_die_and_dealloc()
/titanic_50/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c905 struct t_bind tbindstr, *tres; in bindresvport() local
957 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in bindresvport()
958 if (tres == NULL) { in bindresvport()
980 (void) t_free((char *)tres, T_BIND); in bindresvport()
995 (void) t_free((char *)tres, T_BIND); in bindresvport()
1003 res = t_bind(fd, &tbindstr, tres); in bindresvport()
1023 (void) t_free((char *)tres, T_BIND); in bindresvport()
1030 (void) t_free((char *)tres, T_BIND); in bindresvport()
/titanic_50/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c429 struct t_bind tbindstr, *tres; in main() local
741 tres = (struct t_bind *) t_alloc(fd, T_BIND, T_ADDR); in main()
742 if (tres == NULL) { in main()
755 if (t_bind(fd, &tbindstr, tres) < 0) { in main()
824 (void) t_free((char *) tres, T_BIND); in main()
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_rxdma_hw.h1681 uint16_t tres:2; member
1685 uint16_t tres:2;
H A Dnxge_fflp_hw.h351 uint32_t tres:2; member
361 uint32_t tres:2;
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c1506 tcam_ptr.match_action.bits.ldw.tres = in nxge_add_tcam_entry()
1573 tcam_ptr.match_action.bits.ldw.tres = in nxge_tcam_handle_ip_fragment()