Home
last modified time | relevance | path

Searched refs:dec_ctx (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp.c51 static ndmp_door_ctx_t *dec_ctx; variable
76 *size = ndmp_door_get_uint32(dec_ctx); in ndmp_get_devinfo()
86 dipptr->nd_dev_type = ndmp_door_get_int32(dec_ctx); in ndmp_get_devinfo()
87 dipptr->nd_name = ndmp_door_get_string(dec_ctx); in ndmp_get_devinfo()
88 dipptr->nd_lun = ndmp_door_get_int32(dec_ctx); in ndmp_get_devinfo()
89 dipptr->nd_sid = ndmp_door_get_int32(dec_ctx); in ndmp_get_devinfo()
90 dipptr->nd_vendor = ndmp_door_get_string(dec_ctx); in ndmp_get_devinfo()
91 dipptr->nd_product = ndmp_door_get_string(dec_ctx); in ndmp_get_devinfo()
92 dipptr->nd_revision = ndmp_door_get_string(dec_ctx); in ndmp_get_devinfo()
93 dipptr->nd_serial = ndmp_door_get_string(dec_ctx); in ndmp_get_devinfo()
[all …]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dsmb_share_doorclnt.c185 smb_share_dchk(smb_dr_ctx_t *dec_ctx) in smb_share_dchk() argument
187 int status = smb_dr_get_int32(dec_ctx); in smb_share_dchk()
191 (void) smb_dr_get_uint32(dec_ctx); in smb_share_dchk()
202 smb_dr_ctx_t *dec_ctx; in smb_share_list() local
226 dec_ctx = smb_dr_decode_start(arg->data_ptr, arg->data_size); in smb_share_list()
227 if (dec_ctx == NULL || smb_share_dchk(dec_ctx) != 0) { in smb_share_list()
228 if (dec_ctx != NULL) in smb_share_list()
229 (void) smb_dr_decode_finish(dec_ctx); in smb_share_list()
234 (void) smb_dr_get_buf(dec_ctx, (unsigned char *)list, in smb_share_list()
236 if (smb_dr_decode_finish(dec_ctx) != 0) { in smb_share_list()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_share_doorsvc.c199 smb_dr_ctx_t *dec_ctx; in smbd_share_dispatch() local
215 dec_ctx = smb_dr_decode_start(ptr, size); in smbd_share_dispatch()
217 req_type = smb_dr_get_uint32(dec_ctx); in smbd_share_dispatch()
228 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) in smbd_share_dispatch()
237 sharename = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
239 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) { in smbd_share_dispatch()
251 sharename = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
252 sharename2 = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
254 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) { in smbd_share_dispatch()
268 smb_dr_get_share(dec_ctx, &lmshr_info); in smbd_share_dispatch()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_door.c161 ndmp_door_ctx_t *dec_ctx; in ndmp_door_server() local
166 dec_ctx = ndmp_door_decode_start(ptr, size); in ndmp_door_server()
167 if (dec_ctx == 0) in ndmp_door_server()
170 req_type = ndmp_door_get_uint32(dec_ctx); in ndmp_door_server()
175 (void) ndmp_door_decode_finish(dec_ctx); in ndmp_door_server()
181 (void) ndmp_door_decode_finish(dec_ctx); in ndmp_door_server()
205 id = ndmp_door_get_int32(dec_ctx); in ndmp_door_server()
237 if ((dec_status = ndmp_door_decode_finish(dec_ctx)) != 0) in ndmp_door_server()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kshare.c109 smb_dr_ctx_t *dec_ctx; in smb_kshare_upcall() local
166 dec_ctx = smb_dr_decode_start(doorarg.data_ptr, doorarg.data_size); in smb_kshare_upcall()
167 if (smb_kshare_chk_dsrv_status(opcode, dec_ctx) != 0) { in smb_kshare_upcall()
174 rc = smb_dr_get_uint32(dec_ctx); in smb_kshare_upcall()
176 smb_dr_get_share(dec_ctx, lmshare); in smb_kshare_upcall()
178 if (smb_dr_decode_finish(dec_ctx)) in smb_kshare_upcall()
1278 smb_kshare_chk_dsrv_status(int opcode, smb_dr_ctx_t *dec_ctx) in smb_kshare_chk_dsrv_status() argument
1280 int status = smb_dr_get_int32(dec_ctx); in smb_kshare_chk_dsrv_status()
1288 err = smb_dr_get_uint32(dec_ctx); in smb_kshare_chk_dsrv_status()
1291 (void) smb_dr_decode_finish(dec_ctx); in smb_kshare_chk_dsrv_status()