Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dftell.c54 off64_t tres; in ftell_common() local
89 tres = _xseek64(iop, 0, SEEK_CUR); in ftell_common()
90 if (tres >= 0) in ftell_common()
91 tres += adjust; in ftell_common()
94 return (tres); in ftell_common()
100 off64_t tres; in ftell() local
102 tres = ftell_common(iop); in ftell()
103 if (tres > LONG_MAX) { in ftell()
108 return ((long)tres); in ftell()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c279 struct t_bind *tres = NULL; /* bind info */ in svc_tli_create_common() local
364 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in svc_tli_create_common()
365 if (tres == NULL) { in svc_tli_create_common()
392 if (t_bind(fd, (struct t_bind *)bindaddr, tres) == -1) { in svc_tli_create_common()
407 (memcmp(bindaddr->addr.buf, tres->addr.buf, in svc_tli_create_common()
408 (int)tres->addr.len) != 0)) { in svc_tli_create_common()
415 if (rpc_control(__RPC_SVC_LSTNBKLOG_GET, &tres->qlen) in svc_tli_create_common()
421 tres->addr.len = 0; in svc_tli_create_common()
422 if (t_bind(fd, tres, tres) == -1) { in svc_tli_create_common()
512 if (tres->addr.maxlen < bindaddr->addr.len) { in svc_tli_create_common()
[all …]
H A Drpc_soc.c283 struct t_bind tbindstr, *tres; in __rpc_bindresvport_ipv6() local
328 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in __rpc_bindresvport_ipv6()
329 if (tres == NULL) in __rpc_bindresvport_ipv6()
346 res = t_bind(fd, &tbindstr, tres); in __rpc_bindresvport_ipv6()
348 if ((tbindstr.addr.len == tres->addr.len) && in __rpc_bindresvport_ipv6()
349 (memcmp(tbindstr.addr.buf, tres->addr.buf, in __rpc_bindresvport_ipv6()
350 (int)tres->addr.len) == 0)) in __rpc_bindresvport_ipv6()
361 (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()
/illumos-gate/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);
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c906 struct t_bind tbindstr, *tres; in bindresvport() local
958 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in bindresvport()
959 if (tres == NULL) { in bindresvport()
981 (void) t_free((char *)tres, T_BIND); in bindresvport()
996 (void) t_free((char *)tres, T_BIND); in bindresvport()
1004 res = t_bind(fd, &tbindstr, tres); in bindresvport()
1024 (void) t_free((char *)tres, T_BIND); in bindresvport()
1031 (void) t_free((char *)tres, T_BIND); in bindresvport()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_die_deliv.c818 int tres = 0; in _dwarf_make_CU_Context() local
833 tres = _dwarf_read_unaligned_ck_wrapper(dbg, in _dwarf_make_CU_Context()
836 if (tres != DW_DLV_OK ) { in _dwarf_make_CU_Context()
838 return tres; in _dwarf_make_CU_Context()
H A Ddwarf_form.c574 int tres = dwarf_tag(attr->ar_die,&tag,error); in dwarf_formref() local
575 if (tres != DW_DLV_OK) { in dwarf_formref()
576 if (tres == DW_DLV_NO_ENTRY) { in dwarf_formref()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h351 uint32_t tres:2; member
361 uint32_t tres:2;
H A Dnxge_rxdma_hw.h1681 uint16_t tres:2; member
1685 uint16_t tres:2;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c1503 tcam_ptr.match_action.bits.ldw.tres = in nxge_add_tcam_entry()
1570 tcam_ptr.match_action.bits.ldw.tres = in nxge_tcam_handle_ip_fragment()