Home
last modified time | relevance | path

Searched refs:copies (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/md/
H A Draid10.c39 * in a style similar to raid0, but near_copies copies of each chunk is stored
47 * The copies are still in different stripes, but instead of being very far
94 int size = offsetof(struct r10bio, devs[conf->copies]); in r10bio_pool_alloc()
111 * we need as many pages are there are copies.
131 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
217 for (j = conf->copies; j--; ) { in r10buf_pool_free()
241 for (i = 0; i < conf->copies; i++) { in put_all_bios()
330 for (slot = 0; slot < conf->copies; slot++) { in find_bio_disk()
339 BUG_ON(slot == conf->copies); in find_bio_disk()
545 * Chunks are laid out in raid0 style with near_copies copies o
3652 int copies; setup_conf() local
[all...]
H A Draid10.h37 int near_copies; /* number of copies laid out
39 int far_copies; /* number of copies laid out
45 sector_t stride; /* distance between far copies.
52 * contain far/offset copies of
58 int copies; /* near_copies * far_copies. member
H A Ddm-raid.c522 #define RAID10_OFFSET (1 << 16) /* stripes with data copies area adjacent on devices */
525 #define RAID10_FAR_COPIES_SHIFT 8 /* raid10 # far copies shift (2nd byte of layout) */
527 /* Return md raid10 near copies for @layout */
533 /* Return md raid10 far copies for @layout */
562 * (i.e. adjacent stripes hold copies) in raid10_md_layout_to_format()
591 /* Return md raid10 copies for @layout */
600 unsigned int copies) in raid10_format_to_md_layout()
607 * enabling use_far_sets for far/offset formats causes copies in raid10_format_to_md_layout()
614 n = copies; in raid10_format_to_md_layout()
617 f = copies; in raid10_format_to_md_layout()
598 raid10_format_to_md_layout(struct raid_set *rs, unsigned int algorithm, unsigned int copies) raid10_format_to_md_layout() argument
1005 unsigned int rebuilds_per_group = 0, copies, raid_disks; validate_raid_redundancy() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Draid10.c39 * in a style similar to raid0, but near_copies copies of each chunk is stored
47 * The copies are still in different stripes, but instead of being very far
126 * we need as many pages are there are copies.
146 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
236 for (j = conf->copies; j--; ) { in r10buf_pool_free()
571 * Chunks are laid out in raid0 style with near_copies copies of the
572 * first chunk, followed by near_copies copies of the next chunk and
768 for (slot = 0; slot < conf->copies ; slot++) { in read_balance()
845 * sequential read speed for 'far copies' arrays. So only in read_balance()
864 if (slot >= conf->copies) { in read_balance()
4055 int copies; setup_conf() local
[all...]
H A Draid1-10.c134 blk_plug_cb_fn unplug, int copies) in raid1_add_bio_to_plug()
154 if (++plug->count / MAX_PLUG_BIO >= copies) { in raid1_add_bio_to_plug()
133 raid1_add_bio_to_plug(struct mddev *mddev, struct bio *bio, blk_plug_cb_fn unplug, int copies) raid1_add_bio_to_plug() argument
H A Draid10.h37 int near_copies; /* number of copies laid out
39 int far_copies; /* number of copies laid out
45 sector_t stride; /* distance between far copies.
52 * contain far/offset copies of
58 int copies; /* near_copies * far_copies. member
H A Ddm-raid.c523 #define RAID10_OFFSET (1 << 16) /* stripes with data copies area adjacent on devices */
526 #define RAID10_FAR_COPIES_SHIFT 8 /* raid10 # far copies shift (2nd byte of layout) */
528 /* Return md raid10 near copies for @layout */
534 /* Return md raid10 far copies for @layout */
563 * (i.e. adjacent stripes hold copies) in raid10_md_layout_to_format()
592 /* Return md raid10 copies for @layout */
601 unsigned int copies) in raid10_format_to_md_layout()
608 * enabling use_far_sets for far/offset formats causes copies in raid10_format_to_md_layout()
615 n = copies; in raid10_format_to_md_layout()
618 f = copies; in raid10_format_to_md_layout()
599 raid10_format_to_md_layout(struct raid_set *rs, unsigned int algorithm, unsigned int copies) raid10_format_to_md_layout() argument
1005 unsigned int rebuilds_per_group = 0, copies, raid_disks; validate_raid_redundancy() local
[all...]
/kernel/linux/linux-5.10/arch/xtensa/lib/
H A Dmemcopy.S36 * 8, 4, 2, and 1 byte copies conditional on the length;
90 _bltui a4, 7, .Lbytecopy # do short copies byte by byte
102 _bltui a4, 6, .Lbytecopy # do short copies byte by byte
194 _beqz a4, .Ldone # avoid loading anything for zero-length copies
357 _bltui a4, 7, .Lbackbytecopy # do short copies byte by byte
369 _bltui a4, 6, .Lbackbytecopy # do short copies byte by byte
470 _beqz a4, .Lbackdone # avoid loading anything for zero-length copies
/kernel/linux/linux-6.6/arch/xtensa/lib/
H A Dmemcopy.S36 * 8, 4, 2, and 1 byte copies conditional on the length;
90 _bltui a4, 7, .Lbytecopy # do short copies byte by byte
102 _bltui a4, 6, .Lbytecopy # do short copies byte by byte
194 _beqz a4, .Ldone # avoid loading anything for zero-length copies
344 _bltui a4, 7, .Lbackbytecopy # do short copies byte by byte
356 _bltui a4, 6, .Lbackbytecopy # do short copies byte by byte
457 _beqz a4, .Lbackdone # avoid loading anything for zero-length copies
H A Dusercopy.S32 * 8B, 4B, 2B, and 1B copies conditional on the length.
90 bltui a4, 7, .Lbytecopy # do short copies byte by byte
102 bltui a4, 6, .Lbytecopy # do short copies byte by byte
/kernel/linux/linux-5.10/arch/sh/lib/
H A Dmemmove.S17 ! if dest > src, call memcpy (it copies in decreasing order)
/kernel/linux/linux-6.6/arch/sh/lib/
H A Dmemmove.S17 ! if dest > src, call memcpy (it copies in decreasing order)
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c840 unsigned int copies = 0; in decode_plane() local
874 if (copies) { in decode_plane()
881 copies--; in decode_plane()
896 copies = (stat & DUPS_MASK) >> 1; in decode_plane()
897 if (copies) in decode_plane()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c841 unsigned int copies = 0; in decode_plane() local
875 if (copies) { in decode_plane()
882 copies--; in decode_plane()
897 copies = (stat & DUPS_MASK) >> 1; in decode_plane()
898 if (copies) in decode_plane()
/kernel/linux/linux-5.10/fs/nfs/
H A Dcallback_proc.c708 list_for_each_entry(tmp_copy, &server->ss_copies, copies) { in nfs4_callback_offload()
724 list_add_tail(&copy->copies, &cps->clp->pending_cb_stateids); in nfs4_callback_offload()
H A Dnfs42proc.c188 copies) { in handle_async_copy()
193 list_del(&tmp_copy->copies); in handle_async_copy()
208 list_add_tail(&copy->copies, &dst_server->ss_copies); in handle_async_copy()
219 list_del_init(&copy->copies); in handle_async_copy()
H A Dnfs4client.c172 struct nfs4_copy_state, copies); in nfs4_cleanup_callback()
173 list_del(&cp_state->copies); in nfs4_cleanup_callback()
/kernel/linux/linux-6.6/fs/nfs/
H A Dcallback_proc.c713 list_for_each_entry(tmp_copy, &server->ss_copies, copies) { in nfs4_callback_offload()
729 list_add_tail(&copy->copies, &cps->clp->pending_cb_stateids); in nfs4_callback_offload()
H A Dnfs42proc.c196 copies) { in handle_async_copy()
201 list_del(&iter->copies); in handle_async_copy()
216 list_add_tail(&copy->copies, &dst_server->ss_copies); in handle_async_copy()
227 list_del_init(&copy->copies); in handle_async_copy()
H A Dnfs4client.c173 struct nfs4_copy_state, copies); in nfs4_cleanup_callback()
174 list_del(&cp_state->copies); in nfs4_cleanup_callback()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4proc.c1303 copies); in nfsd4_get_copy()
1725 if (!list_empty(&copy->copies)) in cleanup_async_copy()
1726 list_del_init(&copy->copies); in cleanup_async_copy()
1825 INIT_LIST_HEAD(&async_copy->copies); in nfsd4_copy()
1840 list_add(&async_copy->copies, in nfsd4_copy()
1874 list_for_each_entry(copy, &clp->async_copies, copies) { in find_async_copy_locked()
H A Dxdr4.h570 struct list_head copies; member
/kernel/linux/linux-5.10/include/linux/
H A Dnfs_fs.h201 struct list_head copies; member
/kernel/linux/linux-6.6/include/linux/
H A Dnfs_fs.h256 struct list_head copies; member
/kernel/linux/linux-5.10/fs/nfsd/
H A Dxdr4.h574 struct list_head copies; member

Completed in 35 milliseconds

12