Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_concat_range.sh1244 range_size=1
1246 end=$((start + range_size))
1257 for j in $(seq "$start" $((range_size / 2 + 1)) ${end}); do
1266 $((range_size / 2 + 1)) ${end}); do
1272 range_size=$((range_size + 1))
1273 start=$((end + range_size))
1293 range_size=1
1297 end=$((start + range_size))
1305 range_size=$((range_size + 1))
1306 start=$((end + range_size))
[all …]
/linux-6.12.1/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.12.1/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.12.1/net/netfilter/
Dnf_nat_core.c586 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
597 range_size = 65536; in nf_nat_l4proto_unique_tuple()
600 range_size = ntohs(range->max_proto.icmp.id) - in nf_nat_l4proto_unique_tuple()
618 range_size = 65535; in nf_nat_l4proto_unique_tuple()
621 range_size = ntohs(range->max_proto.gre.key) - min + 1; in nf_nat_l4proto_unique_tuple()
650 range_size = 511 - min + 1; in nf_nat_l4proto_unique_tuple()
653 range_size = 1023 - min + 1; in nf_nat_l4proto_unique_tuple()
657 range_size = 65535 - 1024 + 1; in nf_nat_l4proto_unique_tuple()
664 range_size = max - min + 1; in nf_nat_l4proto_unique_tuple()
676 attempts = range_size; in nf_nat_l4proto_unique_tuple()
[all …]
/linux-6.12.1/include/linux/
Dring_buffer.h94 unsigned long range_size,
116 #define ring_buffer_alloc_range(size, flags, order, start, range_size) \ argument
120 (range_size), &__key); \
/linux-6.12.1/lib/
Dcodetag.c121 static inline size_t range_size(const struct codetag_type *cttype, in range_size() function
195 cttype->count += range_size(cttype, &range); in codetag_module_init()
252 cttype->count -= range_size(cttype, &cmod->range); in codetag_unload_module()
/linux-6.12.1/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()
73 range_end = range_addr + range_size; in opal_prd_range_is_valid()
/linux-6.12.1/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.12.1/include/asm-generic/
Dtlb.h364 unsigned int range_size) in __tlb_adjust_range() argument
367 tlb->end = max(tlb->end, address + range_size); in __tlb_adjust_range()
/linux-6.12.1/arch/powerpc/platforms/cell/
Diommu.c785 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local
814 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address()
821 for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { in cell_iommu_get_fixed_address()
/linux-6.12.1/drivers/accel/ivpu/
Divpu_fw.c130 static bool is_within_range(u64 addr, size_t size, u64 range_start, size_t range_size) in is_within_range() argument
132 if (addr < range_start || addr + size > range_start + range_size) in is_within_range()
/linux-6.12.1/drivers/accel/habanalabs/common/
Ddebugfs.c688 u64 end_address, range_size; in device_va_to_pa() local
708 range_size = userptr->size; in device_va_to_pa()
711 range_size = phys_pg_pack->total_size; in device_va_to_pa()
716 (end_address <= hnode->vaddr + range_size)) { in device_va_to_pa()
/linux-6.12.1/tools/perf/
Dbuiltin-diff.c43 int range_size; member
1103 &pdiff.range_size, in parse_absolute_time()
1122 &pdiff.range_size, in parse_percent_time()
Dbuiltin-report.c109 int range_size; member
1801 &report.range_size, in cmd_report()
Dbuiltin-script.c166 int range_size; member
4476 &script.range_size, in cmd_script()
/linux-6.12.1/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.12.1/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c2306 int range_size = ops->fill_range(fwrt, reg_data, range, in iwl_dump_ini_mem() local
2309 if (range_size < 0) { in iwl_dump_ini_mem()
2316 if (WARN(range_size > free_size, "range_size %d > free_size %d", in iwl_dump_ini_mem()
2317 range_size, free_size)) { in iwl_dump_ini_mem()
2323 free_size -= range_size; in iwl_dump_ini_mem()
2324 range = range + range_size; in iwl_dump_ini_mem()
/linux-6.12.1/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.12.1/kernel/trace/
Dring_buffer.c2399 unsigned long range_size, in __ring_buffer_alloc_range() argument
2402 return alloc_buffer(size, flags, order, start, start + range_size, key); in __ring_buffer_alloc_range()
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h12026 u8 range_size[0x20]; member