Home
last modified time | relevance | path

Searched refs:xa (Results 1 – 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_transact.c77 struct smb_xa *xa; in smb_com_transaction() local
93 xa = smb_xa_create(sr->session, sr, tpscnt, tdscnt, mprcnt, mdrcnt, in smb_com_transaction()
95 if (xa == NULL) { in smb_com_transaction()
107 smb_xa_rele(sr->session, xa); in smb_com_transaction()
111 xa->xa_pipe_name = smb_mem_strdup(stn); in smb_com_transaction()
112 xa->smb_flags = flags; in smb_com_transaction()
113 xa->smb_timeout = timeo; in smb_com_transaction()
114 xa->req_disp_param = pscnt; in smb_com_transaction()
115 xa->req_disp_data = dscnt; in smb_com_transaction()
117 if (smb_mbc_copy(&xa->req_setup_mb, &sr->smb_vwv, in smb_com_transaction()
[all …]
H A Dsmb_nt_transact_ioctl.c44 uint32_t (*ioctl_func)(smb_request_t *sr, smb_xa_t *xa);
85 smb_nt_transact_ioctl(smb_request_t *sr, smb_xa_t *xa) in smb_nt_transact_ioctl() argument
93 if (smb_mbc_decodef(&xa->req_setup_mb, "lwbb", in smb_nt_transact_ioctl()
106 status = ioctl_ret_tbl[i].ioctl_func(sr, xa); in smb_nt_transact_ioctl()
116 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", 0); in smb_nt_transact_ioctl()
122 smb_nt_trans_ioctl_noop(smb_request_t *sr, smb_xa_t *xa) in smb_nt_trans_ioctl_noop() argument
129 smb_nt_trans_ioctl_invalid_parm(smb_request_t *sr, smb_xa_t *xa) in smb_nt_trans_ioctl_invalid_parm() argument
145 smb_nt_trans_ioctl_set_sparse(smb_request_t *sr, smb_xa_t *xa) in smb_nt_trans_ioctl_set_sparse() argument
174 if (smb_mbc_decodef(&xa->req_data_mb, "b", &set) != 0) { in smb_nt_trans_ioctl_set_sparse()
230 smb_nt_trans_ioctl_set_zero_data(smb_request_t *sr, smb_xa_t *xa) in smb_nt_trans_ioctl_set_zero_data() argument
[all …]
H A Dsmb_query_fileinfo.c101 smb_com_trans2_query_file_information(struct smb_request *sr, struct smb_xa *xa) in smb_com_trans2_query_file_information() argument
105 if (smb_mbc_decodef(&xa->req_param_mb, "ww", in smb_com_trans2_query_file_information()
109 if (smb_query_by_fid(sr, xa, infolev) != 0) in smb_com_trans2_query_file_information()
119 smb_com_trans2_query_path_information(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_query_path_information() argument
130 if (smb_mbc_decodef(&xa->req_param_mb, "%w4.u", in smb_com_trans2_query_path_information()
134 if (smb_query_by_path(sr, xa, infolev) != 0) in smb_com_trans2_query_path_information()
218 smb_query_by_fid(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) in smb_query_by_fid() argument
263 rc = smb_query_encode_response(sr, xa, infolev, qinfo); in smb_query_by_fid()
285 smb_query_by_path(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) in smb_query_by_path() argument
360 rc = smb_query_encode_response(sr, xa, infolev, qinfo); in smb_query_by_path()
[all …]
H A Dsmb_trans2_find.c282 smb_com_trans2_find_first2(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_find_first2() argument
302 if (smb_mbc_decodef(&xa->req_param_mb, "%wwww4.u", sr, &sattr, in smb_com_trans2_find_first2()
336 count = smb_trans2_find_entries(sr, xa, od, &args); in smb_com_trans2_find_first2()
357 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwwww", in smb_com_trans2_find_first2()
432 smb_com_trans2_find_next2(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_find_next2() argument
449 if (smb_mbc_decodef(&xa->req_param_mb, "%wwwlwu", sr, in smb_com_trans2_find_next2()
497 count = smb_trans2_find_entries(sr, xa, od, &args); in smb_com_trans2_find_next2()
511 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwww", in smb_com_trans2_find_next2()
533 smb_trans2_find_entries(smb_request_t *sr, smb_xa_t *xa, smb_odir_t *od, in smb_trans2_find_entries() argument
570 LastEntryOffset = xa->rep_data_mb.chain_offset; in smb_trans2_find_entries()
[all …]
H A Dsmb_nt_transact_notify_change.c74 smb_nt_transact_notify_change(smb_request_t *sr, struct smb_xa *xa) in smb_nt_transact_notify_change() argument
82 if (smb_mbc_decodef(&xa->req_setup_mb, "lwb", in smb_nt_transact_notify_change()
94 oBufSize = xa->rep_param_mb.max_bytes; in smb_nt_transact_notify_change()
136 tmp_mbc = xa->rep_param_mb; in smb_nt_transact_notify_change()
137 xa->rep_param_mb = sr->raw_data; in smb_nt_transact_notify_change()
151 struct smb_xa *xa; in smb_nt_transact_notify_finish() local
195 xa = sr->r_xa; in smb_nt_transact_notify_finish()
196 n_setup = MBC_LENGTH(&xa->rep_setup_mb); in smb_nt_transact_notify_finish()
198 n_data = MBC_LENGTH(&xa->rep_data_mb); in smb_nt_transact_notify_finish()
221 &xa->rep_setup_mb, /* setup[] */ in smb_nt_transact_notify_finish()
[all …]
H A Dsmb_nt_transact_quota.c84 smb_nt_transact_query_quota(smb_request_t *sr, smb_xa_t *xa) in smb_nt_transact_query_quota() argument
102 if (xa->smb_tpscnt != 16) { in smb_nt_transact_query_quota()
107 if (smb_mbc_decodef(&xa->req_param_mb, "%wbblll", sr, &sr->smb_fid, in smb_nt_transact_query_quota()
151 smb_quota_max_quota(&xa->rep_data_mb, &request); in smb_nt_transact_query_quota()
153 status = smb_quota_init_sids(&xa->req_data_mb, &request, ofile); in smb_nt_transact_query_quota()
162 &xa->rep_data_mb, in smb_nt_transact_query_quota()
165 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", in smb_nt_transact_query_quota()
166 xa->rep_data_mb.chain_offset); in smb_nt_transact_query_quota()
182 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", 0); in smb_nt_transact_query_quota()
221 smb_nt_transact_set_quota(smb_request_t *sr, smb_xa_t *xa) in smb_nt_transact_set_quota() argument
[all …]
H A Dsmb_trans2_dfs.c53 smb_com_trans2_get_dfs_referral(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_get_dfs_referral() argument
67 fsctl.InputCount = xa->smb_tpscnt; in smb_com_trans2_get_dfs_referral()
69 fsctl.MaxOutputResp = xa->smb_mdrcnt; in smb_com_trans2_get_dfs_referral()
70 fsctl.in_mbc = &xa->req_param_mb; in smb_com_trans2_get_dfs_referral()
71 fsctl.out_mbc = &xa->rep_data_mb; in smb_com_trans2_get_dfs_referral()
80 (void) smb_mbc_encodef(&xa->rep_param_mb, "w", doserr); in smb_com_trans2_get_dfs_referral()
H A Dsmb_fsinfo.c157 smb_com_trans2_query_fs_information(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_query_fs_information() argument
179 if (smb_mbc_decodef(&xa->req_param_mb, "w", &infolev) != 0) in smb_com_trans2_query_fs_information()
196 (void) smb_mbc_encodef(&xa->rep_data_mb, "llllw", in smb_com_trans2_query_fs_information()
219 rc = smb_mbc_encodef(&xa->rep_data_mb, in smb_com_trans2_query_fs_information()
226 rc = smb_mbc_encodef(&xa->rep_data_mb, "%lbs", sr, in smb_com_trans2_query_fs_information()
248 (void) smb_mbc_encodef(&xa->rep_data_mb, encode_str, sr, in smb_com_trans2_query_fs_information()
261 (void) smb_mbc_encodef(&xa->rep_data_mb, "qqll", in smb_com_trans2_query_fs_information()
270 (void) smb_mbc_encodef(&xa->rep_data_mb, "ll", in smb_com_trans2_query_fs_information()
310 (void) smb_mbc_encodef(&xa->rep_data_mb, encode_str, sr, in smb_com_trans2_query_fs_information()
324 (void) smb_mbc_encodef(&xa->rep_data_mb, "qqqqqll", in smb_com_trans2_query_fs_information()
[all …]
H A Dsmb_nt_transact_create.c55 smb_pre_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) in smb_pre_nt_transact_create() argument
69 rc = smb_mbc_decodef(&xa->req_param_mb, "%lllqllllllllb", in smb_pre_nt_transact_create()
93 rc = smb_mbc_decodef(&xa->req_param_mb, "%#u", in smb_pre_nt_transact_create()
107 status = smb_decode_sd(&xa->req_data_mb, &sd); in smb_pre_nt_transact_create()
124 smb_post_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) in smb_post_nt_transact_create() argument
127 _NOTE(ARGUNUSED(xa)) in smb_post_nt_transact_create()
146 smb_nt_transact_create(smb_request_t *sr, smb_xa_t *xa) in smb_nt_transact_create() argument
248 &xa->rep_param_mb, "bbwllTTTTlqqwwb16.qll", in smb_nt_transact_create()
270 &xa->rep_param_mb, "bbwllTTTTlqqwwb", in smb_nt_transact_create()
H A Dsmb_set_fileinfo.c85 smb_com_trans2_set_file_information(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_set_file_information() argument
89 if (smb_mbc_decodef(&xa->req_param_mb, "ww", in smb_com_trans2_set_file_information()
93 if (smb_set_by_fid(sr, xa, infolev) != 0) in smb_com_trans2_set_file_information()
103 smb_com_trans2_set_path_information(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_set_path_information() argument
114 if (smb_mbc_decodef(&xa->req_param_mb, "%w4.u", in smb_com_trans2_set_path_information()
118 if (smb_set_by_path(sr, xa, infolev) != 0) in smb_com_trans2_set_path_information()
208 smb_set_by_fid(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) in smb_set_by_fid() argument
238 if (xa != NULL) in smb_set_by_fid()
239 sinfo.si_data = xa->req_data_mb; in smb_set_by_fid()
265 smb_set_by_path(smb_request_t *sr, smb_xa_t *xa, uint16_t infolev) in smb_set_by_path() argument
[all …]
H A Dsmb_trans2_create_directory.c61 smb_com_trans2_create_directory(struct smb_request *sr, struct smb_xa *xa) in smb_com_trans2_create_directory() argument
72 if (smb_mbc_decodef(&xa->req_param_mb, "%4.u", sr, &pn->pn_path) != 0) in smb_com_trans2_create_directory()
86 if (smb_mbc_encodef(&xa->rep_param_mb, "w", 0) < 0) in smb_com_trans2_create_directory()
H A Dsmb_nt_transact_security.c60 smb_nt_transact_query_security_info(struct smb_request *sr, struct smb_xa *xa) in smb_nt_transact_query_security_info() argument
68 if (smb_mbc_decodef(&xa->req_param_mb, "w2.l", in smb_nt_transact_query_security_info()
111 if (sdlen > xa->smb_mdrcnt) { in smb_nt_transact_query_security_info()
118 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", sdlen); in smb_nt_transact_query_security_info()
127 smb_encode_sd(&xa->rep_data_mb, &sd, secinfo); in smb_nt_transact_query_security_info()
128 (void) smb_mbc_encodef(&xa->rep_param_mb, "l", sdlen); in smb_nt_transact_query_security_info()
153 smb_nt_transact_set_security_info(struct smb_request *sr, struct smb_xa *xa) in smb_nt_transact_set_security_info() argument
159 if (smb_mbc_decodef(&xa->req_param_mb, "w2.l", in smb_nt_transact_set_security_info()
196 status = smb_decode_sd(&xa->req_data_mb, &sd); in smb_nt_transact_set_security_info()
H A Dsmb_open_andx.c505 smb_com_trans2_open2(smb_request_t *sr, smb_xa_t *xa) in smb_com_trans2_open2() argument
518 rc = smb_mbc_decodef(&xa->req_param_mb, "%wwwwlwl10.u", in smb_com_trans2_open2()
536 rc = smb_mbc_decodef(&xa->req_data_mb, "l", &ea_list_size); in smb_com_trans2_open2()
590 (void) smb_mbc_encodef(&xa->rep_param_mb, "wwllwwwwlwl", in smb_com_trans2_open2()
H A Dsmb_rename.c219 smb_nt_transact_rename(smb_request_t *sr, smb_xa_t *xa) in smb_nt_transact_rename() argument
221 if (smb_mbc_decodef(&xa->req_param_mb, "w", &sr->smb_fid) != 0) in smb_nt_transact_rename()
/illumos-gate/usr/src/uts/common/sys/
H A Dbyteorder.h169 #define BE_IN8(xa) \ argument
170 *((uint8_t *)(xa))
173 #define BE_IN16(xa) \ argument
174 (((uint16_t)BE_IN8(xa) << 8) | BE_IN8((uint8_t *)(xa) + 1))
176 #define BE_IN32(xa) \ argument
177 (((uint32_t)BE_IN16(xa) << 16) | BE_IN16((uint8_t *)(xa) + 2))
180 #define BE_IN16(xa) htons(*((uint16_t *)(void *)(xa)))
181 #define BE_IN32(xa) htonl(*((uint32_t *)(void *)(xa)))
186 #define BE_IN64(xa) \ argument
187 (((uint64_t)BE_IN32(xa) << 32) | BE_IN32((uint8_t *)(xa) + 4))
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.re71 .a ~ xa
92 !~ xa
98 !~ xa
105 ^.a ~ xa
110 xa
113 ^.+a ~ xa
121 xa
125 xa
152 xa
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_svc.c196 ndr_hdalloc(const ndr_xa_t *xa, const void *data) in ndr_hdalloc() argument
215 hd->nh_pipe = xa->pipe; in ndr_hdalloc()
216 hd->nh_svc = xa->binding->service; in ndr_hdalloc()
232 ndr_hdfree(const ndr_xa_t *xa, const ndr_hdid_t *id) in ndr_hdfree() argument
234 ndr_service_t *svc = xa->binding->service; in ndr_hdfree()
266 ndr_hdlookup(const ndr_xa_t *xa, const ndr_hdid_t *id) in ndr_hdlookup() argument
268 ndr_service_t *svc = xa->binding->service; in ndr_hdlookup()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_util.c460 ndr_is_admin(ndr_xa_t *xa) in ndr_is_admin() argument
462 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_is_admin()
474 ndr_is_poweruser(ndr_xa_t *xa) in ndr_is_poweruser() argument
476 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_is_poweruser()
483 ndr_native_os(ndr_xa_t *xa) in ndr_native_os() argument
485 smb_netuserinfo_t *ctx = xa->pipe->np_user; in ndr_native_os()
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dcase14.ref12 brk-setinfo 1 0xa
13 brk-setinfo 1 0xa ret status=0x0 (SUCCESS)
48 brk-setinfo 1 0xa
51 brk-setinfo 1 0xa ret status=0x108 (OPLOCK_BREAK_IN_PROGRESS)
H A Dcase14.txt13 brk-setinfo 1 0xa
43 brk-setinfo 1 0xa
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mount/
H A Dumount_unlinked_drain.ksh78 for xa in ${xattrs[@]}; do
82 log_must zfs set xattr=$xa $TESTPOOL/$TESTFS.$fs
84 if [[ $xa == off ]]; then
/illumos-gate/usr/src/cmd/sendmail/db/
H A DMakefile54 os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o \
121 xa%.o: $(srcdir)/xa/xa%.c
/illumos-gate/usr/src/test/util-tests/tests/mdb/typedef/
H A Dtst.radix.mdb.out1 sizeof (foo_t) = 0xa
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/
H A Dtst.printtype.ksh.out7 int ff_gameid = 0xa
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D64.lzcnt.out3 libdis_test+0xa: f3 0f bd d8 lzcntl %eax,%ebx

123