Home
last modified time | relevance | path

Searched refs:range_size (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/testing/selftests/netfilter/
Dnft_concat_range.sh1263 range_size=1
1265 end=$((start + range_size))
1276 for j in $(seq ${start} $((range_size / 2 + 1)) ${end}); do
1285 $((range_size / 2 + 1)) ${end}); do
1291 range_size=$((range_size + 1))
1292 start=$((end + range_size))
1312 range_size=1
1316 end=$((start + range_size))
1324 range_size=$((range_size + 1))
1325 start=$((end + range_size))
[all …]
/linux-6.6.21/tools/perf/util/
Dtime-utils.h31 int *range_size, int *range_num,
36 int *range_size, int *range_num);
Dtime-utils.c464 int *range_size, int *range_num, in perf_time__parse_for_ranges_reltime() argument
507 *range_size = size; in perf_time__parse_for_ranges_reltime()
522 int *range_size, int *range_num) in perf_time__parse_for_ranges() argument
525 range_size, range_num, false); in perf_time__parse_for_ranges()
/linux-6.6.21/tools/perf/tests/
Dtime-utils-test.c78 int range_size, range_num; in test__perf_time__parse_for_ranges() local
88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges()
95 if (range_size < d->num || range_num != d->num) { in test__perf_time__parse_for_ranges()
97 range_size, range_num, d->num); in test__perf_time__parse_for_ranges()
/linux-6.6.21/net/netfilter/
Dnf_nat_core.c470 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
481 range_size = 65536; in nf_nat_l4proto_unique_tuple()
484 range_size = ntohs(range->max_proto.icmp.id) - in nf_nat_l4proto_unique_tuple()
502 range_size = 65535; in nf_nat_l4proto_unique_tuple()
505 range_size = ntohs(range->max_proto.gre.key) - min + 1; in nf_nat_l4proto_unique_tuple()
534 range_size = 511 - min + 1; in nf_nat_l4proto_unique_tuple()
537 range_size = 1023 - min + 1; in nf_nat_l4proto_unique_tuple()
541 range_size = 65535 - 1024 + 1; in nf_nat_l4proto_unique_tuple()
548 range_size = max - min + 1; in nf_nat_l4proto_unique_tuple()
557 attempts = range_size; in nf_nat_l4proto_unique_tuple()
[all …]
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-prd.c64 uint64_t range_addr, range_size, range_end; in opal_prd_range_is_valid() local
68 addrp = of_get_address(node, 0, &range_size, NULL); in opal_prd_range_is_valid()
71 range_end = range_addr + range_size; in opal_prd_range_is_valid()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_mm_test.c1485 const unsigned int range_size = size / 2; in drm_test_mm_evict_range() local
1487 const unsigned int range_end = range_start + range_size; in drm_test_mm_evict_range()
1514 for (n = 1; n <= range_size; n <<= 1) { in drm_test_mm_evict_range()
1525 for (n = 1; n <= range_size; n <<= 1) { in drm_test_mm_evict_range()
1528 order, size, range_size / 2, n, mode)) { in drm_test_mm_evict_range()
1531 mode->name, range_size / 2, n, range_start, range_end); in drm_test_mm_evict_range()
1536 for_each_prime_number_from(n, 1, min(range_size, max_prime)) { in drm_test_mm_evict_range()
1537 unsigned int nsize = (range_size - n + 1) / 2; in drm_test_mm_evict_range()
2130 const unsigned int range_size = total_size / 2; in drm_test_mm_color_evict_range() local
2132 const unsigned int range_end = range_start + range_size; in drm_test_mm_color_evict_range()
[all …]
/linux-6.6.21/arch/powerpc/boot/
Ddevtree.c219 u32 range_size[MAX_ADDR_CELLS]; in find_range() local
222 copy_val(range_size, ranges + i + nregaddr + naddr, nsize); in find_range()
224 if (compare_reg(reg, range_addr, range_size)) in find_range()
/linux-6.6.21/include/asm-generic/
Dtlb.h357 unsigned int range_size) in __tlb_adjust_range() argument
360 tlb->end = max(tlb->end, address + range_size); in __tlb_adjust_range()
/linux-6.6.21/arch/powerpc/platforms/cell/
Diommu.c802 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
831 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address()
838 for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { in cell_iommu_get_fixed_address()
/linux-6.6.21/drivers/accel/habanalabs/common/
Ddebugfs.c695 u64 end_address, range_size; in device_va_to_pa() local
715 range_size = userptr->size; in device_va_to_pa()
718 range_size = phys_pg_pack->total_size; in device_va_to_pa()
723 (end_address <= hnode->vaddr + range_size)) { in device_va_to_pa()
/linux-6.6.21/tools/perf/
Dbuiltin-diff.c43 int range_size; member
1117 &pdiff.range_size, in parse_absolute_time()
1136 &pdiff.range_size, in parse_percent_time()
Dbuiltin-report.c107 int range_size; member
1689 &report.range_size, in cmd_report()
Dbuiltin-script.c160 int range_size; member
4347 &script.range_size, in cmd_script()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c784 struct mlx4_ib_qp *qp, int range_size, int *wqn) in mlx4_ib_alloc_wqn() argument
802 err = mlx4_qp_reserve_range(dev->dev, range_size, in mlx4_ib_alloc_wqn()
803 range_size, &range->base_wqn, 0, in mlx4_ib_alloc_wqn()
810 range->size = range_size; in mlx4_ib_alloc_wqn()
812 } else if (range_size != 1) { in mlx4_ib_alloc_wqn()
871 int range_size; in create_rq() local
906 range_size = 1 << wq.log_range_size; in create_rq()
942 err = mlx4_ib_alloc_wqn(context, qp, range_size, &qpn); in create_rq()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c2191 int range_size = ops->fill_range(fwrt, reg_data, range, in iwl_dump_ini_mem() local
2194 if (range_size < 0) { in iwl_dump_ini_mem()
2201 if (WARN(range_size > free_size, "range_size %d > free_size %d", in iwl_dump_ini_mem()
2202 range_size, free_size)) { in iwl_dump_ini_mem()
2208 free_size -= range_size; in iwl_dump_ini_mem()
2209 range = range + range_size; in iwl_dump_ini_mem()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Ddm.c39 MLX5_SET(alloc_memic_in, in, range_size, num_pages * PAGE_SIZE); in mlx5_cmd_alloc_memic()
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc.h11538 u8 range_size[0x20]; member