/linux-6.1.9/arch/x86/platform/efi/ |
D | quirks.c | 130 u64 storage_size, remaining_size, max_size; in query_variable_store_nonblocking() local 133 &remaining_size, in query_variable_store_nonblocking() 138 if (remaining_size - size < EFI_MIN_RESERVE) in query_variable_store_nonblocking() 155 u64 storage_size, remaining_size, max_size; in efi_query_variable_store() local 164 &remaining_size, &max_size); in efi_query_variable_store() 173 if ((remaining_size - size < EFI_MIN_RESERVE) && in efi_query_variable_store() 181 unsigned long dummy_size = remaining_size + 1024; in efi_query_variable_store() 209 &remaining_size, &max_size); in efi_query_variable_store() 217 if (remaining_size - size < EFI_MIN_RESERVE) in efi_query_variable_store()
|
/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 392 u64 size, remaining_size, lpfn, fpfn; in amdgpu_vram_mgr_new() local 442 remaining_size = (u64)vres->base.num_pages << PAGE_SHIFT; in amdgpu_vram_mgr_new() 445 while (remaining_size) { in amdgpu_vram_mgr_new() 454 size = min(remaining_size, 2ULL << 30); in amdgpu_vram_mgr_new() 487 if (size > remaining_size) in amdgpu_vram_mgr_new() 488 remaining_size = 0; in amdgpu_vram_mgr_new() 490 remaining_size -= size; in amdgpu_vram_mgr_new()
|
/linux-6.1.9/fs/ |
D | xattr.c | 1123 static int xattr_list_one(char **buffer, ssize_t *remaining_size, in xattr_list_one() argument 1128 if (*remaining_size < len) in xattr_list_one() 1133 *remaining_size -= len; in xattr_list_one() 1145 ssize_t remaining_size = size; in simple_xattr_list() local 1151 err = xattr_list_one(&buffer, &remaining_size, in simple_xattr_list() 1157 err = xattr_list_one(&buffer, &remaining_size, in simple_xattr_list() 1171 err = xattr_list_one(&buffer, &remaining_size, xattr->name); in simple_xattr_list() 1177 return err ? err : size - remaining_size; in simple_xattr_list()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 215 int remaining_size = driver_ver_sz; in mlx5_set_driver_version() local 223 strncpy(string, "Linux", remaining_size); in mlx5_set_driver_version() 225 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 226 strncat(string, ",", remaining_size); in mlx5_set_driver_version() 228 remaining_size = max_t(int, 0, driver_ver_sz - strlen(string)); in mlx5_set_driver_version() 229 strncat(string, KBUILD_MODNAME, 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() 236 snprintf(string + strlen(string), remaining_size, "%u.%u.%u", in mlx5_set_driver_version()
|
/linux-6.1.9/drivers/dma/ |
D | at_xdmac.c | 1094 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local 1128 while (remaining_size) { in at_xdmac_prep_dma_memcpy() 1131 dev_dbg(chan2dev(chan), "%s: remaining_size=%zu\n", __func__, remaining_size); in at_xdmac_prep_dma_memcpy() 1148 if (remaining_size >= AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth) in at_xdmac_prep_dma_memcpy() 1151 xfer_size = remaining_size; in at_xdmac_prep_dma_memcpy() 1162 remaining_size -= xfer_size; in at_xdmac_prep_dma_memcpy()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-firmware | 49 What: /sys/class/firmware/.../remaining_size
|
/linux-6.1.9/Documentation/driver-api/firmware/ |
D | fw_upload.rst | 125 * remaining_size - tracks the data transfer portion of an update
|
/linux-6.1.9/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.1.9/drivers/md/ |
D | dm-writecache.c | 1243 unsigned remaining_size = wc->block_size; in bio_copy_block() local 1249 if (unlikely(size > remaining_size)) in bio_copy_block() 1250 size = remaining_size; in bio_copy_block() 1268 remaining_size -= size; in bio_copy_block() 1270 } while (unlikely(remaining_size)); in bio_copy_block()
|
D | dm-crypt.c | 1667 unsigned i, len, remaining_size; in crypt_alloc_buffer() local 1679 remaining_size = size; in crypt_alloc_buffer() 1690 len = (remaining_size > PAGE_SIZE) ? PAGE_SIZE : remaining_size; in crypt_alloc_buffer() 1694 remaining_size -= len; in crypt_alloc_buffer()
|
/linux-6.1.9/mm/ |
D | memory_hotplug.c | 1279 unsigned long remaining_size = size - vmemmap_size; in mhp_supports_memmap_on_memory() local 1310 IS_ALIGNED(remaining_size, (pageblock_nr_pages << PAGE_SHIFT)); in mhp_supports_memmap_on_memory()
|
/linux-6.1.9/block/ |
D | sed-opal.c | 572 static size_t remaining_size(struct opal_dev *cmd) in remaining_size() function 582 if (remaining_size(cmd) < len) { in can_add() 1306 len = min(remaining_size(dev) - (2+1+CMD_FINALIZE_BYTES_NEEDED), in generic_table_write_data()
|