Searched refs:abd_size (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | abd.c | 183 abd->abd_size = size; in abd_alloc() 211 abd->abd_size -= cabd->abd_size; in abd_put_gang_abd() 259 abd->abd_size = size; in abd_alloc_linear() 310 abd->abd_size -= cabd->abd_size; in abd_free_gang_abd() 375 abd->abd_size = 0; in abd_alloc_gang_abd() 401 pabd->abd_size += cabd->abd_size; in abd_gang_add_gang() 492 pabd->abd_size += child_abd->abd_size; in abd_gang_add() 560 abd->abd_size = size; in abd_get_offset_impl() 570 size_t size = sabd->abd_size > off ? sabd->abd_size - off : 0; in abd_get_offset() 611 abd->abd_size = size; in abd_get_from_buf() [all …]
|
| H A D | vdev_draid.c | 975 uint64_t abd_size = abd_get_size(rc->rc_abd); in vdev_draid_map_alloc_scrub() local 983 rc->rc_size = abd_size; in vdev_draid_map_alloc_scrub() 1142 uint64_t abd_offset, uint64_t abd_size) in vdev_draid_map_alloc_row() argument 1147 uint64_t io_size = abd_size; in vdev_draid_map_alloc_row() 1306 uint64_t abd_size = zio->io_size; in vdev_draid_map_alloc() local 1312 abd_offset, abd_size); in vdev_draid_map_alloc() 1313 if (size < abd_size) { in vdev_draid_map_alloc() 1318 abd_size -= size; in vdev_draid_map_alloc() 1324 ASSERT3U(abd_size, !=, 0); in vdev_draid_map_alloc() 1327 io_offset, abd_offset, abd_size); in vdev_draid_map_alloc() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | abd_os.c | 120 ABD_SCATTER(abd).abd_offset + abd->abd_size)); in abd_scatter_chunkcnt() 134 int waste = n * zfs_abd_chunk_size - abd->abd_size; in abd_update_scatter_stats() 215 size_t abd_size = MAX(sizeof (abd_t), in abd_alloc_struct() local 217 abd_t *abd = kmem_alloc(abd_size, KM_PUSHPAGE); in abd_alloc_struct() 221 ABDSTAT_INCR(abdstat_struct_size, abd_size); in abd_alloc_struct() 253 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 346 size_t abd_size = offsetof(abd_t, in abd_alloc_scatter_offset_chunkcnt() local 348 abd_t *abd = kmem_alloc(abd_size, KM_PUSHPAGE); in abd_alloc_scatter_offset_chunkcnt() 352 ABDSTAT_INCR(abdstat_struct_size, abd_size); in abd_alloc_scatter_offset_chunkcnt() 363 ASSERT3U(off, <=, sabd->abd_size); in abd_get_offset_scatter() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 479 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 606 abd_zero_scatter->abd_size = SPA_MAXBLOCKSIZE; in abd_alloc_zero_scatter() 635 int waste = P2ROUNDUP(abd->abd_size, PAGESIZE) - abd->abd_size; in abd_update_scatter_stats() 638 ABDSTAT_INCR(abdstat_scatter_data_size, abd->abd_size); in abd_update_scatter_stats() 655 ABDSTAT_INCR(abdstat_linear_data_size, abd->abd_size); in abd_update_linear_stats() 780 ASSERT3U(off, <=, sabd->abd_size); in abd_get_offset_scatter() 834 return (aiter->iter_pos == aiter->iter_abd->abd_size); in abd_iter_at_end() 891 aiter->iter_abd->abd_size - aiter->iter_pos); in abd_iter_map() 1003 ASSERT3U(off, <, cabd->abd_size); in abd_gang_bio_map_off() 1004 int size = MIN(io_size, cabd->abd_size - off); in abd_gang_bio_map_off() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | abd_impl.h | 54 uint_t abd_size; /* excludes scattered abd_offset */ member
|