Searched refs:abd_size (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | abd.c | 149 abd->abd_size = 0; in abd_init_struct() 198 abd->abd_size = size; in abd_alloc() 221 abd->abd_size = size; in abd_alloc_linear() 315 abd->abd_size, abd); in abd_free() 385 pabd->abd_size += cabd->abd_size; in abd_gang_add_gang() 386 cabd->abd_size = 0; in abd_gang_add_gang() 476 pabd->abd_size += child_abd->abd_size; in abd_gang_add() 551 abd->abd_size = size; in abd_get_offset_impl() 582 size_t size = sabd->abd_size > off ? sabd->abd_size - off : 0; in abd_get_offset() 621 abd->abd_size = size; in abd_get_from_buf() [all …]
|
| H A D | vdev_draid.c | 737 uint64_t abd_size = abd_get_size(rc->rc_abd); in vdev_draid_map_alloc_scrub() local 745 rc->rc_size = abd_size; in vdev_draid_map_alloc_scrub() 957 uint64_t abd_offset, uint64_t abd_size) in vdev_draid_map_alloc_row() argument 962 uint64_t io_size = abd_size; in vdev_draid_map_alloc_row() 1122 uint64_t abd_size = zio->io_size; in vdev_draid_map_alloc() local 1128 abd_offset, abd_size); in vdev_draid_map_alloc() 1129 if (size < abd_size) { in vdev_draid_map_alloc() 1134 abd_size -= size; in vdev_draid_map_alloc() 1140 ASSERT3U(abd_size, !=, 0); in vdev_draid_map_alloc() 1143 io_offset, abd_offset, abd_size); in vdev_draid_map_alloc() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | abd_os.c | 128 ABD_SCATTER(abd).abd_offset + abd->abd_size)); in abd_scatter_chunkcnt() 142 int waste = (n << PAGE_SHIFT) - abd->abd_size; in abd_update_scatter_stats() 162 ABDSTAT_INCR(abdstat_linear_data_size, abd->abd_size); in abd_update_linear_stats() 221 size_t abd_size = MAX(sizeof (abd_t), in abd_alloc_struct_impl() local 223 abd_t *abd = kmem_alloc(abd_size, KM_PUSHPAGE); in abd_alloc_struct_impl() 225 ABDSTAT_INCR(abdstat_struct_size, abd_size); in abd_alloc_struct_impl() 254 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 375 ASSERT3U(off, <=, sabd->abd_size); in abd_get_offset_scatter() 431 return (aiter->iter_pos == aiter->iter_abd->abd_size); in abd_iter_at_end() 471 aiter->iter_mapsize = abd->abd_size - offset; in abd_iter_map() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 511 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 634 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 661 int waste = P2ROUNDUP(abd->abd_size, PAGESIZE) - abd->abd_size; in abd_update_scatter_stats() 867 ASSERT3U(off, <=, sabd->abd_size); in abd_get_offset_scatter() 981 aiter->iter_abd->abd_size - aiter->iter_pos); in abd_iter_map() 1130 aiter->iter_abd->abd_size - aiter->iter_pos); in abd_iter_page() 1161 ASSERT3U(off, <, cabd->abd_size); in abd_nr_pages_off() 1162 int mysize = MIN(size, cabd->abd_size - off); in abd_nr_pages_off() 1230 ASSERT3U(off, <, cabd->abd_size); in abd_gang_bio_map_off() 1231 int size = MIN(io_size, cabd->abd_size - off); in abd_gang_bio_map_off() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | abd.h | 53 uint_t abd_size; /* excludes scattered abd_offset */ member 210 return (abd->abd_size); in abd_get_size()
|