Searched refs:size_add (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | overflow.h | 206 static inline size_t __must_check size_add(size_t addend1, size_t addend2) in size_add() function 294 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
|
/linux-6.3-rc2/lib/ |
A D | overflow_kunit.c | 682 check_one_size_helper(9, size_add, var++, 5); in overflow_size_helpers_test() 683 check_one_size_helper(9, size_add, 4, var++); in overflow_size_helpers_test() 684 check_one_size_helper(9, size_add, 9, 0); in overflow_size_helpers_test() 685 check_one_size_helper(9, size_add, 0, 9); in overflow_size_helpers_test() 686 check_one_size_helper(5, size_add, 2, 3); in overflow_size_helpers_test() 687 check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, 1); in overflow_size_helpers_test() 688 check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, 3); in overflow_size_helpers_test() 689 check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, -3); in overflow_size_helpers_test()
|
/linux-6.3-rc2/arch/arm64/kvm/ |
A D | pkvm.c | 133 hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE, in __pkvm_create_hyp_vm()
|
/linux-6.3-rc2/drivers/cxl/ |
A D | pmem.c | 161 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
|
/linux-6.3-rc2/drivers/i2c/ |
A D | i2c-mux.c | 249 muxc = devm_kzalloc(dev, size_add(mux_size, sizeof_priv), GFP_KERNEL); in i2c_mux_alloc()
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | pkvm.c | 384 return size_add(sizeof(struct pkvm_hyp_vm), in pkvm_get_hyp_vm_size()
|
/linux-6.3-rc2/Documentation/translations/it_IT/process/ |
A D | deprecated.rst | 106 Per altri calcoli, usate le funzioni size_mul(), size_add(), e size_sub(). Per 113 foo = krealloc(size_add(current_size,
|
/linux-6.3-rc2/Documentation/process/ |
A D | deprecated.rst | 98 size_add(), and size_sub() helpers. For example, in the case of:: 104 foo = krealloc(size_add(current_size,
|
/linux-6.3-rc2/fs/ntfs3/ |
A D | xattr.c | 118 ea_p = kmalloc(size_add(size, add_bytes), GFP_NOFS); in ntfs_read_ea()
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | remoteproc_core.c | 487 if (size_add(rsc_size, rsc->config_len) > avail) { in rproc_handle_vdev()
|
/linux-6.3-rc2/drivers/usb/gadget/function/ |
A D | f_fs.c | 2657 size_add(lang_count, 1)); in __ffs_data_got_strings()
|
Completed in 40 milliseconds