/linux/include/asm-generic/bitops/ |
A D | find.h | 26 if (small_const_nbits(size)) { in find_next_bit() 29 if (unlikely(offset >= size)) in find_next_bit() 30 return size; in find_next_bit() 56 if (small_const_nbits(size)) { in find_next_and_bit() 59 if (unlikely(offset >= size)) in find_next_and_bit() 60 return size; in find_next_and_bit() 84 if (small_const_nbits(size)) { in find_next_zero_bit() 87 if (unlikely(offset >= size)) in find_next_zero_bit() 88 return size; in find_next_zero_bit() 142 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) argument [all …]
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_static_config.c | 102 return size; in sja1105et_avb_params_entry_packing() 114 return size; in sja1105pqrs_avb_params_entry_packing() 143 return size; in sja1105et_general_params_entry_packing() 180 return size; in sja1105pqrs_general_params_entry_packing() 217 return size; in sja1110_general_params_entry_packing() 232 return size; in sja1105_l2_forwarding_params_entry_packing() 246 return size; in sja1110_l2_forwarding_params_entry_packing() 262 return size; in sja1105_l2_forwarding_entry_packing() 283 return size; in sja1110_l2_forwarding_entry_packing() 299 return size; in sja1105et_l2_lookup_params_entry_packing() [all …]
|
A D | sja1105_dynamic_config.c | 202 const int size = SJA1105_SIZE_DYN_CMD; in sja1105et_vl_lookup_cmd_packing() local 216 const int size = SJA1105_SIZE_DYN_CMD; in sja1105pqrs_vl_lookup_cmd_packing() local 229 const int size = SJA1105_SIZE_DYN_CMD; in sja1110_vl_lookup_cmd_packing() local 245 return size; in sja1105et_vl_lookup_entry_packing() 253 const int size = SJA1105_SIZE_DYN_CMD; in sja1110_vl_policing_cmd_packing() local 466 return size; in sja1105et_mgmt_route_entry_packing() 496 return size; in sja1105pqrs_mgmt_route_entry_packing() 791 u8 *cmd = buf + size; in sja1105et_cbs_entry_packing() 800 return size; in sja1105et_cbs_entry_packing() 839 return size; in sja1105pqrs_cbs_entry_packing() [all …]
|
/linux/scripts/coccinelle/api/ |
A D | kvmalloc.cocci | 24 expression E, E1, size; 49 when != size = E1 94 - if (size cmp E1) 100 - if (size cmp E1) 108 - E = vmalloc(size); 126 - if (size cmp E1) 132 - if (size cmp E1) 158 - if (size cmp E1) 164 - if (size cmp E1) 190 - if (size cmp E1) [all …]
|
/linux/include/linux/ |
A D | slab.h | 380 if (!size) in __kmalloc_index() 383 if (size <= KMALLOC_MIN_SIZE) in __kmalloc_index() 386 if (KMALLOC_MIN_SIZE <= 32 && size > 64 && size <= 96) in __kmalloc_index() 388 if (KMALLOC_MIN_SIZE <= 64 && size > 128 && size <= 192) in __kmalloc_index() 390 if (size <= 8) return 3; in __kmalloc_index() 457 return __kmalloc(size, flags); in __kmalloc_node() 493 int node, size_t size) in kmem_cache_alloc_node_trace() argument 585 index = kmalloc_index(size); in kmalloc() 592 flags, size); in kmalloc() 595 return __kmalloc(size, flags); in kmalloc() [all …]
|
A D | fortify-string.h | 55 if (__builtin_constant_p(size) && p_size < size) in strncpy() 121 len = (q_len >= size) ? size - 1 : q_len; in strlcpy() 153 if (__builtin_constant_p(size) && size > p_size) in strscpy() 166 len = len == size ? size : len + 1; in strscpy() 205 if (__builtin_constant_p(size) && p_size < size) in memset() 223 if (p_size < size || q_size < size) in memcpy() 239 if (p_size < size || q_size < size) in memmove() 249 if (__builtin_constant_p(size) && p_size < size) in memscan() 267 if (p_size < size || q_size < size) in memcmp() 276 if (__builtin_constant_p(size) && p_size < size) in memchr() [all …]
|
/linux/tools/include/asm-generic/bitops/ |
A D | find.h | 26 if (small_const_nbits(size)) { in find_next_bit() 29 if (unlikely(offset >= size)) in find_next_bit() 30 return size; in find_next_bit() 33 return val ? __ffs(val) : size; in find_next_bit() 56 if (small_const_nbits(size)) { in find_next_and_bit() 59 if (unlikely(offset >= size)) in find_next_and_bit() 60 return size; in find_next_and_bit() 84 if (small_const_nbits(size)) { in find_next_zero_bit() 87 if (unlikely(offset >= size)) in find_next_zero_bit() 88 return size; in find_next_zero_bit() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | aspeed-bmc-facebook-cmm.dts | 334 #size-cells = <0>; 341 #size-cells = <0>; 347 #size-cells = <0>; 396 #size-cells = <0>; 446 #size-cells = <0>; 551 #size-cells = <0>; 656 #size-cells = <0>; 761 #size-cells = <0>; 1189 #size-cells = <0>; 1287 #size-cells = <0>; [all …]
|
A D | aspeed-bmc-facebook-fuji.dts | 219 data-size = <16>; 239 #size-cells = <0>; 245 #size-cells = <0>; 259 #size-cells = <0>; 265 #size-cells = <0>; 271 #size-cells = <0>; 277 #size-cells = <0>; 283 #size-cells = <0>; 289 #size-cells = <0>; 295 #size-cells = <0>; [all …]
|
A D | aspeed-bmc-facebook-minipack.dts | 249 #size-cells = <1>; 299 #size-cells = <1>; 350 #size-cells = <0>; 356 #size-cells = <0>; 362 #size-cells = <0>; 368 #size-cells = <0>; 374 #size-cells = <0>; 380 #size-cells = <0>; 431 #size-cells = <0>; 735 #size-cells = <0>; [all …]
|
/linux/drivers/staging/media/atomisp/pci/css_2400_system/hive/ |
A D | ia_css_isp_configs.c | 42 if (size) { in ia_css_configure_iterator() 70 if (size) { in ia_css_configure_copy_output() 98 if (size) { in ia_css_configure_crop() 126 if (size) { in ia_css_configure_fpn() 154 if (size) { in ia_css_configure_dvs() 182 if (size) { in ia_css_configure_qplane() 210 if (size) { in ia_css_configure_output0() 238 if (size) { in ia_css_configure_output1() 266 if (size) { in ia_css_configure_output() 294 if (size) { in ia_css_configure_raw() [all …]
|
/linux/drivers/staging/media/atomisp/pci/css_2401_system/hive/ |
A D | ia_css_isp_configs.c | 42 if (size) { in ia_css_configure_iterator() 70 if (size) { in ia_css_configure_copy_output() 98 if (size) { in ia_css_configure_crop() 126 if (size) { in ia_css_configure_fpn() 154 if (size) { in ia_css_configure_dvs() 182 if (size) { in ia_css_configure_qplane() 210 if (size) { in ia_css_configure_output0() 238 if (size) { in ia_css_configure_output1() 266 if (size) { in ia_css_configure_output() 294 if (size) { in ia_css_configure_raw() [all …]
|
/linux/tools/perf/util/ |
A D | trace-event-read.c | 30 while (size) { in __do_read() 45 size -= ret; in __do_read() 59 size, r); in do_read() 74 while (size) { in skip() 75 r = size > BUFSIZ ? BUFSIZ : size; in skip() 77 size -= r; in skip() 103 int size = 0; in read_string() local 148 if (!size) in read_proc_kallsyms() 173 if (!size) in read_ftrace_printk() 239 skip(size); in read_header_files() [all …]
|
/linux/lib/ |
A D | test_user_copy.c | 61 size = 1024; in test_check_nonzero_user() 128 ksize = size; in test_copy_struct_from_user() 129 usize = size; in test_copy_struct_from_user() 140 ksize = size; in test_copy_struct_from_user() 154 usize = size; in test_copy_struct_from_user() 162 usize = size; in test_copy_struct_from_user() 225 ret |= test(put_user(val_##size, (size __user *)usermem), \ in test_user_copy_init() 228 ret |= test(get_user(val_##size, (size __user *)usermem), \ in test_user_copy_init() 290 ret |= test(!get_user(val_##size, (size __user *)kmem), \ in test_user_copy_init() 292 ret |= test(val_##size != (size)0, \ in test_user_copy_init() [all …]
|
A D | test_meminit.c | 46 WARN_ON(skip > size); in fill_with_garbage_skip() 47 size -= skip; in fill_with_garbage_skip() 52 size -= sizeof(*p); in fill_with_garbage_skip() 54 if (size) in fill_with_garbage_skip() 119 buf = vmalloc(size); in do_vmalloc_size() 135 int i, size; in test_kvmalloc() local 138 size = 1 << i; in test_kvmalloc() 326 c = kmem_cache_create("test_cache", size, size, 0, NULL); in do_kmem_cache_size_bulk() 355 size = 8 << i; in test_kmemcache() 376 int i, size; in test_rcu_persistent() local [all …]
|
/linux/drivers/mtd/tests/ |
A D | mtd_nandecctest.c | 48 size_t size) in single_bit_error_data() argument 57 size_t size) in double_bit_error_data() argument 76 if (size == 256) { in random_ecc_bit() 89 size_t size) in single_bit_error_ecc() argument 98 size_t size) in double_bit_error_ecc() argument 102 offset[0] = random_ecc_bit(size); in double_bit_error_ecc() 104 offset[1] = random_ecc_bit(size); in double_bit_error_ecc() 238 error_data, size, false); in dump_data_ecc() 244 correct_data, size, false); in dump_data_ecc() 275 correct_data, size); in nand_ecc_test_run() [all …]
|
/linux/lib/mpi/ |
A D | mpih-mul.c | 73 prodp[size] = cy; in mul_n_basecase() 87 prodp[size] = cy; in mul_n_basecase() 98 if (size & 1) { in mul_n() 167 tspace + size); in mul_n() 171 cy = mpihelp_add_n(prodp + size, prodp + size, in mul_n() 178 size); in mul_n() 182 size); in mul_n() 203 mpihelp_add_1(prodp + size, prodp + size, size, 1); in mul_n() 247 if (size & 1) { in mpih_sqr_n() 293 cy = mpihelp_add_n(prodp + size, prodp + size, in mpih_sqr_n() [all …]
|
/linux/mm/kasan/ |
A D | generic.c | 56 unsigned long size) in memory_is_poisoned_2_4_8() argument 64 if (unlikely(((addr + size - 1) & KASAN_GRANULE_MASK) < size - 1)) in memory_is_poisoned_2_4_8() 82 size_t size) in bytes_is_nonzero() argument 84 while (size) { in bytes_is_nonzero() 88 size--; in bytes_is_nonzero() 124 size_t size) in memory_is_poisoned_n() argument 145 switch (size) { in memory_is_poisoned() 163 size_t size, bool write, in check_region_inline() argument 169 if (unlikely(size == 0)) in check_region_inline() 225 for (i = 0; i < size; i++) in __asan_register_globals() [all …]
|
/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_mm.c | 238 tmp.size = size; in igt_init() 304 node->size = size; in set_node() 340 B(-size, size), in check_reserve_boundaries() 341 B(-size, -size), in check_reserve_boundaries() 342 B(-size, 2*size), in check_reserve_boundaries() 344 B(size, -size), in check_reserve_boundaries() 345 B(count*size, size), in check_reserve_boundaries() 346 B(count*size, -size), in check_reserve_boundaries() 406 nodes[n].size = size; in __igt_reserve() 1761 for (size = 1; size <= 64; size <<= 1) { in igt_topdown() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | hmm-tests.c | 242 buffer->size = size; in TEST_F() 305 buffer->size = size; in TEST_F() 364 buffer->size = size; in TEST_F() 412 buffer->size = size; in TEST_F() 480 buffer->size = size; in TEST_F() 558 buffer->size = size; in TEST_F() 633 buffer->size = size; in TEST_F() 706 buffer->size = size; in TEST_F() 755 buffer->size = size; in TEST_F() 810 buffer->size = size; in TEST_F() [all …]
|
/linux/arch/x86/lib/ |
A D | usercopy_64.c | 45 : [size1] "r"(size & 7), "[size8]" (size / 8), "[dst]"(addr)); in __clear_user() 47 return size; in __clear_user() 100 if (size < 8) { in __copy_user_flushcache() 110 if (size > flushed && !IS_ALIGNED(size - flushed, 8)) in __copy_user_flushcache() 130 size -= len; in __memcpy_flushcache() 131 if (!size) in __memcpy_flushcache() 149 size -= 32; in __memcpy_flushcache() 153 while (size >= 8) { in __memcpy_flushcache() 160 size -= 8; in __memcpy_flushcache() 171 size -= 4; in __memcpy_flushcache() [all …]
|
/linux/tools/perf/trace/beauty/ |
A D | beauty.h | 34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret); 35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret); 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 85 int size; member 112 int size; member 152 size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg); 155 size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg); 158 size_t syscall_arg__scnprintf_ptr(char *bf, size_t size, struct syscall_arg *arg); 161 size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg); 167 size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg); [all …]
|
/linux/drivers/usb/common/ |
A D | debug.c | 14 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 21 snprintf(str, size, in usb_decode_get_status() 73 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument 106 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument 180 size_t size) in usb_decode_get_intf() argument 187 size_t size) in usb_decode_set_intf() argument 194 char *str, size_t size) in usb_decode_synch_frame() argument 242 wIndex, str, size); in usb_decode_ctrl() 245 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl() 250 wIndex, wLength, str, size); in usb_decode_ctrl() [all …]
|
/linux/arch/arm64/boot/dts/amazon/ |
A D | alpine-v3.dtsi | 17 #size-cells = <2>; 21 #size-cells = <0>; 28 d-cache-size = <0x8000>; 29 d-cache-line-size = <64>; 31 i-cache-size = <0xc000>; 32 i-cache-line-size = <64>; 42 d-cache-size = <0x8000>; 283 #size-cells = <2>; 314 #size-cells = <2>; 332 #size-cells = <2>; [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_iro_hsi.h | 89 (IRO[IRO_CORE_LL2_PSTORM_PER_QUEUE_STAT].size) 96 (IRO[IRO_CORE_LL2_TSTORM_PER_QUEUE_STAT].size) 103 (IRO[IRO_CORE_LL2_USTORM_PER_QUEUE_STAT].size) 164 (IRO[IRO_MSTORM_SCSI_BDQ_EXT_PROD_GTT].size) 175 (IRO[IRO_PSTORM_CTL_FRAME_ETHTYPE_GTT].size) 210 (IRO[IRO_PSTORM_PKT_DUPLICATION_CFG].size) 235 (IRO[IRO_PSTORM_ROCE_DCQCN_SENT_STATS].size) 248 (IRO[IRO_TSTORM_ETH_RSS_UPDATE_GTT].size) 290 (IRO[IRO_TSTORM_PKT_DUPLICATION_CFG].size) 324 (IRO[IRO_TSTORM_SCSI_BDQ_EXT_PROD_GTT].size) [all …]
|