/linux-6.6.21/arch/x86/platform/efi/ |
D | quirks.c | 138 u64 storage_size, remaining_size, max_size; in query_variable_store_nonblocking() local 141 &remaining_size, in query_variable_store_nonblocking() 146 if (remaining_size - size < EFI_MIN_RESERVE) in query_variable_store_nonblocking() 163 u64 storage_size, remaining_size, max_size; in efi_query_variable_store() local 172 &remaining_size, &max_size); in efi_query_variable_store() 181 if ((remaining_size - size < EFI_MIN_RESERVE) && in efi_query_variable_store() 189 unsigned long dummy_size = remaining_size + 1024; in efi_query_variable_store() 217 &remaining_size, &max_size); in efi_query_variable_store() 225 if (remaining_size - size < EFI_MIN_RESERVE) in efi_query_variable_store()
|
/linux-6.6.21/drivers/misc/bcm-vk/ |
D | bcm_vk_sg.c | 45 u32 remaining_size; in bcm_vk_dma_alloc() local 100 remaining_size = vkdata->size; in bcm_vk_dma_alloc() 104 size = min_t(size_t, PAGE_SIZE - offset, remaining_size); in bcm_vk_dma_alloc() 105 remaining_size -= size; in bcm_vk_dma_alloc() 118 size = min_t(size_t, PAGE_SIZE, remaining_size); in bcm_vk_dma_alloc() 119 remaining_size -= size; in bcm_vk_dma_alloc()
|
/linux-6.6.21/drivers/base/firmware_loader/ |
D | sysfs_upload.c | 117 return sysfs_emit(buf, "%u\n", fwlp->remaining_size); in remaining_size_show() 119 DEVICE_ATTR_RO(remaining_size); 173 ret = fwlp->ops->prepare(fwl, fwlp->data, fwlp->remaining_size); in fw_upload_main() 180 while (fwlp->remaining_size) { in fw_upload_main() 182 fwlp->remaining_size, &written); in fw_upload_main() 192 fwlp->remaining_size -= written; in fw_upload_main() 253 fwlp->remaining_size = fw_priv->size; in fw_upload_start()
|
D | sysfs_upload.h | 35 u32 remaining_size; /* size remaining to transfer */ member
|
/linux-6.6.21/drivers/md/ |
D | dm-flakey.c | 416 unsigned size, remaining_size, nr_iovecs, order; in clone_bio() local 435 remaining_size = size; in clone_bio() 438 while (remaining_size) { in clone_bio() 442 unsigned remaining_order = __fls((remaining_size + PAGE_SIZE - 1) >> PAGE_SHIFT); in clone_bio() 455 size_to_add = min((unsigned)PAGE_SIZE << order, remaining_size); in clone_bio() 472 remaining_size -= size_to_add; in clone_bio()
|
D | dm-writecache.c | 1252 unsigned int remaining_size = wc->block_size; in bio_copy_block() local 1259 if (unlikely(size > remaining_size)) in bio_copy_block() 1260 size = remaining_size; in bio_copy_block() 1279 remaining_size -= size; in bio_copy_block() 1281 } while (unlikely(remaining_size)); in bio_copy_block()
|
D | dm-crypt.c | 1686 unsigned int remaining_size; in crypt_alloc_buffer() local 1698 remaining_size = size; in crypt_alloc_buffer() 1700 while (remaining_size) { in crypt_alloc_buffer() 1703 unsigned remaining_order = __fls((remaining_size + PAGE_SIZE - 1) >> PAGE_SHIFT); in crypt_alloc_buffer() 1731 size_to_add = min((unsigned)PAGE_SIZE << order, remaining_size); in crypt_alloc_buffer() 1733 remaining_size -= size_to_add; in crypt_alloc_buffer()
|
/linux-6.6.21/fs/ |
D | xattr.c | 973 int xattr_list_one(char **buffer, ssize_t *remaining_size, const char *name) in xattr_list_one() argument 979 if (*remaining_size < len) in xattr_list_one() 984 *remaining_size -= len; in xattr_list_one() 1003 ssize_t remaining_size = buffer_size; in generic_listxattr() local 1009 err = xattr_list_one(&buffer, &remaining_size, handler->name); in generic_listxattr() 1014 return err ? err : buffer_size - remaining_size; in generic_listxattr() 1314 ssize_t remaining_size = size; in simple_xattr_list() local 1317 err = posix_acl_listxattr(inode, &buffer, &remaining_size); in simple_xattr_list() 1329 err = xattr_list_one(&buffer, &remaining_size, xattr->name); in simple_xattr_list() 1335 return err ? err : size - remaining_size; in simple_xattr_list()
|
D | posix_acl.c | 961 ssize_t *remaining_size) in posix_acl_listxattr() argument 969 err = xattr_list_one(buffer, remaining_size, in posix_acl_listxattr() 976 err = xattr_list_one(buffer, remaining_size, in posix_acl_listxattr()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 431 u64 size, remaining_size, lpfn, fpfn; in amdgpu_vram_mgr_new() local 481 remaining_size = (u64)vres->base.size; in amdgpu_vram_mgr_new() 484 while (remaining_size) { in amdgpu_vram_mgr_new() 493 size = min(remaining_size, 2ULL << 30); in amdgpu_vram_mgr_new() 527 if (size > remaining_size) in amdgpu_vram_mgr_new() 528 remaining_size = 0; in amdgpu_vram_mgr_new() 530 remaining_size -= size; in amdgpu_vram_mgr_new()
|
/linux-6.6.21/include/linux/ |
D | posix_acl.h | 110 ssize_t *remaining_size); 159 ssize_t *remaining_size) in posix_acl_listxattr() argument
|
D | xattr.h | 130 int xattr_list_one(char **buffer, ssize_t *remaining_size, const char *name);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 221 int remaining_size = driver_ver_sz; in mlx5_set_driver_version() local 229 strncpy(string, "Linux", remaining_size); in mlx5_set_driver_version() 231 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 232 strncat(string, ",", remaining_size); in mlx5_set_driver_version() 234 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 235 strncat(string, KBUILD_MODNAME, remaining_size); in mlx5_set_driver_version() 237 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 238 strncat(string, ",", remaining_size); in mlx5_set_driver_version() 240 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 242 snprintf(string + strlen(string), remaining_size, "%u.%u.%u", in mlx5_set_driver_version()
|
/linux-6.6.21/drivers/dma/ |
D | at_xdmac.c | 1174 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local 1208 while (remaining_size) { in at_xdmac_prep_dma_memcpy() 1211 dev_dbg(chan2dev(chan), "%s: remaining_size=%zu\n", __func__, remaining_size); in at_xdmac_prep_dma_memcpy() 1228 if (remaining_size >= AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth) in at_xdmac_prep_dma_memcpy() 1231 xfer_size = remaining_size; in at_xdmac_prep_dma_memcpy() 1242 remaining_size -= xfer_size; in at_xdmac_prep_dma_memcpy()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-class-firmware | 49 What: /sys/class/firmware/.../remaining_size
|
/linux-6.6.21/Documentation/driver-api/firmware/ |
D | fw_upload.rst | 126 * remaining_size - tracks the data transfer portion of an update
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 600 uint32_t remaining_size = tex->base.size - p0; in reloc_tex() local 606 if (p1 > remaining_size - 4) { in reloc_tex()
|
/linux-6.6.21/block/ |
D | sed-opal.c | 692 static size_t remaining_size(struct opal_dev *cmd) in remaining_size() function 702 if (remaining_size(cmd) < len) { in can_add() 1432 len = min(remaining_size(dev) - (2+1+CMD_FINALIZE_BYTES_NEEDED), in generic_table_write_data()
|