Home
last modified time | relevance | path

Searched refs:nss_pheader_t (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_door.h70 usz = (sizeof (nss_pheader_t) + (dsz)); \
73 ((nss_pheader_t *)uptr)->nsc_callnumber = (cn); \
74 ((nss_pheader_t *)uptr)->p_version = NSCD_HEADER_REV; \
75 ((nss_pheader_t *)uptr)->pbufsiz = usz; \
76 ((nss_pheader_t *)uptr)->data_off = sizeof (nss_pheader_t); \
77 ((nss_pheader_t *)uptr)->key_off = sizeof (nss_pheader_t); \
78 ((nss_pheader_t *)uptr)->dbd_off = sizeof (nss_pheader_t); \
79 ((nss_pheader_t *)uptr)->data_len = dsz;
82 (type *)((void *)(((char *)(buf)) + sizeof (nss_pheader_t)))
85 sizeof (nss_pheader_t) + sizeof (struct)
[all …]
H A Dnscd_door.c42 nss_pheader_t *phdr = (nss_pheader_t *)buf; in initdoor()
80 nss_pheader_t *phdr, nss_pheader_t *outphdr) in copy_output()
113 nss_pheader_t *phdr; in _nscd_doorcall()
131 phdr = (nss_pheader_t *)dptr; in _nscd_doorcall()
143 void *outdata, int outdlen, nss_pheader_t *phdr) in _nscd_doorcall_data()
151 nss_pheader_t *phdr_d; in _nscd_doorcall_data()
169 phdr_d = (nss_pheader_t *)dptr; in _nscd_doorcall_data()
190 void *outdata, int outdlen, nss_pheader_t *phdr) in _nscd_doorcall_fd()
200 nss_pheader_t *phdr_d; in _nscd_doorcall_fd()
245 phdr_d = (nss_pheader_t *)dptr; in _nscd_doorcall_fd()
[all …]
H A Dnscd_frontend.c388 nss_pheader_t *phdr = (nss_pheader_t *)buf; in N2N_check_priv()
439 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_APP_check_cred()
478 ((nss_pheader_t *)(buf))->p_ruid, in _nscd_APP_check_cred()
479 ((nss_pheader_t *)(buf))->p_euid); in _nscd_APP_check_cred()
485 pheader_error(nss_pheader_t *phdr, uint32_t call_number) in pheader_error()
560 nss_pheader_t *phdr = (nss_pheader_t *)(void *)argp; in validate_pheader()
568 phdr->dbd_off != sizeof (nss_pheader_t)) in validate_pheader()
609 if (sizeof (nss_pheader_t) + l1 + l2 != phdr->data_off) in validate_pheader()
621 N2Nbuf_error(nss_pheader_t *phdr, uint32_t call_number) in N2Nbuf_error()
705 nss_pheader_t *phdr = (nss_pheader_t *)(void *)argp; in validate_N2Nbuf()
[all …]
H A Dnscd_admin.c48 nss_pheader_t *phdr = (nss_pheader_t *)outbuf; in _nscd_door_getadmin()
59 phdr->data_off = sizeof (nss_pheader_t); in _nscd_door_getadmin()
242 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_door_setadmin()
387 nss_pheader_t phdr; in _nscd_client_getadmin()
H A Dnscd_frontend.h50 hdrp = (nss_pheader_t *)(void *)space; \
61 (hdrp) = (nss_pheader_t *)(void *)(bufp); \
72 if (NSCD_STATUS_IS_OK((nss_pheader_t *)(hdrp))) \
H A Dnscd_switch.c285 nss_pheader_t *pbuf; in nscd_initf()
290 pbuf = (nss_pheader_t *)get_initf_key(); in nscd_initf()
599 ((nss_pheader_t *)swret->pbuf)->data_len = in search_dns_withttl()
946 nss_pheader_t *phdr; in nss_search()
950 phdr = (nss_pheader_t *)swret->pbuf; in nss_search()
1351 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_psearch()
1442 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nscd_map_contextp()
1527 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_psetent()
1608 delayed_setent(nss_pheader_t *pbuf, nss_db_initf_t initf, in delayed_setent()
1677 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_pgetent()
[all …]
H A Dnscd_selfcred.c514 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_proc_iamhere()
715 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_proc_pulse()
776 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_proc_fork()
905 nss_pheader_t *phdr = (nss_pheader_t *)buf; in selfcred_fork()
949 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_proc_alt_get()
1002 nss_pheader_t phdr1; in _nscd_proc_alt_get()
1262 nss_pheader_t *phdr = (nss_pheader_t *)buf; in _nscd_peruser_getadmin()
H A Dcache.c118 nss_pheader_t *sphdr = (nss_pheader_t *)s->buffer; in dup_packed_buffer()
119 nss_pheader_t *dphdr = (nss_pheader_t *)d->buffer; in dup_packed_buffer()
1196 nss_pheader_t *pbuf = (nss_pheader_t *)buf; in nsw_config_in_phdr()
1219 nss_pheader_t *rphdr = (nss_pheader_t *)rbuf; in copy_result()
1220 nss_pheader_t *cphdr = (nss_pheader_t *)cbuf; in copy_result()
1251 nss_pheader_t *phdr = (nss_pheader_t *)pbuf; in get_dns_ttl()
1736 if (NSCD_GET_STATUS((nss_pheader_t *)this_entry->buffer) == in lookup_int()
1762 NSCD_SET_STATUS((nss_pheader_t *)largs->buffer, in lookup_int()
1765 NSCD_SET_HERRNO((nss_pheader_t *)largs->buffer, in lookup_int()
1788 nss_pheader_t *phdr = (nss_pheader_t *)largs->buffer; in nsc_lookup()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c345 nss_pheader_t *rp; in _nsc_try1door()
364 rp = (nss_pheader_t *)((void *)param.rbuf); in _nsc_try1door()
414 nss_pheader_t *ph, ph_save; in _nsc_trydoorcall_ext()
423 ph = (nss_pheader_t *)*dptr; in _nsc_trydoorcall_ext()
471 ph = (nss_pheader_t *)*dptr; in _nsc_trydoorcall_ext()
538 ph = (nss_pheader_t *)*dptr; in _nsc_trydoorcall_ext()
572 ph = (nss_pheader_t *)*dptr; in _nsc_trydoorcall_ext()
674 (size_t)sizeof (nss_pheader_t)); in _nsc_getdoorbuf()
H A Dnss_common.c1576 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_pack_dbd()
1647 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_pack()
1684 off = sizeof (nss_pheader_t); in nss_pack()
1754 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_pack_ent()
1776 off = sizeof (nss_pheader_t); in nss_pack_ent()
1827 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_unpack()
1928 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_unpack_ent()
2000 nss_pheader_t *pbuf; in _nsc_search()
2022 pbuf = (nss_pheader_t *)doorptr; in _nsc_search()
2077 nss_pheader_t *pbuf; in _nsc_setent_u()
[all …]
H A Dnss_dbdefs.c770 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_packed_set_status()
871 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_upack_key2arg()
1118 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_packed_getkey()
1177 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_packed_arg_init()
1253 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in nss_packed_context_init()
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h626 } nss_pheader_t; typedef
684 ((nss_pheader_t *)(buf))->p_ruid == (ruid) && \
685 ((nss_pheader_t *)(buf))->p_euid == (euid))
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c389 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in _nss_dns_gethost_withttl()
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c687 nss_pheader_t *pbuf = (nss_pheader_t *)buffer; in _nss_mdns_gethost_withttl()