/freebsd/sys/geom/ |
H A D | geom_disk.h | 80 struct disk { struct 86 disk_init_level d_init_level; argument 96 disk_open_t *d_open; argument 97 disk_close_t *d_close; argument 98 disk_strategy_t *d_strategy; argument 99 disk_ioctl_t *d_ioctl; argument 101 disk_getattr_t *d_getattr; argument 102 disk_gone_t *d_gone; argument 125 /* Fields private to geom_disk, to be moved on next version bump */ argument 140 struct disk *disk_alloc(void); argument
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 166 g_mirror_get_diskname(struct g_mirror_disk *disk) in g_mirror_get_diskname() 191 struct g_mirror_disk *disk; in g_mirror_event_dispatch() local 258 g_mirror_event_cancel(struct g_mirror_disk *disk) in g_mirror_event_cancel() 290 struct g_mirror_disk *disk; in g_mirror_ndisks() local 306 struct g_mirror_disk *disk; in g_mirror_id2disk() local 404 g_mirror_connect_disk(struct g_mirror_disk *disk, struct g_provider *pp) in g_mirror_connect_disk() 462 struct g_mirror_disk *disk; in g_mirror_init_disk() local 509 g_mirror_destroy_disk(struct g_mirror_disk *disk) in g_mirror_destroy_disk() 567 struct g_mirror_disk *disk; in g_mirror_destroy_device() local 615 struct g_mirror_disk *disk; in g_mirror_orphan() local [all …]
|
H A D | g_mirror_ctl.c | 128 struct g_mirror_disk *disk; in g_mirror_find_disk() local 148 struct g_mirror_disk *disk; in g_mirror_ctl_configure() local 528 struct g_mirror_disk *disk; in g_mirror_ctl_rebuild() local 610 struct g_mirror_disk *disk; in g_mirror_ctl_insert() local 794 struct g_mirror_disk *disk; in g_mirror_ctl_remove() local 858 struct g_mirror_disk *disk; in g_mirror_ctl_resize() local 926 struct g_mirror_disk *disk; in g_mirror_ctl_deactivate() local 988 struct g_mirror_disk *disk; in g_mirror_ctl_forget() local
|
/freebsd/lib/libufs/ |
H A D | cgroup.c | 51 cgballoc(struct uufsd *disk) in cgballoc() 76 cgbfree(struct uufsd *disk, ufs2_daddr_t bno, long size) in cgbfree() 137 cgialloc(struct uufsd *disk) in cgialloc() 182 cgread(struct uufsd *disk) in cgread() 194 cgread1(struct uufsd *disk, int c) in cgread1() 256 cgwrite(struct uufsd *disk) in cgwrite() 263 cgwrite1(struct uufsd *disk, int cg) in cgwrite1()
|
H A D | type.c | 58 ufs_disk_close(struct uufsd *disk) in ufs_disk_close() 76 ufs_disk_fillout(struct uufsd *disk, const char *name) in ufs_disk_fillout() 90 ufs_disk_fillout_blank(struct uufsd *disk, const char *name) in ufs_disk_fillout_blank() 187 ufs_disk_write(struct uufsd *disk) in ufs_disk_write()
|
H A D | block.c | 52 bread(struct uufsd *disk, ufs2_daddr_t blockno, void *data, size_t size) in bread() 90 bwrite(struct uufsd *disk, ufs2_daddr_t blockno, const void *data, size_t size) in bwrite() 127 berase_helper(struct uufsd *disk, ufs2_daddr_t blockno, ufs2_daddr_t size) in berase_helper() 139 berase_helper(struct uufsd *disk, ufs2_daddr_t blockno, ufs2_daddr_t size) in berase_helper() 172 berase(struct uufsd *disk, ufs2_daddr_t blockno, ufs2_daddr_t size) in berase()
|
H A D | sblock.c | 64 sbread(struct uufsd *disk) in sbread() 88 sbfind(struct uufsd *disk, int flags) in sbfind() 98 handle_disk_read(struct uufsd *disk, struct fs *fs, int error) in handle_disk_read() 144 sbwrite(struct uufsd *disk, int all) in sbwrite()
|
H A D | inode.c | 51 getinode(struct uufsd *disk, union dinodep *dp, ino_t inum) in getinode() 96 putinode(struct uufsd *disk) in putinode()
|
/freebsd/tools/tools/bootparttest/ |
H A D | bootparttest.c | 59 struct disk { struct 65 } disk; argument
|
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 104 struct g_concat_disk *disk; in g_concat_nvalid() local 118 g_concat_remove_disk(struct g_concat_disk *disk) in g_concat_remove_disk() 155 struct g_concat_disk *disk; in g_concat_orphan() local 174 struct g_concat_disk *disk; in g_concat_access() local 218 struct g_concat_disk *disk; in g_concat_candelete() local 235 struct g_concat_disk *disk; in g_concat_kernel_dump() local 295 struct g_concat_disk *disk; in g_concat_passdown() local 328 struct g_concat_disk *disk; in g_concat_start() local 441 struct g_concat_disk *disk; in g_concat_check_and_run() local 530 struct g_concat_disk *disk; in g_concat_add_disk() local [all …]
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 173 g_raid3_get_diskname(struct g_raid3_disk *disk) in g_raid3_get_diskname() argument 296 struct g_raid3_disk *disk; in g_raid3_event_dispatch() local 365 g_raid3_event_cancel(struct g_raid3_disk * disk) g_raid3_event_cancel() argument 397 struct g_raid3_disk *disk; g_raid3_ndisks() local 500 g_raid3_connect_disk(struct g_raid3_disk * disk,struct g_provider * pp) g_raid3_connect_disk() argument 555 struct g_raid3_disk *disk; g_raid3_init_disk() local 580 g_raid3_destroy_disk(struct g_raid3_disk * disk) g_raid3_destroy_disk() argument 644 struct g_raid3_disk *disk; g_raid3_destroy_device() local 692 struct g_raid3_disk *disk; g_raid3_orphan() local 705 g_raid3_write_metadata(struct g_raid3_disk * disk,struct g_raid3_metadata * md) g_raid3_write_metadata() argument 753 g_raid3_clear_metadata(struct g_raid3_disk * disk) g_raid3_clear_metadata() argument 773 g_raid3_fill_metadata(struct g_raid3_disk * disk,struct g_raid3_metadata * md) g_raid3_fill_metadata() argument 807 g_raid3_update_metadata(struct g_raid3_disk * disk) g_raid3_update_metadata() argument 832 struct g_raid3_disk *disk; g_raid3_bump_syncid() local 857 struct g_raid3_disk *disk; g_raid3_bump_genid() local 882 struct g_raid3_disk *disk; g_raid3_idle() local 918 struct g_raid3_disk *disk; g_raid3_unidle() local 1072 struct g_raid3_disk *disk; g_raid3_scatter() local 1142 struct g_raid3_disk *disk; g_raid3_gather() local 1306 struct g_raid3_disk *disk; g_raid3_regular_request() local 1414 struct g_raid3_disk *disk; g_raid3_flush() local 1498 struct g_raid3_disk *disk; g_raid3_sync_collision() local 1627 struct g_raid3_disk *disk; g_raid3_sync_request() local 1800 struct g_raid3_disk *disk; g_raid3_register_request() local 2190 g_raid3_update_idle(struct g_raid3_softc * sc,struct g_raid3_disk * disk) g_raid3_update_idle() argument 2211 struct g_raid3_disk *disk; g_raid3_sync_start() local 2308 struct g_raid3_disk *disk; g_raid3_sync_stop() local 2349 struct g_raid3_disk *disk; g_raid3_launch_provider() local 2433 g_raid3_determine_state(struct g_raid3_disk * disk) g_raid3_determine_state() argument 2503 struct g_raid3_disk *disk; g_raid3_update_device() local 2730 g_raid3_update_disk(struct g_raid3_disk * disk,u_int state) g_raid3_update_disk() argument 3051 struct g_raid3_disk *disk; g_raid3_add_disk() local 3449 struct g_raid3_disk *disk; g_raid3_dumpconf() local [all...] |
H A D | g_raid3_ctl.c | 73 struct g_raid3_disk *disk; in g_raid3_find_disk() local 97 struct g_raid3_disk *disk; in g_raid3_ctl_configure() local 264 struct g_raid3_disk *disk; in g_raid3_ctl_rebuild() local 397 struct g_raid3_disk *disk; in g_raid3_ctl_insert() local 529 struct g_raid3_disk *disk; in g_raid3_ctl_remove() local
|
/freebsd/sys/geom/raid/ |
H A D | g_raid.c | 489 g_raid_get_diskname(struct g_raid_disk *disk) in g_raid_get_diskname() 498 g_raid_get_disk_info(struct g_raid_disk *disk) in g_raid_get_disk_info() 526 g_raid_report_disk_state(struct g_raid_disk *disk) in g_raid_report_disk_state() 563 g_raid_change_disk_state(struct g_raid_disk *disk, int state) in g_raid_change_disk_state() 708 struct g_raid_disk *disk; in g_raid_ndisks() local 901 struct g_raid_disk *disk; in g_raid_orphan() local 1353 struct g_raid_disk *disk, *tdisk; in g_raid_subdisk_iostart() local 1442 struct g_raid_disk *disk; in g_raid_disk_done_request() local 1617 struct g_raid_disk *disk; in g_raid_launch_provider() local 1782 g_raid_update_disk(struct g_raid_disk *disk, u_int event) in g_raid_update_disk() [all …]
|
H A D | md_jmicron.c | 357 struct g_raid_disk *disk; in g_raid_md_jmicron_get_disk() local 420 g_raid_md_jmicron_start_disk(struct g_raid_disk *disk) in g_raid_md_jmicron_start_disk() 586 struct g_raid_disk *disk; in g_raid_md_jmicron_refill() local 650 struct g_raid_disk *disk; in g_raid_md_jmicron_start() local 737 g_raid_md_jmicron_new_disk(struct g_raid_disk *disk) in g_raid_md_jmicron_new_disk() 825 struct g_raid_disk *disk; in g_raid_md_taste_jmicron() local 964 struct g_raid_disk *disk, u_int event) in g_raid_md_event_jmicron() 1025 struct g_raid_disk *disk; in g_raid_md_ctl_jmicron() local 1391 struct g_raid_disk *disk; in g_raid_md_write_jmicron() local 1526 struct g_raid_disk *disk) in g_raid_md_free_disk_jmicron()
|
H A D | md_nvidia.c | 367 struct g_raid_disk *disk; in g_raid_md_nvidia_get_disk() local 427 g_raid_md_nvidia_start_disk(struct g_raid_disk *disk) in g_raid_md_nvidia_start_disk() 593 struct g_raid_disk *disk; in g_raid_md_nvidia_refill() local 657 struct g_raid_disk *disk; in g_raid_md_nvidia_start() local 746 g_raid_md_nvidia_new_disk(struct g_raid_disk *disk) in g_raid_md_nvidia_new_disk() 830 struct g_raid_disk *disk; in g_raid_md_taste_nvidia() local 959 struct g_raid_disk *disk, u_int event) in g_raid_md_event_nvidia() 1029 struct g_raid_disk *disk; in g_raid_md_ctl_nvidia() local 1395 struct g_raid_disk *disk; in g_raid_md_write_nvidia() local 1546 struct g_raid_disk *disk) in g_raid_md_free_disk_nvidia()
|
H A D | md_sii.c | 414 struct g_raid_disk *disk; in g_raid_md_sii_get_disk() local 475 g_raid_md_sii_start_disk(struct g_raid_disk *disk) in g_raid_md_sii_start_disk() 649 struct g_raid_disk *disk; in g_raid_md_sii_refill() local 713 struct g_raid_disk *disk, *best; in g_raid_md_sii_start() local 817 g_raid_md_sii_new_disk(struct g_raid_disk *disk) in g_raid_md_sii_new_disk() 912 struct g_raid_disk *disk; in g_raid_md_taste_sii() local 1052 struct g_raid_disk *disk, u_int event) in g_raid_md_event_sii() 1113 struct g_raid_disk *disk; in g_raid_md_ctl_sii() local 1479 struct g_raid_disk *disk; in g_raid_md_write_sii() local 1634 struct g_raid_disk *disk) in g_raid_md_free_disk_sii()
|
H A D | md_promise.c | 84 struct promise_raid_disk disk; /* This subdisk info. */ member 577 struct g_raid_disk *disk, *tdisk; in g_raid_md_promise_purge_disks() local 664 g_raid_md_promise_start_disk(struct g_raid_disk *disk, int sdn, in g_raid_md_promise_start_disk() 833 struct g_raid_disk *disk; in g_raid_md_promise_refill() local 897 struct g_raid_disk *disk; in g_raid_md_promise_start() local 982 g_raid_md_promise_new_disk(struct g_raid_disk *disk) in g_raid_md_promise_new_disk() 1101 struct g_raid_disk *disk; in g_raid_md_taste_promise() local 1213 struct g_raid_disk *disk, u_int event) in g_raid_md_event_promise() 1263 struct g_raid_disk *disk, *disks[PROMISE_MAX_DISKS]; in g_raid_md_ctl_promise() local 1699 struct g_raid_disk *disk; in g_raid_md_write_promise() local [all …]
|
H A D | md_intel.c | 188 struct intel_raid_disk disk[1]; /* total_disks entries. */ member 336 intel_get_disk_sectors(struct intel_raid_disk *disk) in intel_get_disk_sectors() 345 intel_set_disk_sectors(struct intel_raid_disk *disk, off_t sectors) in intel_set_disk_sectors() 841 struct g_raid_disk *disk; in g_raid_md_intel_get_disk() local 906 g_raid_md_intel_start_disk(struct g_raid_disk *disk) in g_raid_md_intel_start_disk() 1186 struct g_raid_disk *disk; in g_raid_md_intel_refill() local 1258 struct g_raid_disk *disk; in g_raid_md_intel_start() local 1364 g_raid_md_intel_new_disk(struct g_raid_disk *disk) in g_raid_md_intel_new_disk() 1476 struct g_raid_disk *disk; in g_raid_md_taste_intel() local 1630 struct g_raid_disk *disk, u_int event) in g_raid_md_event_intel() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 237 struct gendisk *disk; in zvol_write() local 346 struct gendisk *disk = zv->zv_zso->zvo_disk; in zvol_discard() local 432 struct gendisk *disk; in zvol_read() local 697 zvol_open(struct gendisk *disk, blk_mode_t flag) in zvol_open() 845 zvol_release(struct gendisk *disk) in zvol_release() 949 zvol_check_events(struct gendisk *disk, unsigned int clearing) in zvol_check_events() 969 zvol_revalidate_disk(struct gendisk *disk) in zvol_revalidate_disk() 989 struct gendisk *disk = zv->zv_zso->zvo_disk; in zvol_os_update_volsize() local 1304 struct gendisk *disk = blk_mq_alloc_disk(&zso->tag_set, &qlimits, zv); in zvol_alloc_blk_mq() local 1498 struct gendisk *disk; member [all …]
|
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_cam.c | 231 fetch_scsi_capacity(struct cam_device *dev, struct mpt_standalone_disk *disk) in fetch_scsi_capacity() 300 format_scsi_inquiry(struct mpt_standalone_disk *disk, in format_scsi_inquiry() 344 fetch_scsi_inquiry(struct cam_device *dev, struct mpt_standalone_disk *disk) in fetch_scsi_inquiry()
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 51 char *disk, *schemeroot; in part_wizard() local 223 wizard_partition(struct gmesh *mesh, const char *disk) in wizard_partition() 333 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype, in wizard_makeparts()
|
H A D | scripted.c | 65 part_config(char *disk, const char *scheme, char *config) in part_config() 160 char *disk = NULL, *scheme = NULL, *partconfig = NULL; in parse_disk_config() local
|
/freebsd/sbin/clri/ |
H A D | clri.c | 61 struct uufsd disk; in main() local
|
/freebsd/lib/geom/journal/ |
H A D | geom_journal_ufs.c | 46 static struct uufsd disk; in read_superblock() local
|
/freebsd/tests/sys/geom/class/eli/ |
H A D | unaligned_io.c | 50 const char *disk; in main() local
|