OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:diskfd
(Results
1 - 2
of
2
) sorted by relevancy
/src/sbin/dump/
main.c
89
int
diskfd
;
variable
501
if ((
diskfd
= open(disk, O_RDONLY)) < 0) {
508
diskfd
= snap_open(mntinfo->f_mntonname, snap_backup,
510
if (
diskfd
< 0) {
517
if ((
diskfd
= open(disk, O_RDONLY)) < 0) {
/src/usr.sbin/sunlabel/
sunlabel.c
167
static int
diskfd
; /* fd on the disk */
variable
233
if ((
diskfd
= open(s, O_RDWR)) == -1 ||
234
(
diskfd
= open(s, O_RDWR | O_NONBLOCK)) == -1) {
235
if ((
diskfd
= open(s, O_RDONLY)) == -1) {
582
if (lseek(
diskfd
, (off_t)0, SEEK_SET) == (off_t)-1)
585
if ((rv = read(
diskfd
, &labelbuf[0], 512)) == -1)
611
if (lseek(
diskfd
, (off_t)0, SEEK_SET) < (off_t)-1)
616
if ((rv = write(
diskfd
, &labelbuf[0], 512)) == -1) {
1188
if (ioctl(
diskfd
, DIOCGDINFO, &u.l) == -1) {
1216
if (ioctl(
diskfd
, DIOCSDINFO, &u.l) == -1)
[
all
...]
Completed in 19 milliseconds
Indexes created Sun Feb 22 08:20:21 UTC 2026