Home
last modified time | relevance | path

Searched refs:al_offset (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_main.c3017 u32 al_offset; /* offset to this block */ member
3048 buffer->al_offset = cpu_to_be32(device->ldev->md.al_offset); in drbd_md_write()
3166 if (in_core->al_offset < 0) { in check_offsets_and_sizes()
3167 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()
3169 on_disk_al_sect = -in_core->al_offset; in check_offsets_and_sizes()
3170 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()
3172 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3174 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3184 || in_core->al_offset ! in check_offsets_and_sizes()
[all...]
H A Ddrbd_nl.c813 * | al_offset == 8 |
814 * | bm_offset = al_offset + X |
820 * | al_offset < 0 |
821 * | bm_offset = al_offset - Y |
822 * ==> bitmap sectors = Y = al_offset - bm_offset
839 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
845 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
851 bdev->md.al_offset = -al_size_sect; in drbd_md_set_sector_offsets()
934 s32 al_offset; in __must_hold() member
966 prev.al_offset in __must_hold()
[all...]
H A Ddrbd_bitmap.c615 if (ldev->md.al_offset == 8) in drbd_md_on_disk_bits()
618 bitmap_sectors = ldev->md.al_offset - ldev->md.bm_offset; in drbd_md_on_disk_bits()
H A Ddrbd_actlog.c313 return device->ldev->md.md_offset + device->ldev->md.al_offset + t; in al_tr_number_to_on_disk_sector()
H A Ddrbd_int.h581 s32 al_offset; /* signed relative sector offset to activity log */ member
1159 * | al_offset == 8 |
1160 * | bm_offset = al_offset + X |
1169 * | al_offset < 0 |
1170 * | bm_offset = al_offset - Y |
1171 * ==> bitmap sectors = Y = al_offset - bm_offset
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_main.c2980 u32 al_offset; /* offset to this block */ member
3011 buffer->al_offset = cpu_to_be32(device->ldev->md.al_offset); in drbd_md_write()
3129 if (in_core->al_offset < 0) { in check_offsets_and_sizes()
3130 if (in_core->bm_offset > in_core->al_offset) in check_offsets_and_sizes()
3132 on_disk_al_sect = -in_core->al_offset; in check_offsets_and_sizes()
3133 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; in check_offsets_and_sizes()
3135 if (in_core->al_offset != MD_4kB_SECT) in check_offsets_and_sizes()
3137 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3147 || in_core->al_offset ! in check_offsets_and_sizes()
[all...]
H A Ddrbd_bitmap.c615 if (ldev->md.al_offset == 8) in drbd_md_on_disk_bits()
618 bitmap_sectors = ldev->md.al_offset - ldev->md.bm_offset; in drbd_md_on_disk_bits()
983 return bdev->md.md_offset + bdev->md.al_offset -1; in drbd_md_last_bitmap_sector()
H A Ddrbd_nl.c814 * | al_offset == 8 |
815 * | bm_offset = al_offset + X |
821 * | al_offset < 0 |
822 * | bm_offset = al_offset - Y |
823 * ==> bitmap sectors = Y = al_offset - bm_offset
840 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
846 bdev->md.al_offset = MD_4kB_SECT; in drbd_md_set_sector_offsets()
852 bdev->md.al_offset = -al_size_sect; in drbd_md_set_sector_offsets()
935 s32 al_offset; in __must_hold() member
967 prev.al_offset in __must_hold()
[all...]
H A Ddrbd_actlog.c313 return device->ldev->md.md_offset + device->ldev->md.al_offset + t; in al_tr_number_to_on_disk_sector()
H A Ddrbd_int.h513 s32 al_offset; /* signed relative sector offset to activity log */ member
1094 * | al_offset == 8 |
1095 * | bm_offset = al_offset + X |
1104 * | al_offset < 0 |
1105 * | bm_offset = al_offset - Y |
1106 * ==> bitmap sectors = Y = al_offset - bm_offset
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_fs.h589 * beginning of the returned buffer, and a each entry in al_offset contains the
598 __s32 al_offset[1]; /* byte offsets of attrs [var-sized] */ member
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_fs.h586 * beginning of the returned buffer, and a each entry in al_offset contains the
595 __s32 al_offset[]; /* byte offsets of attrs [var-sized] */ member
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_ioctl.c327 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent()
343 alist->al_offset[context->count++] = context->firstu; in xfs_ioc_attr_put_listent()
425 alist->al_offset[0] = context.bufsize; in xfs_ioc_attr_list()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_ioctl.c329 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent()
345 alist->al_offset[context->count++] = context->firstu; in xfs_ioc_attr_put_listent()
427 alist->al_offset[0] = context.bufsize; in xfs_ioc_attr_list()

Completed in 50 milliseconds