Searched defs:ofile (Results 1 - 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_setinfo_quota.c43 smb_ofile_t *ofile = sr->fid_ofile; local
57 if ((ofile->f_node == NULL) ||
58 (ofile->f_ftype != SMB_FTYPE_DISK))
H A Dsmb2_oplock.c111 smb_ofile_t *ofile = sr->fid_ofile; local
133 sr->smb_tid = ofile->f_tree->t_tid;
144 smb2fid.temporal = ofile->f_fid;
H A Dsmb2_qinfo_quota.c42 smb_ofile_t *ofile = sr->fid_ofile; local
54 if ((ofile->f_node == NULL) ||
55 (ofile->f_ftype != SMB_FTYPE_DISK))
91 status = smb_quota_init_sids(&sr->smb_data, &request, ofile);
101 &request, &reply, ofile);
112 smb_ofile_set_quota_resume(ofile, NULL);
H A Dsmb_nt_transact_quota.c89 smb_ofile_t *ofile; local
119 ofile = sr->fid_ofile;
120 if (ofile == NULL) {
125 if ((ofile->f_node == NULL) || (ofile->f_ftype != SMB_FTYPE_DISK)) {
153 status = smb_quota_init_sids(&xa->req_data_mb, &request, ofile);
163 &request, &reply, ofile);
176 smb_ofile_set_quota_resume(ofile, NULL);
226 smb_ofile_t *ofile; local
255 ofile
[all...]
H A Dsmb_locking_andx.c244 smb_ofile_t *ofile; local
258 ofile = sr->fid_ofile;
259 if (ofile->f_node == NULL) {
277 smb_oplock_ack(ofile->f_node, ofile, brk);
400 smb_ofile_t *ofile = sr->fid_ofile; local
418 sr->smb_tid = ofile->f_tree->t_tid;
422 fid = ofile->f_fid;
H A Dsmb_write.c462 smb_ofile_t *ofile = sr->fid_ofile; local
471 node = ofile->f_node;
503 ofile->f_written = B_TRUE;
526 mutex_enter(&ofile->f_mutex);
527 ofile->f_seek_pos = param->rw_offset + param->rw_count;
528 mutex_exit(&ofile->f_mutex);
546 smb_ofile_t *ofile = sr->fid_ofile; local
547 smb_node_t *node = ofile->f_node;
571 rc = smb_node_setattr(sr, node, sr->user_cr, ofile, &attr);
575 mutex_enter(&ofile
[all...]
H A Dsmb_read.c364 * LEVEL_II oplock on the file, the oplock MUST be owned by the ofile
372 smb_ofile_t *ofile = sr->fid_ofile; local
388 node = ofile->f_node;
399 if ((ofile->f_flags & SMB_OFLAGS_EXECONLY) &&
456 ofile->f_seek_pos = param->rw_offset;
H A Dsmb_oplock.c135 smb_oplock_acquire(smb_request_t *sr, smb_node_t *node, smb_ofile_t *ofile) argument
145 SMB_OFILE_VALID(ofile);
147 ASSERT(node == SMB_OFILE_GET_NODE(ofile));
151 tree = SMB_OFILE_GET_TREE(ofile);
152 session = SMB_OFILE_GET_SESSION(ofile);
182 smb_vop_other_opens(node->vp, ofile->f_mode)) {
202 og = smb_oplock_set_grant(ofile, op->op_oplock_level);
405 smb_ofile_t *ofile; local
408 * Make sure we can get a hold on the ofile. If we can't,
416 ofile
784 smb_oplock_get_grant(smb_oplock_t *ol, smb_ofile_t *ofile) argument
[all...]
H A Dsmb_opipe.c72 * when the ofile has no more references and is about to be free'd.
74 * the opipe is installed under an ofile.
207 * If we recognize the pipe, we setup a new ofile.
215 smb_ofile_t *ofile; local
235 * Note: If smb_ofile_open succeeds, the new ofile is
240 ofile = smb_ofile_open(sr, NULL, op,
243 if (ofile == NULL) {
249 opipe->p_ofile = ofile;
258 op->fileid = ofile->f_fid;
260 sr->smb_fid = ofile
306 smb_ofile_t *ofile; local
356 smb_ofile_t *ofile; local
405 smb_ofile_t *ofile; local
494 smb_ofile_t *ofile; local
[all...]
H A Dsmb_quota.c67 smb_ofile_t *ofile)
84 smb_ofile_set_quota_resume(ofile, NULL);
88 smb_ofile_get_quota_resume(ofile, sid->qs_sidstr,
293 smb_quota_response_t *reply, smb_ofile_t *ofile)
352 smb_ofile_set_quota_resume(ofile, resume);
66 smb_quota_init_sids(mbuf_chain_t *mbc, smb_quota_query_t *request, smb_ofile_t *ofile) argument
292 smb_quota_encode_quotas(mbuf_chain_t *mbc, smb_quota_query_t *request, smb_quota_response_t *reply, smb_ofile_t *ofile) argument
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c92 char file[80], ofile[80]; local
110 (void) strlcpy(ofile, optarg, sizeof (ofile));
122 fd = open(ofile, O_RDWR|O_APPEND);
124 fd = open(ofile, O_RDWR|O_CREAT|O_EXCL, 0644);
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dlintsup.c43 input32(int argc, char **argv, const char *prog, const char *ofile, argument
46 return (input64(argc, argv, prog, ofile, odp));
50 output32(const char *prog, int fd, const char *ofile, ushort_t mach, argument
53 return (output64(prog, fd, ofile, mach, odp));
57 input64(int argc, char **argv, const char *prog, const char *ofile, argument
60 return (input32(argc, argv, prog, ofile, odp));
63 output64(const char *prog, int fd, const char *ofile, ushort_t mach, argument
66 return (output32(prog, fd, ofile, mach, odp));
H A Dmain.c52 const char *prog, *ofile = NULL, *pstr = NULL; local
87 ofile = optarg;
120 if (ofile == NULL)
121 ofile = MSG_ORIG(MSG_STR_AWRAPO);
153 if (input64(argc, argv, prog, ofile, &odesc) == 1)
156 if (input32(argc, argv, prog, ofile, &odesc) == 1)
163 if ((fd = open(ofile, (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
166 ofile, strerror(err));
179 return (output64(prog, fd, ofile, mach, &odesc));
181 return (output32(prog, fd, ofile, mac
[all...]
H A Delfwrap.c67 input(int argc, char **argv, const char *prog, const char *ofile, argument
205 odp->od_strtabsz += strlen(ofile) + 2;
215 output(const char *prog, int fd, const char *ofile, ushort_t mach, argument
462 len = strlen(ofile) + 1;
463 (void) memcpy(strtabent, ofile, len);
/illumos-gate/usr/src/cmd/msgfmt/
H A Dcommon.h66 char *ofile; member in struct:flags
/illumos-gate/usr/src/cmd/regcmp/
H A Dregcmp.c43 char ofile[64]; variable
83 cp = ofile;
96 if (creat(ofile, 0644) < 0) {
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Ddebug.c86 const char *ofile; local
99 if (Dbg_setup(DBG_CALLER_LD, options, dbg_desc, &ofile) == 0)
106 if (ofile) {
108 if (*ofile != '\0') {
109 FILE *fptr = fopen(ofile, MSG_ORIG(MSG_DBG_FOPEN_MODE));
114 MSG_INTL(MSG_SYS_OPEN), ofile,
H A Dresolve.c559 Half ofile = sdp->sd_file->ifl_ehdr->e_type; local
567 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind != STB_WEAK) &&
632 } else if ((nfile == ET_REL) && ((ofile == ET_DYN) ||
662 Half ofile = sdp->sd_file->ifl_ehdr->e_type; local
681 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind == nbind) &&
699 } else if (ofile != nfile) {
702 if ((ofile == ET_DYN) && (otype == STT_FUNC)) {
748 if (((ofile == ET_REL) && (nfile == ET_REL) &&
792 if ((ofile == ET_REL) && (nfile == ET_DYN) && (otent == TRUE) &&
797 if ((ofile
836 Half ofile = sdp->sd_file->ifl_ehdr->e_type; local
[all...]
H A Dsupport.c169 ld_sup_open(Ofl_desc *ofl, const char **opath, const char **ofile, int *ofd, argument
177 const char *nfile = *ofile;
223 *ofile = nfile;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddebug.c58 const char *ofile; local
80 if (Dbg_setup(DBG_CALLER_RTLD, options, dbp, &ofile) == 0)
105 if (ofile && (*ofile != '\0'))
106 dbg_file = ofile;
/illumos-gate/usr/src/cmd/refer/
H A Drefer0.c44 char ofile[NTFILE]; variable
/illumos-gate/usr/src/lib/libpp/common/
H A Dpplex.c2391 char* ofile; local
2410 if (!(ofile = strchr(ifile, ' ')))
2412 *ofile++ = 0;
2426 if (open(ofile, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) != 1)
2427 error(ERROR_SYSTEM|3, "%s: cannot create", ofile);
2428 pp.outfile = ofile;
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c503 enterfile(Crle_desc *crle, const char *opath, const char *ofile, Half flags, argument
546 nfile = (char *)ofile;
601 if (nfile == ofile)
627 off = ofile - opath;
628 ofile = (char *)rent->e_key + off;
633 if ((ent = get_hash(stbl, (Addr)ofile, odent->e_id,
637 if (_enterfile(crle, ofile, off, ent, rent, odent, obj) == 0)
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4ext.c75 FILE *ofile[11] = {stdout}; /* output file stack */ variable
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c306 smb_netfileinfo_t *ofile; local
331 ofile = &item->nsi_un.nsi_ofile;
332 free(ofile->fi_path);
333 free(ofile->fi_username);
358 smb_netfileinfo_t *ofile; local
394 ofile = &items->nsi_un.nsi_ofile;
395 rc = smb_netfileinfo_decode(ofile, data, len, &nbytes);

Completed in 916 milliseconds

12