Searched defs:xa (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_trans2_create_directory.c61 smb_com_trans2_create_directory(struct smb_request *sr, struct smb_xa *xa) argument
72 if (smb_mbc_decodef(&xa->req_param_mb, "%4.u", sr, &pn->pn_path) != 0)
86 if (smb_mbc_encodef(&xa->rep_param_mb, "w", 0) < 0)
H A Dsmb_trans2_dfs.c53 smb_com_trans2_get_dfs_referral(smb_request_t *sr, smb_xa_t *xa) argument
67 fsctl.InputCount = xa->smb_tpscnt;
69 fsctl.MaxOutputResp = xa->smb_mdrcnt;
70 fsctl.in_mbc = &xa->req_param_mb;
71 fsctl.out_mbc = &xa->rep_data_mb;
77 (void) smb_mbc_encodef(&xa->rep_param_mb, "w", doserr);
H A Dsmb_nt_transact_notify_change.c83 smb_nt_transact_notify_change(smb_request_t *sr, struct smb_xa *xa) argument
90 if (smb_mbc_decodef(&xa->req_setup_mb, "lwb",
102 status = smb_notify_common(sr, &xa->rep_data_mb, CompletionFilter);
H A Dsmb_nt_transact_quota.c84 smb_nt_transact_query_quota(smb_request_t *sr, smb_xa_t *xa) argument
102 if (xa->smb_tpscnt != 16) {
107 if (smb_mbc_decodef(&xa->req_param_mb, "%wbblll", sr, &sr->smb_fid,
151 smb_quota_max_quota(&xa->rep_data_mb, &request);
153 status = smb_quota_init_sids(&xa->req_data_mb, &request, ofile);
162 &xa->rep_data_mb,
165 (void) smb_mbc_encodef(&xa->rep_param_mb, "l",
166 xa->rep_data_mb.chain_offset);
182 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", 0);
221 smb_nt_transact_set_quota(smb_request_t *sr, smb_xa_t *xa) argument
[all...]
H A Dsmb_nt_transact_create.c53 smb_pre_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) argument
67 rc = smb_mbc_decodef(&xa->req_param_mb, "%lllqllllllllb",
91 rc = smb_mbc_decodef(&xa->req_param_mb, "%#u",
105 status = smb_decode_sd(&xa->req_data_mb, &sd);
123 smb_post_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) argument
128 smb_xa_t *, xa);
140 smb_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) argument
216 rc = smb_mbc_encodef(&xa->rep_param_mb, "b.wllTTTTlqqwwb",
235 rc = smb_mbc_encodef(&xa->rep_param_mb, "b.wllTTTTlqqwwb",
H A Dsmb_open_andx.c478 smb_com_trans2_open2(smb_request_t *sr, smb_xa_t *xa) argument
490 rc = smb_mbc_decodef(&xa->req_param_mb, "%wwwwlwl10.u",
541 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwllwwwwlwl",
H A Dsmb_rename.c221 smb_nt_transact_rename(smb_request_t *sr, smb_xa_t *xa) argument
223 if (smb_mbc_decodef(&xa->req_param_mb, "w", &sr->smb_fid) != 0)
H A Dsmb_nt_transact_ioctl.c48 uint32_t (*ioctl_func)(smb_request_t *sr, smb_xa_t *xa);
89 smb_nt_transact_ioctl(smb_request_t *sr, smb_xa_t *xa) argument
97 if (smb_mbc_decodef(&xa->req_setup_mb, "lwbb",
110 status = ioctl_ret_tbl[i].ioctl_func(sr, xa);
120 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", 0);
126 smb_nt_trans_ioctl_noop(smb_request_t *sr, smb_xa_t *xa) argument
133 smb_nt_trans_ioctl_invalid_parm(smb_request_t *sr, smb_xa_t *xa) argument
149 smb_nt_trans_ioctl_set_sparse(smb_request_t *sr, smb_xa_t *xa) argument
178 if (smb_mbc_decodef(&xa->req_data_mb, "b", &set) != 0) {
229 smb_nt_trans_ioctl_set_zero_data(smb_request_t *sr, smb_xa_t *xa) argument
266 smb_nt_trans_ioctl_query_alloc_ranges(smb_request_t *sr, smb_xa_t *xa) argument
330 smb_nt_trans_ioctl_enum_snaps(smb_request_t *sr, smb_xa_t *xa) argument
[all...]
H A Dsmb_nt_transact_security.c60 smb_nt_transact_query_security_info(struct smb_request *sr, struct smb_xa *xa) argument
68 if (smb_mbc_decodef(&xa->req_param_mb, "w2.l",
111 if (sdlen > xa->smb_mdrcnt) {
118 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", sdlen);
127 smb_encode_sd(&xa->rep_data_mb, &sd, secinfo);
128 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", sdlen);
153 smb_nt_transact_set_security_info(struct smb_request *sr, struct smb_xa *xa) argument
159 if (smb_mbc_decodef(&xa->req_param_mb, "w2.l",
196 status = smb_decode_sd(&xa->req_data_mb, &sd);
H A Dsmb_set_fileinfo.c85 smb_com_trans2_set_file_information(smb_request_t *sr, smb_xa_t *xa) argument
89 if (smb_mbc_decodef(&xa->req_param_mb, "ww",
93 if (smb_set_by_fid(sr, xa, infolev) != 0)
103 smb_com_trans2_set_path_information(smb_request_t *sr, smb_xa_t *xa) argument
114 if (smb_mbc_decodef(&xa->req_param_mb, "%w4.u",
118 if (smb_set_by_path(sr, xa, infolev) != 0)
208 smb_set_by_fid(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) argument
238 if (xa != NULL)
239 sinfo.si_data = xa->req_data_mb;
265 smb_set_by_path(smb_request_t *sr, smb_xa_t *xa, uint16_ argument
[all...]
H A Dsmb_fsinfo.c157 smb_com_trans2_query_fs_information(smb_request_t *sr, smb_xa_t *xa) argument
179 if (smb_mbc_decodef(&xa->req_param_mb, "w", &infolev) != 0)
196 (void) smb_mbc_encodef(&xa->rep_data_mb, "llllw",
219 rc = smb_mbc_encodef(&xa->rep_data_mb,
226 rc = smb_mbc_encodef(&xa->rep_data_mb, "%lbs", sr,
248 (void) smb_mbc_encodef(&xa->rep_data_mb, encode_str, sr,
261 (void) smb_mbc_encodef(&xa->rep_data_mb, "qqll",
270 (void) smb_mbc_encodef(&xa->rep_data_mb, "ll",
310 (void) smb_mbc_encodef(&xa->rep_data_mb, encode_str, sr,
324 (void) smb_mbc_encodef(&xa
445 smb_com_trans2_set_fs_information(smb_request_t *sr, smb_xa_t *xa) argument
499 smb_trans2_set_fs_ctrl_info(smb_request_t *sr, smb_xa_t *xa) argument
[all...]
H A Dsmb_query_fileinfo.c102 smb_com_trans2_query_file_information(struct smb_request *sr, struct smb_xa *xa) argument
106 if (smb_mbc_decodef(&xa->req_param_mb, "ww",
110 if (smb_query_by_fid(sr, xa, infolev) != 0)
120 smb_com_trans2_query_path_information(smb_request_t *sr, smb_xa_t *xa) argument
131 if (smb_mbc_decodef(&xa->req_param_mb, "%w4.u",
135 if (smb_query_by_path(sr, xa, infolev) != 0)
220 smb_query_by_fid(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) argument
265 rc = smb_query_encode_response(sr, xa, infolev, qinfo);
287 smb_query_by_path(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) argument
366 rc = smb_query_encode_response(sr, xa, infole
389 smb_query_encode_response(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev, smb_queryinfo_t *qinfo) argument
[all...]
H A Dsmb_trans2_find.c282 smb_com_trans2_find_first2(smb_request_t *sr, smb_xa_t *xa) argument
302 if (smb_mbc_decodef(&xa->req_param_mb, "%wwww4.u", sr, &sattr,
336 count = smb_trans2_find_entries(sr, xa, od, &args);
356 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwwww",
421 * smb_mbc_decodef(&xa->req_param_mb, "%www lwu", sr,
431 smb_com_trans2_find_next2(smb_request_t *sr, smb_xa_t *xa) argument
448 if (smb_mbc_decodef(&xa->req_param_mb, "%wwwlwu", sr,
496 count = smb_trans2_find_entries(sr, xa, od, &args);
510 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwww",
532 smb_trans2_find_entries(smb_request_t *sr, smb_xa_t *xa, smb_odir_ argument
713 smb_trans2_find_mbc_encode(smb_request_t *sr, smb_xa_t *xa, smb_fileinfo_t *fileinfo, smb_find_args_t *args) argument
[all...]
H A Dsmb_session.c838 smb_xa_t *xa, *nextxa; local
854 xa = smb_llist_head(&session->s_xa_list);
855 while (xa) {
856 nextxa = smb_llist_next(&session->s_xa_list, xa);
857 smb_xa_close(xa);
858 xa = nextxa;
H A Dsmb_common_transact.c76 struct smb_xa *xa; local
92 xa = smb_xa_create(sr->session, sr, tpscnt, tdscnt, mprcnt, mdrcnt,
94 if (xa == NULL) {
106 smb_xa_rele(sr->session, xa);
110 xa->xa_pipe_name = smb_mem_strdup(stn);
111 xa->smb_flags = flags;
112 xa->smb_timeout = timeo;
113 xa->req_disp_param = pscnt;
114 xa->req_disp_data = dscnt;
116 if (smb_mbc_copy(&xa
174 smb_xa_t *xa; local
305 smb_xa_t *xa; local
386 smb_xa_t *xa; local
460 smb_nt_trans_dispatch(struct smb_request *sr, struct smb_xa *xa) argument
579 smb_xa_t *xa; local
662 smb_xa_t *xa; local
736 smb_trans_ready(smb_xa_t *xa) argument
778 smb_trans_net_share_enum(struct smb_request *sr, struct smb_xa *xa) argument
966 smb_trans_net_share_getinfo(smb_request_t *sr, struct smb_xa *xa) argument
1027 smb_trans_net_workstation_getinfo(struct smb_request *sr, struct smb_xa *xa) argument
1072 smb_trans_net_user_getinfo(struct smb_request *sr, struct smb_xa *xa) argument
1092 smb_trans_net_server_getinfo(struct smb_request *sr, struct smb_xa *xa) argument
1332 smb_trans_net_server_enum2(struct smb_request *sr, struct smb_xa *xa) argument
1410 smb_trans_nmpipe(smb_request_t *sr, smb_xa_t *xa) argument
1447 smb_trans_dispatch(smb_request_t *sr, smb_xa_t *xa) argument
1600 smb_trans2_dispatch(smb_request_t *sr, smb_xa_t *xa) argument
1828 smb_xa_t *xa, *nxa; local
1908 smb_xa_delete(smb_xa_t *xa) argument
1937 smb_xa_hold(smb_xa_t *xa) argument
1947 smb_xa_rele(smb_session_t *session, smb_xa_t *xa) argument
1964 smb_xa_open(smb_xa_t *xa) argument
1985 smb_xa_close(smb_xa_t *xa) argument
2004 smb_xa_complete(smb_xa_t *xa) argument
2036 smb_xa_t *xa; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_server.c140 ndr_is_admin(ndr_xa_t *xa) argument
142 smb_netuserinfo_t *ctx = xa->pipe->np_user;
154 ndr_is_poweruser(ndr_xa_t *xa) argument
156 smb_netuserinfo_t *ctx = xa->pipe->np_user;
163 ndr_native_os(ndr_xa_t *xa) argument
165 smb_netuserinfo_t *ctx = xa->pipe->np_user;
H A Dndr_svc.c197 ndr_hdalloc(const ndr_xa_t *xa, const void *data) argument
216 hd->nh_pipe = xa->pipe;
217 hd->nh_svc = xa->binding->service;
233 ndr_hdfree(const ndr_xa_t *xa, const ndr_hdid_t *id) argument
235 ndr_service_t *svc = xa->binding->service;
267 ndr_hdlookup(const ndr_xa_t *xa, const ndr_hdid_t *id) argument
269 ndr_service_t *svc = xa->binding->service;

Completed in 70 milliseconds