OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:diskfd
(Results
1 - 6
of
6
) sorted by relevancy
/src/sbin/dump/
rcache.c
206
if (lseek(
diskfd
, ((off_t) blkno << dev_bshift), SEEK_SET) == -1) {
210
if ((cnt = read(
diskfd
, buf, size)) == size)
250
if (lseek(
diskfd
, ((off_t)blkno << dev_bshift),
256
if ((cnt = read(
diskfd
, buf, (int)dev_bsize)) == dev_bsize)
288
if (flock(
diskfd
, LOCK_EX)) {
407
if (lseek(
diskfd
, ((off_t) blockBlkNo << dev_bshift),
413
rsize = read(
diskfd
,
458
if (flock(
diskfd
, LOCK_UN))
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) {
dump.h
121
extern int
diskfd
; /* disk file descriptor */
tape.c
824
(void) close(
diskfd
);
825
if ((
diskfd
= open(disk_dev, 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
...]
/src/usr.sbin/sysinst/
gpt.c
1343
*
diskfd
is an open file descriptor for a disk we had trouble with
1350
gpt_sanitize(int
diskfd
, const struct gpt_disk_partitions *parts,
1364
if (ioctl(
diskfd
, DIOCLWEDGES, &dkwl) == -1)
1397
(void)ioctl(
diskfd
, DIOCDWEDGE, &delw);
Completed in 58 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026