Home
last modified time | relevance | path

Searched defs:drive (Results 1 – 25 of 28) sorted by relevance

12

/dflybsd-src/sys/dev/raid/vinum/
H A Dvinumio.c53 open_drive(struct drive *drive, struct proc *p, int verbose) in open_drive()
116 set_drive_parms(struct drive *drive) in set_drive_parms()
163 init_drive(struct drive *drive, int verbose) in init_drive()
203 close_drive(struct drive *drive) in close_drive()
218 close_locked_drive(struct drive *drive) in close_locked_drive()
239 struct drive *drive = &vinum_conf.drive[driveno]; in remove_drive() local
272 driveio(struct drive *drive, char *buf, size_t length, off_t offset, buf_cmd_t cmd) in driveio()
322 read_drive_label(struct drive *drive, int verbose) in read_drive_label()
371 struct drive *drive; in check_drive() local
572 struct drive *drive; /* point to current drive info */ in daemon_save_config() local
[all …]
H A Dvinumvar.h318 struct drive *drive; member
443 struct drive { struct
445 enum drivestate state; /* current state */ argument
453 int lasterror; /* last error on drive */ argument
454 int driveno; /* index of drive in vinum_conf */ argument
456 u_int64_t reads; /* number of reads on this drive */ argument
457 u_int64_t writes; /* number of writes on this drive */ argument
466 struct drive_freelist { /* sorted list of free space on drive */ argument
469 } *freelist;
493 int64_t driveoffset; /* offset on drive */ argument
H A Dvinumconfig.c307 struct drive *drive; /* and drive */ in give_sd_to_drive() local
453 struct drive *drive; in get_empty_drive() local
484 struct drive *drive; in find_drive() local
516 struct drive *drive; in find_drive_by_dev() local
572 free_drive(struct drive *drive) in free_drive()
621 struct drive *drive; in return_drive_space() local
958 struct drive *drive; /* and pointer to it */ in config_drive() local
1728 struct drive *drive = &DRIVE[driveno]; in remove_drive_entry() local
H A Dvinumlock.c50 lockdrive(struct drive *drive, char *file, int line) in lockdrive()
99 unlockdrive(struct drive *drive) in unlockdrive()
H A Dvinumioctl.c434 struct drive *drive = &DRIVE[msg->index]; in resetstats() local
726 struct drive *drive; in renameobject() local
817 struct drive *drive; in moveobject() local
H A Dvinuminterrupt.c71 struct drive *drive; in complete_rqe() local
316 struct drive *drive; /* drive to access */ in complete_raid5_write() local
H A Dvinumstate.c53 struct drive *drive = &DRIVE[driveno]; in set_drive_state() local
427 struct drive *drive; in update_sd_state() local
H A Dvinumrequest.c317 struct drive *drive; in launch_requests() local
896 struct drive *drive; in sdio() local
H A Drequest.h264 struct drive *drive; /* for daemonrq_closedrive */ member
/dflybsd-src/contrib/less/
H A Dlglob.h51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument
66 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument
82 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument
H A Dlesskey.c297 constant char *drive = getenv("HOMEDRIVE"); in main() local
H A Dmain.c263 char *drive = getenv("HOMEDRIVE"); in main() local
/dflybsd-src/usr.sbin/mptutil/
H A Dmpt_drive.c239 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive, in mpt_lookup_drive()
309 drive_set_state(char *drive, U8 Action, U8 State, const char *name) in drive_set_state()
/dflybsd-src/contrib/file/src/
H A Dapptype.c49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local
/dflybsd-src/sbin/vinum/
H A Dv.c95 struct drive drive; variable
423 get_drive_info(struct drive *drive, int index) in get_drive_info()
H A Dcommands.c1585 struct drive *drive; /* drive we're currently looking at */ in vinum_concat() local
1686 struct drive *drive; /* drive we're currently looking at */ in vinum_stripe() local
1834 struct drive *drive; /* drive we're currently looking at */ in vinum_raid4() local
1982 struct drive *drive; /* drive we're currently looking at */ in vinum_raid5() local
2136 struct drive *drive; /* drive we're currently looking at */ in vinum_mirror() local
H A Dlist.c1074 struct drive drive; in printconfig() local
/dflybsd-src/games/battlestar/
H A Dcommand6.c175 drive(void) in drive() function
/dflybsd-src/usr.sbin/mfiutil/
H A Dmfi_drive.c160 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) in mfi_lookup_drive()
379 drive_set_state(char *drive, uint16_t new_state) in drive_set_state()
/dflybsd-src/stand/boot/pc32/boot0/
H A Dboot0.S559 drive: .ascii "Drive " label
/dflybsd-src/sys/dev/raid/ida/
H A Didavar.h51 u_int8_t drive; /* logical drive */ member
174 int drive; /* per controller */ member
H A Dida.c318 int drive, u_int64_t pblkno, int flags) in ida_command()
/dflybsd-src/stand/boot/pc32/cdboot/
H A Dcdboot.S578 drive: .byte 0 label
/dflybsd-src/sys/dev/raid/mlx/
H A Dmlx.c914 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd, in mlx_submit_ioctl()
1558 mlx_check(struct mlx_softc *sc, int drive) in mlx_check()
/dflybsd-src/stand/boot/pc32/boot2/
H A Dboot2.c151 unsigned drive; member

12