/titanic_50/usr/src/cmd/sgs/elfwrap/common/ |
H A D | lintsup.c | 43 input32(int argc, char **argv, const char *prog, const char *ofile, in input32() argument 46 return (input64(argc, argv, prog, ofile, odp)); in input32() 50 output32(const char *prog, int fd, const char *ofile, ushort_t mach, in output32() argument 53 return (output64(prog, fd, ofile, mach, odp)); in output32() 57 input64(int argc, char **argv, const char *prog, const char *ofile, in input64() argument 60 return (input32(argc, argv, prog, ofile, odp)); in input64() 63 output64(const char *prog, int fd, const char *ofile, ushort_t mach, in output64() argument 66 return (output32(prog, fd, ofile, mach, odp)); in output64()
|
H A D | main.c | 52 const char *prog, *ofile = NULL, *pstr = NULL; in main() local 87 ofile = optarg; in main() 120 if (ofile == NULL) in main() 121 ofile = MSG_ORIG(MSG_STR_AWRAPO); in main() 153 if (input64(argc, argv, prog, ofile, &odesc) == 1) in main() 156 if (input32(argc, argv, prog, ofile, &odesc) == 1) in main() 163 if ((fd = open(ofile, (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main() 166 ofile, strerror(err)); in main() 179 return (output64(prog, fd, ofile, mach, &odesc)); in main() 181 return (output32(prog, fd, ofile, mach, &odesc)); in main()
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_opipe.c | 215 smb_ofile_t *ofile; in smb_opipe_open() local 240 ofile = smb_ofile_open(sr, NULL, op, in smb_opipe_open() 243 if (ofile == NULL) { in smb_opipe_open() 249 opipe->p_ofile = ofile; in smb_opipe_open() 258 op->fileid = ofile->f_fid; in smb_opipe_open() 260 sr->smb_fid = ofile->f_fid; in smb_opipe_open() 261 sr->fid_ofile = ofile; in smb_opipe_open() 306 smb_ofile_t *ofile; in smb_opipe_write() local 312 ofile = sr->fid_ofile; in smb_opipe_write() 313 ASSERT(ofile->f_ftype == SMB_FTYPE_MESG_PIPE); in smb_opipe_write() [all …]
|
H A D | smb_nt_transact_quota.c | 89 smb_ofile_t *ofile; in smb_nt_transact_query_quota() local 119 ofile = sr->fid_ofile; in smb_nt_transact_query_quota() 120 if (ofile == NULL) { in smb_nt_transact_query_quota() 125 if ((ofile->f_node == NULL) || (ofile->f_ftype != SMB_FTYPE_DISK)) { in smb_nt_transact_query_quota() 153 status = smb_quota_init_sids(&xa->req_data_mb, &request, ofile); in smb_nt_transact_query_quota() 163 &request, &reply, ofile); in smb_nt_transact_query_quota() 176 smb_ofile_set_quota_resume(ofile, NULL); in smb_nt_transact_query_quota() 226 smb_ofile_t *ofile; in smb_nt_transact_set_quota() local 255 ofile = sr->fid_ofile; in smb_nt_transact_set_quota() 256 if (ofile == NULL) { in smb_nt_transact_set_quota() [all …]
|
H A D | smb_oplock.c | 135 smb_oplock_acquire(smb_request_t *sr, smb_node_t *node, smb_ofile_t *ofile) in smb_oplock_acquire() argument 145 SMB_OFILE_VALID(ofile); in smb_oplock_acquire() 147 ASSERT(node == SMB_OFILE_GET_NODE(ofile)); in smb_oplock_acquire() 151 tree = SMB_OFILE_GET_TREE(ofile); in smb_oplock_acquire() 152 session = SMB_OFILE_GET_SESSION(ofile); in smb_oplock_acquire() 182 smb_vop_other_opens(node->vp, ofile->f_mode)) { in smb_oplock_acquire() 202 og = smb_oplock_set_grant(ofile, op->op_oplock_level); in smb_oplock_acquire() 405 smb_ofile_t *ofile; in smb_oplock_sched_async_break() local 416 ofile = og->og_ofile; in smb_oplock_sched_async_break() 417 if (!smb_ofile_hold(ofile)) in smb_oplock_sched_async_break() [all …]
|
H A D | smb2_qinfo_quota.c | 42 smb_ofile_t *ofile = sr->fid_ofile; in smb2_qinfo_quota() local 54 if ((ofile->f_node == NULL) || in smb2_qinfo_quota() 55 (ofile->f_ftype != SMB_FTYPE_DISK)) in smb2_qinfo_quota() 91 status = smb_quota_init_sids(&sr->smb_data, &request, ofile); in smb2_qinfo_quota() 101 &request, &reply, ofile); in smb2_qinfo_quota() 112 smb_ofile_set_quota_resume(ofile, NULL); in smb2_qinfo_quota()
|
H A D | smb_flush.c | 43 static void smb_flush_file(struct smb_request *sr, struct smb_ofile *ofile); 120 smb_flush_file(struct smb_request *sr, struct smb_ofile *ofile) in smb_flush_file() argument 122 sr->user_cr = smb_ofile_getcred(ofile); in smb_flush_file() 124 if ((ofile->f_node->flags & NODE_FLAGS_WRITE_THROUGH) == 0) in smb_flush_file() 125 (void) smb_fsop_commit(sr, sr->user_cr, ofile->f_node); in smb_flush_file()
|
H A D | smb_locking_andx.c | 244 smb_ofile_t *ofile; in smb_com_locking_andx() local 258 ofile = sr->fid_ofile; in smb_com_locking_andx() 259 if (ofile->f_node == NULL) { in smb_com_locking_andx() 277 smb_oplock_ack(ofile->f_node, ofile, brk); in smb_com_locking_andx() 400 smb_ofile_t *ofile = sr->fid_ofile; in smb1_oplock_break_notification() local 418 sr->smb_tid = ofile->f_tree->t_tid; in smb1_oplock_break_notification() 422 fid = ofile->f_fid; in smb1_oplock_break_notification()
|
H A D | smb_write.c | 462 smb_ofile_t *ofile = sr->fid_ofile; in smb_common_write() local 471 node = ofile->f_node; in smb_common_write() 503 ofile->f_written = B_TRUE; in smb_common_write() 526 mutex_enter(&ofile->f_mutex); in smb_common_write() 527 ofile->f_seek_pos = param->rw_offset + param->rw_count; in smb_common_write() 528 mutex_exit(&ofile->f_mutex); in smb_common_write() 546 smb_ofile_t *ofile = sr->fid_ofile; in smb_write_truncate() local 547 smb_node_t *node = ofile->f_node; in smb_write_truncate() 571 rc = smb_node_setattr(sr, node, sr->user_cr, ofile, &attr); in smb_write_truncate() 575 mutex_enter(&ofile->f_mutex); in smb_write_truncate() [all …]
|
H A D | smb2_setinfo_quota.c | 43 smb_ofile_t *ofile = sr->fid_ofile; in smb2_setinfo_quota() local 57 if ((ofile->f_node == NULL) || in smb2_setinfo_quota() 58 (ofile->f_ftype != SMB_FTYPE_DISK)) in smb2_setinfo_quota()
|
H A D | smb2_oplock.c | 111 smb_ofile_t *ofile = sr->fid_ofile; in smb2_oplock_break_notification() local 133 sr->smb_tid = ofile->f_tree->t_tid; in smb2_oplock_break_notification() 144 smb2fid.temporal = ofile->f_fid; in smb2_oplock_break_notification()
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.include.ksh | 39 ofile=$2 59 echo $inc failed: `cat $errfile | head -1` > $ofile 61 echo $inc succeeded > $ofile 125 ofile=${TMPDIR:-/tmp}/inc.$file.$$.out 127 doit $file $ofile $errfile & 147 ofile=${TMPDIR:-/tmp}/inc.$file.$$.out 149 if [ -f $ofile ]; then 150 cat $ofile >> $bigofile 151 rm $ofile
|
/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | dump.c | 92 FILE *ofile; member 594 fprintf(arglist->ofile, k5beta_dump_header); 722 fprintf(arg->ofile, "%d\t%d\t%d\t%d\t%d\t%d\t%s\t%d\t", strlen(name), 731 fprintf(arg->ofile, "%02x", pkey->key_data_contents[0][i]); 737 fprintf(arg->ofile, 748 fprintf(arg->ofile, "%02x", pkey->key_data_contents[1][i]); 751 fprintf(arg->ofile, "\t%u\t", akey->key_data_type[0]); 753 fprintf(arg->ofile, "%02x", akey->key_data_contents[0][i]); 756 fprintf(arg->ofile, "\t%u\t", akey->key_data_type[1]); 758 fprintf(arg->ofile, "%02x", akey->key_data_contents[1][i]); [all …]
|
/titanic_50/usr/src/cmd/print/conv_fix/ |
H A D | conv_fix.c | 92 char file[80], ofile[80]; in main() local 110 (void) strlcpy(ofile, optarg, sizeof (ofile)); in main() 122 fd = open(ofile, O_RDWR|O_APPEND); in main() 124 fd = open(ofile, O_RDWR|O_CREAT|O_EXCL, 0644); in main()
|
/titanic_50/usr/src/cmd/sgs/libld/common/ |
H A D | debug.c | 86 const char *ofile; in dbg_setup() local 99 if (Dbg_setup(DBG_CALLER_LD, options, dbg_desc, &ofile) == 0) in dbg_setup() 106 if (ofile) { in dbg_setup() 108 if (*ofile != '\0') { in dbg_setup() 109 FILE *fptr = fopen(ofile, MSG_ORIG(MSG_DBG_FOPEN_MODE)); in dbg_setup() 114 MSG_INTL(MSG_SYS_OPEN), ofile, in dbg_setup()
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_002_neg.ksh | 69 if [[ -f $ofile ]]; then 70 log_must $RM -f $ofile 96 basedir=$TESTDIR/basedir; ofile=$TESTDIR/ofile; odir=$TESTDIR/odir 224 compare_acls $node $ofile 247 compare_acls $node $ofile 317 log_must usr_exec $TOUCH $ofile 333 log_must usr_exec $RM -rf $ofile $odir $basedir
|
H A D | zfs_acl_chmod_inherit_002_pos.ksh | 69 if [[ -f $ofile ]]; then 70 log_must $RM -f $ofile 94 basedir=$TESTDIR/basedir; ofile=$TESTDIR/ofile; odir=$TESTDIR/odir 262 compare_acls $node $ofile 335 log_must usr_exec $TOUCH $ofile 351 log_must usr_exec $RM -rf $ofile $odir $basedir
|
H A D | zfs_acl_chmod_inherit_003_pos.ksh | 65 if [[ -f $ofile ]]; then 66 log_must $RM -f $ofile 92 basedir=$TESTDIR/basedir; ofile=$TESTDIR/ofile; odir=$TESTDIR/odir 297 compare_acls $node $ofile 384 log_must usr_exec $TOUCH $ofile 400 log_must usr_exec $RM -rf $ofile $odir $basedir
|
/titanic_50/usr/src/grub/grub-0.97/ |
H A D | compile | 74 ofile=$2 96 if test -z "$ofile" || test -z "$cfile"; then 127 mv "$cofile" "$ofile" 129 mv "${cofile}bj" "$ofile"
|
/titanic_50/usr/src/cmd/refer/ |
H A D | refer1.c | 117 sprintf(ofile, "/tmp/rj%db", getpid()); in main() 118 ftemp = fopen(ofile, "w"); in main() 163 recopy(ofile); in main() 196 if (ofile[0]) in cleanup() 197 unlink(ofile); in cleanup()
|
/titanic_50/usr/src/tools/scripts/ |
H A D | webrev.sh | 2807 ofile=old/$PDIR/$PF 2811 cmp $ofile $nfile > /dev/null 2>&1 2834 if [ ! -f "$ofile" ]; then 2838 diff -u $ofile /dev/null | sh -c "$cleanse_rmfile" \ 2841 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch 2844 diff -u $ofile /dev/null | sh -c "$cleanse_rmfile" \ 2858 if [[ -f $ofile && -f $nfile && -z $mv_but_nodiff ]]; then 2859 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff 2864 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff 2871 -t "$WNAME Wdiff $DIR/$F" $ofile $nfile > \ [all …]
|
/titanic_50/usr/src/cmd/sgs/rtld/common/ |
H A D | debug.c | 58 const char *ofile; in dbg_setup() local 80 if (Dbg_setup(DBG_CALLER_RTLD, options, dbp, &ofile) == 0) in dbg_setup() 105 if (ofile && (*ofile != '\0')) in dbg_setup() 106 dbg_file = ofile; in dbg_setup()
|
/titanic_50/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 2806 save_lifetime(struct sadb_lifetime *lifetime, FILE *ofile) in save_lifetime() argument 2822 if (putc('\t', ofile) == EOF) in save_lifetime() 2825 if (lifetime->sadb_lifetime_allocations != 0 && fprintf(ofile, in save_lifetime() 2829 if (lifetime->sadb_lifetime_bytes != 0 && fprintf(ofile, in save_lifetime() 2833 if (lifetime->sadb_lifetime_addtime != 0 && fprintf(ofile, in save_lifetime() 2838 if (lifetime->sadb_lifetime_usetime != 0 && fprintf(ofile, in save_lifetime() 2850 save_address(struct sadb_address *addr, FILE *ofile) in save_address() argument 2891 if (fprintf(ofile, " %s ", prefix) < 0) in save_address() 2903 if (fprintf(ofile, "%s", printable_addr) < 0) in save_address() 2908 if (fprintf(ofile, "/%d", addr->sadb_address_prefixlen) < 0) in save_address() [all …]
|
/titanic_50/usr/src/cmd/msgfmt/ |
H A D | option.c | 96 flag->ofile = ++arg; in parse_option() 101 flag->ofile = *++argv; in parse_option() 179 flag->ofile = arg; in parse_option()
|
/titanic_50/usr/src/cmd/modload/ |
H A D | plcysubr.c | 253 char ofile[MAXPATHLEN]; in delete_one_entry() local 290 (void) snprintf(ofile, sizeof (ofile), "%s%s", filename, ".old"); in delete_one_entry() 414 if (rename(filename, ofile) != 0) { in delete_one_entry() 416 (void) fprintf(stderr, gettext(ERR_UPDATE), ofile); in delete_one_entry() 417 (void) unlink(ofile); in delete_one_entry() 422 (void) fprintf(stderr, gettext(ERR_UPDATE), ofile); in delete_one_entry() 423 (void) rename(ofile, filename); in delete_one_entry() 427 (void) unlink(ofile); in delete_one_entry()
|