Searched refs:bsize_elem (Results 1 – 6 of 6) sorted by relevance
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/ |
H A D | pmcraid.c | 3251 int bsize_elem; in pmcraid_copy_sglist() local 3256 bsize_elem = PAGE_SIZE * (1 << sglist->order); in pmcraid_copy_sglist() 3260 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), buffer += bsize_elem) { in pmcraid_copy_sglist() 3265 rc = copy_from_user(kaddr, buffer, bsize_elem); in pmcraid_copy_sglist() 3267 rc = copy_to_user(buffer, kaddr, bsize_elem); in pmcraid_copy_sglist() 3276 sg->length = bsize_elem; in pmcraid_copy_sglist() 3279 if (len % bsize_elem) { in pmcraid_copy_sglist() 3285 rc = copy_from_user(kaddr, buffer, len % bsize_elem); in pmcraid_copy_sglist() 3287 rc = copy_to_user(buffer, kaddr, len % bsize_elem); in pmcraid_copy_sglist() 3291 sg->length = len % bsize_elem; in pmcraid_copy_sglist()
|
H A D | ipr.c | 3913 int bsize_elem, i, result = 0; in ipr_copy_ucode_buffer() local 3918 bsize_elem = PAGE_SIZE * (1 << sglist->order); in ipr_copy_ucode_buffer() 3922 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), in ipr_copy_ucode_buffer() 3923 buffer += bsize_elem) { in ipr_copy_ucode_buffer() 3927 memcpy(kaddr, buffer, bsize_elem); in ipr_copy_ucode_buffer() 3930 sg->length = bsize_elem; in ipr_copy_ucode_buffer() 3938 if (len % bsize_elem) { in ipr_copy_ucode_buffer() 3942 memcpy(kaddr, buffer, len % bsize_elem); in ipr_copy_ucode_buffer() 3945 sg->length = len % bsize_elem; in ipr_copy_ucode_buffer()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/ |
H A D | pmcraid.c | 3251 int bsize_elem; in pmcraid_copy_sglist() local 3256 bsize_elem = PAGE_SIZE * (1 << sglist->order); in pmcraid_copy_sglist() 3260 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), buffer += bsize_elem) { in pmcraid_copy_sglist() 3265 rc = copy_from_user(kaddr, buffer, bsize_elem); in pmcraid_copy_sglist() 3267 rc = copy_to_user(buffer, kaddr, bsize_elem); in pmcraid_copy_sglist() 3276 sg->length = bsize_elem; in pmcraid_copy_sglist() 3279 if (len % bsize_elem) { in pmcraid_copy_sglist() 3285 rc = copy_from_user(kaddr, buffer, len % bsize_elem); in pmcraid_copy_sglist() 3287 rc = copy_to_user(buffer, kaddr, len % bsize_elem); in pmcraid_copy_sglist() 3291 sg->length = len % bsize_elem; in pmcraid_copy_sglist()
|
H A D | ipr.c | 3913 int bsize_elem, i, result = 0; in ipr_copy_ucode_buffer() local 3918 bsize_elem = PAGE_SIZE * (1 << sglist->order); in ipr_copy_ucode_buffer() 3922 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), in ipr_copy_ucode_buffer() 3923 buffer += bsize_elem) { in ipr_copy_ucode_buffer() 3927 memcpy(kaddr, buffer, bsize_elem); in ipr_copy_ucode_buffer() 3930 sg->length = bsize_elem; in ipr_copy_ucode_buffer() 3938 if (len % bsize_elem) { in ipr_copy_ucode_buffer() 3942 memcpy(kaddr, buffer, len % bsize_elem); in ipr_copy_ucode_buffer() 3945 sg->length = len % bsize_elem; in ipr_copy_ucode_buffer()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/ |
H A D | pmcraid.c | 3251 int bsize_elem; in pmcraid_copy_sglist() local 3256 bsize_elem = PAGE_SIZE * (1 << sglist->order); in pmcraid_copy_sglist() 3260 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), buffer += bsize_elem) { in pmcraid_copy_sglist() 3265 rc = copy_from_user(kaddr, buffer, bsize_elem); in pmcraid_copy_sglist() 3267 rc = copy_to_user(buffer, kaddr, bsize_elem); in pmcraid_copy_sglist() 3276 sg->length = bsize_elem; in pmcraid_copy_sglist() 3279 if (len % bsize_elem) { in pmcraid_copy_sglist() 3285 rc = copy_from_user(kaddr, buffer, len % bsize_elem); in pmcraid_copy_sglist() 3287 rc = copy_to_user(buffer, kaddr, len % bsize_elem); in pmcraid_copy_sglist() 3291 sg->length = len % bsize_elem; in pmcraid_copy_sglist()
|
H A D | ipr.c | 3913 int bsize_elem, i, result = 0; in ipr_copy_ucode_buffer() local 3918 bsize_elem = PAGE_SIZE * (1 << sglist->order); in ipr_copy_ucode_buffer() 3922 for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), in ipr_copy_ucode_buffer() 3923 buffer += bsize_elem) { in ipr_copy_ucode_buffer() 3927 memcpy(kaddr, buffer, bsize_elem); in ipr_copy_ucode_buffer() 3930 sg->length = bsize_elem; in ipr_copy_ucode_buffer() 3938 if (len % bsize_elem) { in ipr_copy_ucode_buffer() 3942 memcpy(kaddr, buffer, len % bsize_elem); in ipr_copy_ucode_buffer() 3945 sg->length = len % bsize_elem; in ipr_copy_ucode_buffer()
|