Lines Matching refs:op

38 	struct open_param *op = &sr->arg.open;
41 bzero(op, sizeof (sr->arg.open));
43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec);
45 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
47 op->create_disposition = FILE_OVERWRITE_IF;
48 op->create_options = FILE_NON_DIRECTORY_FILE;
51 struct open_param *, op);
81 struct open_param *op = &sr->arg.open;
84 bzero(op, sizeof (sr->arg.open));
86 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec);
88 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
90 op->create_disposition = FILE_CREATE;
93 struct open_param *, op);
123 struct open_param *op = &sr->arg.open;
127 bzero(op, sizeof (sr->arg.open));
129 rc = smbsr_decode_vwv(sr, "wl", &reserved, &op->mtime.tv_sec);
131 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
133 op->create_disposition = FILE_CREATE;
136 struct open_param *, op);
151 struct open_param *op = &sr->arg.open;
162 op->fqi.fq_path.pn_path, name);
163 op->fqi.fq_path.pn_path = buf;
182 struct open_param *op = &sr->arg.open;
185 if ((op->mtime.tv_sec != 0) && (op->mtime.tv_sec != UINT_MAX))
186 op->mtime.tv_sec = smb_time_local_to_gmt(sr, op->mtime.tv_sec);
187 op->mtime.tv_nsec = 0;
188 op->dsize = 0;
189 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY;
190 op->desired_access = smb_omode_to_amask(op->omode);
191 op->share_access = smb_denymode_to_sharemode(op->omode,
192 op->fqi.fq_path.pn_path);
196 op->op_oplock_level = SMB_OPLOCK_BATCH;
198 op->op_oplock_level = SMB_OPLOCK_EXCLUSIVE;
200 op->op_oplock_level = SMB_OPLOCK_NONE;
202 op->op_oplock_levelII = B_FALSE;
206 if (op->op_oplock_level == SMB_OPLOCK_NONE) {