Home
last modified time | relevance | path

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

/titanic_44/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 …]
/titanic_44/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 (smb_share_dchk(dec_ctx) != 0) { in smb_share_list()
228 (void) smb_dr_decode_finish(dec_ctx); in smb_share_list()
233 (void) smb_dr_get_buf(dec_ctx, (unsigned char *)list, in smb_share_list()
235 if (smb_dr_decode_finish(dec_ctx) != 0) { in smb_share_list()
248 smb_dr_ctx_t *dec_ctx; in smb_share_count() local
[all …]
/titanic_44/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_share_doorsvc.c151 smb_dr_ctx_t *dec_ctx; in smbd_share_dispatch() local
167 dec_ctx = smb_dr_decode_start(ptr, size); in smbd_share_dispatch()
169 req_type = smb_dr_get_uint32(dec_ctx); in smbd_share_dispatch()
173 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) in smbd_share_dispatch()
182 sharename = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
184 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) { in smbd_share_dispatch()
196 sharename = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
197 sharename2 = smb_dr_get_string(dec_ctx); in smbd_share_dispatch()
199 if ((dec_status = smb_dr_decode_finish(dec_ctx)) != 0) { in smbd_share_dispatch()
213 smb_dr_get_share(dec_ctx, &lmshr_info); in smbd_share_dispatch()
[all …]
/titanic_44/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()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kshare.c107 smb_dr_ctx_t *dec_ctx; in smb_kshare_upcall() local
164 dec_ctx = smb_dr_decode_start(doorarg.data_ptr, doorarg.data_size); in smb_kshare_upcall()
165 if (smb_kshare_chk_dsrv_status(opcode, dec_ctx) != 0) { in smb_kshare_upcall()
172 rc = smb_dr_get_uint32(dec_ctx); in smb_kshare_upcall()
174 smb_dr_get_share(dec_ctx, lmshare); in smb_kshare_upcall()
176 if (smb_dr_decode_finish(dec_ctx)) in smb_kshare_upcall()
1209 smb_kshare_chk_dsrv_status(int opcode, smb_dr_ctx_t *dec_ctx) in smb_kshare_chk_dsrv_status() argument
1211 int status = smb_dr_get_int32(dec_ctx); in smb_kshare_chk_dsrv_status()
1219 err = smb_dr_get_uint32(dec_ctx); in smb_kshare_chk_dsrv_status()
1222 (void) smb_dr_decode_finish(dec_ctx); in smb_kshare_chk_dsrv_status()