Home
last modified time | relevance | path

Searched refs:obf (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/syscall/
H A Dfcntl.c79 struct o_flock obf; in fcntl() local
297 if (copyin((void *)arg, &obf, sizeof (obf))) { in fcntl()
301 bf.l_type = obf.l_type; in fcntl()
302 bf.l_whence = obf.l_whence; in fcntl()
303 bf.l_start = (off64_t)obf.l_start; in fcntl()
304 bf.l_len = (off64_t)obf.l_len; in fcntl()
305 bf.l_sysid = (int)obf.l_sysid; in fcntl()
306 bf.l_pid = obf.l_pid; in fcntl()
373 obf.l_type = (int16_t)bf.l_type; in fcntl()
374 obf.l_whence = (int16_t)bf.l_whence; in fcntl()
[all …]
/titanic_44/usr/src/cmd/dd/
H A Ddd.c133 static int obf; /* output file descriptor */ variable
850 obf = -1; in main()
854 obf = open(ofile, (O_WRONLY|O_CREAT|oflag), in main()
858 obf = open(ofile, O_WRONLY|O_CREAT|oflag, in main()
860 if (obf == -1) in main()
866 (void) fstat(obf, &file_stat); in main()
868 (ftruncate(obf, (((off_t)oseekn) * ((off_t)obs))) in main()
876 obf = open(ofile, O_WRONLY|O_CREAT|O_TRUNC|oflag, in main()
882 obf = dup(1); in main()
885 if (obf == -1) in main()
[all …]