Searched refs:diskp (Results 1 - 6 of 6) sorted by relevance
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | subr_disk.c | 182 disk_init(struct disk *diskp, const char *name, const struct dkdriver *driver) argument 188 mutex_init(&diskp->dk_rawlock, MUTEX_DEFAULT, IPL_NONE); 189 mutex_init(&diskp->dk_openlock, MUTEX_DEFAULT, IPL_NONE); 190 LIST_INIT(&diskp->dk_wedges); 191 diskp->dk_nwedges = 0; 192 diskp->dk_labelsector = LABELSECTOR; 193 disk_blocksize(diskp, DEV_BSIZE); 194 diskp->dk_name = name; 195 diskp->dk_driver = driver; 202 disk_attach(struct disk *diskp) argument 243 disk_detach(struct disk *diskp) argument 267 disk_destroy(struct disk *diskp) argument 278 disk_busy(struct disk *diskp) argument 288 disk_unbusy(struct disk *diskp, long bcount, int read) argument 298 disk_isbusy(struct disk *diskp) argument 309 disk_blocksize(struct disk *diskp, int blocksize) argument 487 disk_ioctl(struct disk *diskp, u_long cmd, void *data, int flag, struct lwp *l) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/dm/ |
H A D | device-mapper.c | 274 disk_detach(dmv->diskp); 275 disk_destroy(dmv->diskp); 475 if (dmv->diskp->dk_info == NULL) { 480 dmv->diskp->dk_info); 567 disk_busy(dmv->diskp); 625 disk_unbusy(dmv->diskp, buf_len, bp != NULL ? bp->b_flags & B_READ : 0);
|
H A D | dm_dev.c | 324 dmv->diskp = kmem_zalloc(sizeof(struct disk), KM_SLEEP); 340 if (dmv->diskp != NULL) 341 (void) kmem_free(dmv->diskp, sizeof(struct disk));
|
H A D | dm_ioctl.c | 257 disk_init(dmv->diskp, dmv->name, &dmdkdriver); 258 disk_attach(dmv->diskp); 260 dmv->diskp->dk_info = NULL; 540 dmgetproperties(dmv->diskp, &dmv->table_head);
|
H A D | dm.h | 145 struct disk *diskp; member in struct:dm_dev
|
/netbsd-6-1-5-RELEASE/sbin/fdisk/ |
H A D | fdisk.c | 304 initvar_disk(const char **diskp) argument 318 *diskp = root_device;
|
Completed in 67 milliseconds