Home
last modified time | relevance | path

Searched refs:open_disk (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Ddisk.c45 struct open_disk { struct
85 struct open_disk *od; in ptblread()
88 od = (struct open_disk *)dev->dd.d_opendata; in ptblread()
109 struct open_disk *od; in ptable_print()
165 struct open_disk *od; in disk_print()
179 struct open_disk *od; in disk_read()
192 struct open_disk *od; in disk_write()
205 struct open_disk *od = dev->dd.d_opendata; in disk_ioctl()
231 struct open_disk *od; in disk_open()
241 od = (struct open_disk *)malloc(sizeof (struct open_disk)); in disk_open()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dstartup.h100 int open_disk(char *diskname, int flags);
H A Dmenu_fdisk.c343 if ((cur_file = open_disk(dkpath, O_RDWR | O_NDELAY)) < 0) { in open_cur_file()
850 if ((fd = open_disk(pbuf, O_RDONLY)) < 0) {
H A Dmain.c400 if ((cur_file = open_disk(cur_disk->disk_path, in init_globals()
H A Dstartup.c1308 open_disk(char *diskname, int flags) in open_disk() function
1626 if ((search_file = open_disk(devpath, O_RDWR | O_NDELAY)) < 0) { in add_device_to_disklist()
2347 if ((fd = open_disk(s, O_RDWR | O_NDELAY)) < 0) { in diskname_match()
H A Dio.c2435 if ((cur_file = open_disk(cur_disk->disk_path, in execute_shell()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c65 static int open_disk(disk_t *diskp, char *opath, int len);
567 if ((fd = open_disk(disk, opath, opath_len)) < 0) { in get_parts()
789 open_disk(disk_t *diskp, char *opath, int len) in open_disk() function