Searched refs:size_add (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/lib/ |
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.1.9/include/linux/ |
D | overflow.h | 159 static inline size_t __must_check size_add(size_t addend1, size_t addend2) in size_add() function 247 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
|
/linux-6.1.9/drivers/i2c/ |
D | i2c-mux.c | 249 muxc = devm_kzalloc(dev, size_add(mux_size, sizeof_priv), GFP_KERNEL); in i2c_mux_alloc()
|
/linux-6.1.9/Documentation/process/ |
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.1.9/drivers/cxl/ |
D | pmem.c | 154 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
|
/linux-6.1.9/Documentation/translations/it_IT/process/ |
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.1.9/fs/ntfs3/ |
D | xattr.c | 110 ea_p = kmalloc(size_add(size, add_bytes), GFP_NOFS); in ntfs_read_ea()
|
/linux-6.1.9/drivers/remoteproc/ |
D | remoteproc_core.c | 487 if (size_add(rsc_size, rsc->config_len) > avail) { in rproc_handle_vdev()
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_fs.c | 2655 size_add(lang_count, 1)); in __ffs_data_got_strings()
|