/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 94 vdev_default_asize(vdev_t *vd, uint64_t psize) in vdev_default_asize() 114 vdev_get_min_asize(vdev_t *vd) in vdev_get_min_asize() 143 vdev_set_min_asize(vdev_t *vd) in vdev_set_min_asize() 167 vdev_lookup_by_guid(vdev_t *vd, uint64_t guid) in vdev_lookup_by_guid() 183 vdev_count_leaves_impl(vdev_t *vd) in vdev_count_leaves_impl() 313 vdev_t *vd; in vdev_alloc_common() local 377 vdev_t *vd; in vdev_alloc() local 594 vdev_free(vdev_t *vd) in vdev_free() 684 vdev_t *vd; in vdev_top_transfer() local 743 vdev_top_update(vdev_t *tvd, vdev_t *vd) in vdev_top_update() [all …]
|
H A D | vdev_root.c | 50 too_many_errors(vdev_t *vd, int numerrors) in too_many_errors() 57 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_root_open() 92 vdev_root_close(vdev_t *vd) in vdev_root_close() 99 vdev_root_state_change(vdev_t *vd, int faulted, int degraded) in vdev_root_state_change()
|
H A D | vdev_file.c | 40 vdev_file_hold(vdev_t *vd) in vdev_file_hold() 46 vdev_file_rele(vdev_t *vd) in vdev_file_rele() 52 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_file_open() 125 vdev_file_close(vdev_t *vd) in vdev_file_close() 188 vdev_t *vd = zio->io_vd; in vdev_file_io_start() local
|
H A D | vdev_disk.c | 53 vdev_disk_alloc(vdev_t *vd) in vdev_disk_alloc() 66 vdev_disk_free(vdev_t *vd) in vdev_disk_free() 93 vdev_t *vd = (vdev_t *)arg; in vdev_disk_off_notify() local 129 vdev_t *vd = (vdev_t *)arg; in vdev_disk_off_finalize() local 164 vdev_t *vd = (vdev_t *)arg; in vdev_disk_dgrd_finalize() local 186 vdev_disk_hold(vdev_t *vd) in vdev_disk_hold() 228 vdev_disk_rele(vdev_t *vd) in vdev_disk_rele() 245 vdev_disk_get_space(vdev_t *vd, uint64_t capacity, uint_t blksz) in vdev_disk_get_space() 283 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_disk_open() 586 vdev_disk_close(vdev_t *vd) in vdev_disk_close() [all …]
|
H A D | vdev_label.c | 182 vdev_label_read(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, in vdev_label_read() 196 vdev_label_write(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, in vdev_label_write() 215 vdev_config_generate(spa_t *spa, vdev_t *vd, boolean_t getstats, in vdev_config_generate() 434 vdev_label_read_config(vdev_t *vd, uint64_t txg) in vdev_label_read_config() 507 vdev_inuse(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason, in vdev_inuse() 626 vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) in vdev_label_init() 889 vdev_t *vd = zio->io_vd; in vdev_uberblock_load_done() local 917 vdev_uberblock_load_impl(zio_t *zio, vdev_t *vd, int flags, in vdev_uberblock_load_impl() 993 vdev_uberblock_sync(zio_t *zio, uberblock_t *ub, vdev_t *vd, int flags) in vdev_uberblock_sync() 1091 vdev_label_sync(zio_t *zio, vdev_t *vd, int l, uint64_t txg, int flags) in vdev_label_sync() [all …]
|
H A D | vdev_missing.c | 47 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_missing_open() 64 vdev_missing_close(vdev_t *vd) in vdev_missing_close()
|
H A D | zfs_fm.c | 107 const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio, in zfs_ereport_start() 669 zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio, in zfs_ereport_post() 690 zfs_ereport_start_checksum(spa_t *spa, vdev_t *vd, in zfs_ereport_start_checksum() 780 zfs_ereport_post_checksum(spa_t *spa, vdev_t *vd, in zfs_ereport_post_checksum() 810 zfs_post_common(spa_t *spa, vdev_t *vd, const char *name) in zfs_post_common() 845 zfs_post_remove(spa_t *spa, vdev_t *vd) in zfs_post_remove() 856 zfs_post_autoreplace(spa_t *spa, vdev_t *vd) in zfs_post_autoreplace() 868 zfs_post_state_change(spa_t *spa, vdev_t *vd) in zfs_post_state_change()
|
H A D | vdev_cache.c | 218 vdev_t *vd = fio->io_vd; in vdev_cache_fill() local 367 vdev_cache_purge(vdev_t *vd) in vdev_cache_purge() 379 vdev_cache_init(vdev_t *vd) in vdev_cache_init() 395 vdev_cache_fini(vdev_t *vd) in vdev_cache_fini()
|
H A D | spa_misc.c | 853 spa_aux_add(vdev_t *vd, avl_tree_t *avl) in spa_aux_add() 871 spa_aux_remove(vdev_t *vd, avl_tree_t *avl) in spa_aux_remove() 916 spa_aux_activate(vdev_t *vd, avl_tree_t *avl) in spa_aux_activate() 958 spa_spare_add(vdev_t *vd) in spa_spare_add() 968 spa_spare_remove(vdev_t *vd) in spa_spare_remove() 990 spa_spare_activate(vdev_t *vd) in spa_spare_activate() 1011 spa_l2cache_add(vdev_t *vd) in spa_l2cache_add() 1021 spa_l2cache_remove(vdev_t *vd) in spa_l2cache_remove() 1043 spa_l2cache_activate(vdev_t *vd) in spa_l2cache_activate() 1090 spa_vdev_config_exit(spa_t *spa, vdev_t *vd, uint64_t txg, int error, char *tag) in spa_vdev_config_exit() [all …]
|
H A D | metaslab.c | 219 vdev_t *vd; in metaslab_class_validate() local 429 vdev_t *vd = mg->mg_vd; in metaslab_group_alloc_update() local 476 metaslab_group_create(metaslab_class_t *mc, vdev_t *vd) in metaslab_group_create() 588 vdev_t *vd = mg->mg_vd; in metaslab_group_histogram_verify() local 720 vdev_t *vd = mg->mg_vd; in metaslab_group_fragmentation() local 752 vdev_t *vd = mg->mg_vd; in metaslab_group_allocatable() local 915 vdev_t *vd = msp->ms_group->mg_vd; in metaslab_block_alloc() local 1216 vdev_t *vd = mg->mg_vd; in metaslab_init() local 1393 vdev_t *vd = msp->ms_group->mg_vd; in metaslab_fragmentation() local 1435 vdev_t *vd = mg->mg_vd; in metaslab_weight() local [all …]
|
H A D | vdev_mirror.c | 77 vdev_t *vd = zio->io_vd; in vdev_mirror_map_alloc() local 134 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_mirror_open() 170 vdev_mirror_close(vdev_t *vd) in vdev_mirror_close() 444 vdev_mirror_state_change(vdev_t *vd, int faulted, int degraded) in vdev_mirror_state_change()
|
H A D | spa.c | 1209 vdev_t *vd; in spa_config_parse() local 1334 vdev_t *vd, *tvd; in spa_load_spares() local 1452 vdev_t *vd, **oldvdevs, **newvdevs; in spa_load_l2cache() local 1605 spa_check_removed(vdev_t *vd) in spa_check_removed() 2017 vdev_t **vd; in spa_try_repair() local 3157 vdev_t *vd; in spa_add_l2cache() local 3324 vdev_t *vd; in spa_validate_aux_devs() local 3468 vdev_t *vd; in spa_l2cache_drop() local 3786 spa_alt_rootvdev(vdev_t *vd, vdev_t **avd, uint64_t *txg) in spa_alt_rootvdev() 4373 vdev_t *vd, *tvd; in spa_vdev_add() local [all …]
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vds.c | 221 #define VD_CLIENT(vd) \ argument 228 #define VD_DSKIMG_LABEL_READ(vd, labelp) \ argument 233 #define VD_DSKIMG_LABEL_WRITE(vd, labelp) \ argument 238 #define VD_DSKIMG(vd) ((vd)->vdisk_type == VD_DISK_TYPE_DISK && \ argument 242 #define VD_WRITE_INDEX_NEXT(vd, id) \ argument 424 struct vd *vd; /* vd instance task is for */ member 440 typedef struct vd { struct 441 uint64_t id; /* vdisk id */ argument 442 uint_t initialized; /* vdisk initialization flags */ argument 445 vds_t *vds; /* server for this vdisk */ argument [all …]
|
/titanic_50/usr/src/lib/libast/common/vmalloc/ |
H A D | vmbest.c | 93 static int vmisfree(Vmdata_t* vd, Block_t* b) in vmisfree() 117 static int vmisjunk(Vmdata_t* vd, Block_t* b) in vmisjunk() 177 int _vmbestcheck(Vmdata_t* vd, Block_t* freeb) in _vmbestcheck() 254 static Block_t* bestsearch(Vmdata_t* vd, reg size_t size, Block_t* wanted) in bestsearch() 275 else TINY(vd)[0] = r; local 370 static int bestreclaim(reg Vmdata_t* vd, Block_t* wanted, int c) in bestreclaim() 387 { LINK(fp) = CACHE(vd)[S_CACHE]; CACHE(vd)[S_CACHE] = fp; local 393 { list = CACHE(vd)[n]; CACHE(vd)[n] = NIL(Block_t*); local 504 TINY(vd)[s] = fp; local 567 reg Vmdata_t* vd = vm->data; local [all …]
|
H A D | vmclear.c | 45 reg Vmdata_t* vd = vm->data; local 63 TINY(vd)[s] = NIL(Block_t*); local 65 CACHE(vd)[s] = NIL(Block_t*); local 81 CACHE(vd)[C_INDEX(SIZE(tp))] = tp; local
|
H A D | vmlast.c | 46 reg Vmdata_t* vd = vm->data; local 116 reg Vmdata_t* vd = vm->data; local 175 reg Vmdata_t* vd = vm->data; local 318 reg Vmdata_t* vd = vm->data; local 335 reg Vmdata_t* vd = vm->data; local 356 reg Vmdata_t* vd = vm->data; local 405 reg Vmdata_t* vd = vm->data; local
|
H A D | vmopen.c | 40 Vmdata_t vd; /* space for the region itself */ member 57 reg Vmdata_t* vd; local 131 TINY(vd)[e] = NIL(Block_t*); local 133 CACHE(vd)[e] = NIL(Block_t*); local
|
H A D | vmpool.c | 49 reg Vmdata_t* vd = vm->data; local 138 reg Vmdata_t* vd = vm->data; local 187 reg Vmdata_t* vd = vm->data; local 237 reg Vmdata_t* vd = vm->data; local 301 reg Vmdata_t* vd = vm->data; local
|
H A D | vmprivate.c | 51 reg Vmdata_t* vd = vm->data; local 199 CACHE(vd)[C_INDEX(SIZE(t))] = t; local 222 reg Vmdata_t* vd = vm->data; local
|
H A D | vmdebug.c | 90 reg Vmdata_t* vd = vm->data; local 276 reg Vmdata_t* vd = vm->data; local 341 reg Vmdata_t* vd = vm->data; local 387 reg Vmdata_t* vd = vm->data; local 444 reg Vmdata_t* vd = vm->data; local 512 reg Vmdata_t* vd = vm->data; local 612 reg Vmdata_t* vd = vm->data; local 709 reg Vmdata_t* vd = vm->data; local
|
H A D | vmhdr.h | 215 #define VMETHOD(vd) ((vd)->mode&VM_METHODS) argument 218 #define SETINUSE(vd,iu) (((iu) = (vd)->mode&VM_INUSE), ((vd)->mode |= VM_INUSE) ) argument 219 #define CLRINUSE(vd,iu) ((iu) ? 0 : ((vd)->mode &= ~VM_INUSE) ) argument 220 #define SETLOCAL(vd) ((vd)->mode |= VM_LOCAL) argument 221 #define GETLOCAL(vd,l) (((l) = (vd)->mode&VM_LOCAL), ((vd)->mode &= ~VM_LOCAL) ) argument 222 #define ISLOCK(vd,l) ((l) ? 0 : ((vd)->mode & VM_LOCK) ) argument 223 #define SETLOCK(vd,l) ((l) ? 0 : ((vd)->mode |= VM_LOCK) ) argument 224 #define CLRLOCK(vd,l) ((l) ? 0 : ((vd)->mode &= ~VM_LOCK) ) argument 337 #define TINY(vd) ((vd)->tiny) argument 338 #define CACHE(vd) ((vd)->cache) argument [all …]
|
H A D | vmregion.c | 45 Vmdata_t *vd; local
|
H A D | vmsegment.c | 44 reg Vmdata_t* vd = vm->data; local
|
H A D | vmset.c | 45 reg Vmdata_t* vd = vm->data; local
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 542 #define VD_UPDATE_IO_STATS(vd, op, len) \ argument 565 #define VD_KSTAT_WAITQ_ENTER(vd) \ argument 571 #define VD_KSTAT_WAITQ_EXIT(vd) \ argument 577 #define VD_KSTAT_WAITQ_TO_RUNQ(vd) \ argument 583 #define VD_KSTAT_RUNQ_BACK_TO_WAITQ(vd) \ argument 589 #define VD_KSTAT_RUNQ_ENTER(vd) \ argument 595 #define VD_KSTAT_RUNQ_EXIT(vd) \ argument 605 #define VD_UPDATE_ERR_STATS(vd, stat_entry) \ argument
|