Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/netfilter/
Dnft_concat_range.sh1187 range_size=1
1189 end=$((start + range_size))
1200 for j in $(seq ${start} $((range_size / 2 + 1)) ${end}); do
1209 $((range_size / 2 + 1)) ${end}); do
1215 range_size=$((range_size + 1))
1216 start=$((end + range_size))
1236 range_size=1
1240 end=$((start + range_size))
1248 range_size=$((range_size + 1))
1249 start=$((end + range_size))
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/net/netfilter/
Dnf_nat_core.c405 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
417 range_size = 65536; in nf_nat_l4proto_unique_tuple()
420 range_size = ntohs(range->max_proto.icmp.id) - in nf_nat_l4proto_unique_tuple()
438 range_size = 65535; in nf_nat_l4proto_unique_tuple()
441 range_size = ntohs(range->max_proto.gre.key) - min + 1; in nf_nat_l4proto_unique_tuple()
470 range_size = 511 - min + 1; in nf_nat_l4proto_unique_tuple()
473 range_size = 1023 - min + 1; in nf_nat_l4proto_unique_tuple()
477 range_size = 65535 - 1024 + 1; in nf_nat_l4proto_unique_tuple()
484 range_size = max - min + 1; in nf_nat_l4proto_unique_tuple()
493 attempts = range_size; in nf_nat_l4proto_unique_tuple()
[all …]
/Linux-v5.10/drivers/staging/android/
Dashmem.c107 static inline unsigned long range_size(struct ashmem_range *range) in range_size() function
159 lru_count += range_size(range); in lru_add()
172 lru_count -= range_size(range); in lru_del()
231 size_t pre = range_size(range); in range_shrink()
237 lru_count -= pre - range_size(range); in range_shrink()
500 freed += range_size(range); in ashmem_shrink_scan()
/Linux-v5.10/arch/powerpc/boot/
Ddevtree.c210 u32 range_size[MAX_ADDR_CELLS]; in find_range() local
213 copy_val(range_size, ranges + i + nregaddr + naddr, nsize); in find_range()
215 if (compare_reg(reg, range_addr, range_size)) in find_range()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-prd.c57 uint64_t range_addr, range_size, range_end; in opal_prd_range_is_valid() local
61 addrp = of_get_address(node, 0, &range_size, NULL); in opal_prd_range_is_valid()
64 range_end = range_addr + range_size; in opal_prd_range_is_valid()
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_mm.c1632 const unsigned int range_size = size / 2; in igt_evict_range() local
1634 const unsigned int range_end = range_start + range_size; in igt_evict_range()
1667 for (n = 1; n <= range_size; n <<= 1) { in igt_evict_range()
1680 for (n = 1; n <= range_size; n <<= 1) { in igt_evict_range()
1684 range_size/2, n, in igt_evict_range()
1688 mode->name, range_size/2, n, range_start, range_end); in igt_evict_range()
1693 for_each_prime_number_from(n, 1, min(range_size, max_prime)) { in igt_evict_range()
1694 unsigned int nsize = (range_size - n + 1) / 2; in igt_evict_range()
2362 const unsigned int range_size = total_size / 2; in igt_color_evict_range() local
2364 const unsigned int range_end = range_start + range_size; in igt_color_evict_range()
[all …]
/Linux-v5.10/arch/powerpc/sysdev/
Dfsl_rio.c449 u64 range_start, range_size; in fsl_rio_setup() local
608 range_size = of_read_number(dt_range + aw + paw, sw); in fsl_rio_setup()
611 np, range_start, range_size); in fsl_rio_setup()
635 port->iores.end = port->iores.start + range_size - 1; in fsl_rio_setup()
/Linux-v5.10/include/asm-generic/
Dtlb.h307 unsigned int range_size) in __tlb_adjust_range() argument
310 tlb->end = max(tlb->end, address + range_size); in __tlb_adjust_range()
/Linux-v5.10/arch/powerpc/platforms/cell/
Diommu.c797 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
826 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address()
833 for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { in cell_iommu_get_fixed_address()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dcmd.c77 MLX5_SET(alloc_memic_in, in, range_size, num_pages * PAGE_SIZE); in mlx5_cmd_alloc_memic()
/Linux-v5.10/tools/perf/
Dbuiltin-diff.c43 int range_size; member
1115 &pdiff.range_size, in parse_absolute_time()
1134 &pdiff.range_size, in parse_percent_time()
Dbuiltin-report.c95 int range_size; member
1563 &report.range_size, in cmd_report()
Dbuiltin-script.c141 int range_size; member
3910 &script.range_size, in cmd_script()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dqp.c745 struct mlx4_ib_qp *qp, int range_size, int *wqn) in mlx4_ib_alloc_wqn() argument
763 err = mlx4_qp_reserve_range(dev->dev, range_size, in mlx4_ib_alloc_wqn()
764 range_size, &range->base_wqn, 0, in mlx4_ib_alloc_wqn()
771 range->size = range_size; in mlx4_ib_alloc_wqn()
773 } else if (range_size != 1) { in mlx4_ib_alloc_wqn()
832 int range_size; in create_rq() local
867 range_size = 1 << wq.log_range_size; in create_rq()
903 err = mlx4_ib_alloc_wqn(context, qp, range_size, &qpn); in create_rq()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c1979 int range_size = ops->fill_range(fwrt, reg_data, range, i); in iwl_dump_ini_mem() local
1981 if (range_size < 0) { in iwl_dump_ini_mem()
1987 range = range + range_size; in iwl_dump_ini_mem()
/Linux-v5.10/include/linux/mlx5/
Dmlx5_ifc.h10274 u8 range_size[0x20]; member