Home
last modified time | relevance | path

Searched full:pairs (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/linux-6.8/tools/testing/selftests/riscv/hwprobe/
Dwhich-cpus.c6 * line interface to get the cpu list for arbitrary hwprobe pairs.
26 " of pairs. 'key' and 'value' should be in numeric form, e.g. 4=0x3b\n"); in help()
61 struct riscv_hwprobe *pairs; in do_which_cpus() local
66 pairs = malloc(nr_pairs * sizeof(struct riscv_hwprobe)); in do_which_cpus()
67 assert(pairs); in do_which_cpus()
71 pairs[i].key = strtol(start, &end, 0); in do_which_cpus()
74 pairs[i].value = strtoul(start, &end, 0); in do_which_cpus()
78 …rc = riscv_hwprobe(pairs, nr_pairs, sizeof(cpu_set_t), (unsigned long *)cpus, RISCV_HWPROBE_WHICH_… in do_which_cpus()
81 free(pairs); in do_which_cpus()
86 struct riscv_hwprobe pairs[2]; in main() local
[all …]
Dhwprobe.c7 struct riscv_hwprobe pairs[8]; in main() local
18 * Just run a basic test: pass enough pairs to get up to the base in main()
22 pairs[i].key = i; in main()
24 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
30 if ((i < 4) && (pairs[i].key != i)) in main()
32 "key=%lld, i=%ld\n", pairs[i].key, i); in main()
34 if (pairs[i].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main()
37 if (pairs[i].value & RISCV_HWPROBE_BASE_BEHAVIOR_IMA) in main()
40 ksft_exit_fail_msg("Unexpected pair: (%lld, %llu)\n", pairs[i].key, pairs[i].value); in main()
43 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
[all …]
/linux-6.8/arch/riscv/kernel/vdso/
Dhwprobe.c11 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 static int riscv_vdso_get_values(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_values() argument
22 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_values()
23 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_values()
32 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_values()
34 /* This is something we can handle, fill out the pairs. */ in riscv_vdso_get_values()
50 static int riscv_vdso_get_cpus(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_cpus() argument
56 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_cpus()
57 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_cpus()
74 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_cpus()
[all …]
/linux-6.8/arch/riscv/kernel/
Dsys_hwprobe.c218 static int hwprobe_get_values(struct riscv_hwprobe __user *pairs, in hwprobe_get_values() argument
256 for (out = 0; out < pair_count; out++, pairs++) { in hwprobe_get_values()
259 if (get_user(pair.key, &pairs->key)) in hwprobe_get_values()
264 ret = put_user(pair.key, &pairs->key); in hwprobe_get_values()
266 ret = put_user(pair.value, &pairs->value); in hwprobe_get_values()
275 static int hwprobe_get_cpus(struct riscv_hwprobe __user *pairs, in hwprobe_get_cpus() argument
309 ret = copy_from_user(&pair, &pairs[i], sizeof(pair)); in hwprobe_get_cpus()
316 ret = copy_to_user(&pairs[i], &pair, sizeof(pair)); in hwprobe_get_cpus()
348 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument
354 return hwprobe_get_cpus(pairs, pair_count, cpusetsize, in do_riscv_hwprobe()
[all …]
/linux-6.8/net/netfilter/ipset/
DKconfig42 can store IPv4 address and (source) MAC address pairs from a range.
70 can store IPv4/IPv6 address and mark pairs.
79 can store IPv4/IPv6 address and protocol/port pairs.
108 one can store IPv4/IPv6 address and MAC (ethernet address) pairs in a set.
144 one can store IPv4/IPv6 network address/prefix pairs in a set.
154 protocol/port pairs as elements in a set.
164 interface name pairs as elements in a set.
/linux-6.8/Documentation/locking/
Dlocktorture.rst53 spin_lock() and spin_unlock() pairs.
56 spin_lock_irq() and spin_unlock_irq() pairs.
59 read/write lock() and unlock() rwlock pairs.
63 rwlock pairs.
66 mutex_lock() and mutex_unlock() pairs.
69 rtmutex_lock() and rtmutex_unlock() pairs.
73 read/write down() and up() semaphore pairs.
/linux-6.8/arch/mips/include/asm/
Dmaar.h15 * @num_pairs: The number of MAAR pairs present in the system.
18 * MAAR pairs as required, from 0 up to the maximum of num_pairs-1, and returns
21 * that it has configured 0 MAAR pairs.
23 * Return: The number of MAAR pairs configured.
109 * @num_pairs: The number of MAAR pairs present in the system.
114 * Return: The number of MAAR pairs configured.
/linux-6.8/lib/livepatch/
Dtest_klp_shadow_vars.c254 /* pass 4: free <objs[*], SV_ID1> pairs of svars, verify removal */ in test_klp_shadow_vars_init()
256 shadow_free(&objs[i], SV_ID1, shadow_dtor); /* 'char' pairs */ in test_klp_shadow_vars_init()
262 /* pass 5: check we still find <objs[*], SV_ID2> svar pairs */ in test_klp_shadow_vars_init()
264 sv = shadow_get(&objs[i], SV_ID2); /* 'int' pairs */ in test_klp_shadow_vars_init()
274 /* pass 6: free all the <objs[*], SV_ID2> svar pairs too. */ in test_klp_shadow_vars_init()
275 shadow_free_all(SV_ID2, NULL); /* 'int' pairs */ in test_klp_shadow_vars_init()
286 shadow_free_all(SV_ID1, NULL); /* 'char' pairs */ in test_klp_shadow_vars_init()
287 shadow_free_all(SV_ID2, NULL); /* 'int' pairs */ in test_klp_shadow_vars_init()
/linux-6.8/tools/perf/util/
Dsort.h98 } pairs; member
181 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
187 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
194 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
/linux-6.8/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt9 - clocks: a list of phandle + clock-specifier pairs, one for each
16 - resets: a list of phandle and reset specifier pairs as listed in
20 - phys: a list of phandle + phy specifier pairs
/linux-6.8/Documentation/ABI/testing/
Dsysfs-uevent18 You need to pass UUID first before any KEY=VALUE pairs.
31 The KEY=VALUE pairs can contain alphanumeric characters only.
33 It's possible to define zero or more pairs - each pair is then
Dsysfs-driver-qat_rl41 (RW) When read, reports the current assigned ring pairs for the
43 When wrote to, configures the ring pairs associated to a new SLA.
49 Selected ring pairs must to be assigned to a single service,
54 The maximum number of ring pairs is 4 per SLA.
/linux-6.8/drivers/media/platform/amphion/
Dvpu_helpers.c422 int vpu_find_dst_by_src(struct vpu_pair *pairs, u32 cnt, u32 src) in vpu_find_dst_by_src() argument
426 if (!pairs || !cnt) in vpu_find_dst_by_src()
430 if (pairs[i].src == src) in vpu_find_dst_by_src()
431 return pairs[i].dst; in vpu_find_dst_by_src()
437 int vpu_find_src_by_dst(struct vpu_pair *pairs, u32 cnt, u32 dst) in vpu_find_src_by_dst() argument
441 if (!pairs || !cnt) in vpu_find_src_by_dst()
445 if (pairs[i].dst == dst) in vpu_find_src_by_dst()
446 return pairs[i].src; in vpu_find_src_by_dst()
/linux-6.8/drivers/media/dvb-core/
Ddvb_ringbuffer.c55 * this pairs with smp_store_release() in dvb_ringbuffer_write(), in dvb_ringbuffer_empty()
70 * this pairs with smp_store_release() in dvb_ringbuffer_read(), in dvb_ringbuffer_free()
87 * this pairs with smp_store_release() in dvb_ringbuffer_write(), in dvb_ringbuffer_avail()
146 * this pairs with READ_ONCE() in dvb_ringbuffer_free() in dvb_ringbuffer_read_user()
171 * this pairs with READ_ONCE() in dvb_ringbuffer_free() in dvb_ringbuffer_read()
195 * update, this pairs with smp_load_acquire() in in dvb_ringbuffer_write()
224 * update, this pairs with smp_load_acquire() in in dvb_ringbuffer_write_user()
/linux-6.8/drivers/gpu/drm/vmwgfx/
Dvmwgfx_devcaps.c35 SVGA3dFifoCapPair pairs[SVGA3D_DEVCAP_MAX]; member
61 size_t pair_offset = offsetof(struct svga_3d_compat_cap, pairs); in vmw_fill_compat_cap()
77 compat_cap->pairs[i][0] = i; in vmw_fill_compat_cap()
78 compat_cap->pairs[i][1] = vmw_mask_legacy_multisample in vmw_fill_compat_cap()
/linux-6.8/include/media/
Dv4l2-cci.h23 * Register/value pairs for sequences of writes.
106 * @regs: Array of structures containing register-address, -value pairs to be
113 * pairs are supplied in any order, possibly not all in a single range.
117 * For raw lists of register-address, -value pairs with only 8 bit
/linux-6.8/fs/ntfs/
Drunlist.c708 * ntfs_mapping_pairs_decompress - convert mapping pairs array to runlist
710 * @attr: attribute record whose mapping pairs array to decompress
715 * Decompress the attribute @attr's mapping pairs array into a runlist. On
742 u8 *buf; /* Current position in mapping pairs array. */ in ntfs_mapping_pairs_decompress()
760 /* Get start of the mapping pairs array. */ in ntfs_mapping_pairs_decompress()
768 /* If the mapping pairs array is valid but empty, nothing to do. */ in ntfs_mapping_pairs_decompress()
820 "pairs array."); in ntfs_mapping_pairs_decompress()
828 ntfs_error(vol->sb, "Invalid length in mapping pairs " in ntfs_mapping_pairs_decompress()
874 "mapping pairs array."); in ntfs_mapping_pairs_decompress()
894 ntfs_error(vol->sb, "Corrupt mapping pairs array in " in ntfs_mapping_pairs_decompress()
[all …]
/linux-6.8/Documentation/devicetree/bindings/sound/
Dsirf-audio-port.txt6 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
8 These strings correspond 1:1 with the ordered pairs in dmas.
Dsprd-pcm.txt5 - dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs.
7 These strings correspond 1:1 with the ordered pairs in dmas.
Dbrcm,bcm2835-i2s.txt7 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
9 These strings correspond 1:1 with the ordered pairs in dmas.
Dadi,axi-spdif-tx.txt6 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
11 - dmas: Pairs of phandle and specifier for the DMA channel that is used by
Dadi,axi-i2s.txt9 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
14 - dmas: Pairs of phandle and specifier for the DMA channels that are used by
/linux-6.8/Documentation/admin-guide/
Dbootconfig.rst233 passing the kernel parameters. All the key-value pairs under ``kernel``
235 pairs under ``init`` will be passed to init process via the cmdline.
272 up to 512 key-value pairs. If keys contains 3 words in average, it can
273 contain 256 key-value pairs. In most cases, the number of config items
285 User can query or loop on key-value pairs, also it is possible to find
290 config, you can use xbc_for_each_key_value() to iterate key-value pairs.
/linux-6.8/drivers/crypto/intel/qat/qat_common/
Dadf_gen4_tl.h24 /* Max number of simultaneously monitored ring pairs. */
133 * counters data: Device + 4 Ring Pairs as are being populated periodically
136 * @tl_ring_pairs_data_regs: array of ring pairs telemetry registers
/linux-6.8/kernel/printk/
Dprintk_ringbuffer.c269 * The memory barrier pairs and their ordering are:
457 * not apply to the descriptor state. This pairs with _prb_commit:B. in desc_read()
489 * that may not apply to the copied content. This pairs with in desc_read()
505 * not apply to the copied data. This pairs with data_alloc:A and in desc_read()
646 * CPU. This pairs with data_push_tail:D. in data_push_tail()
682 * have been previously pushed. This pairs with in data_push_tail()
709 * have been previously pushed. This pairs with in data_push_tail()
747 * the descriptor states reusable. This pairs with in data_push_tail()
833 * descriptor states reusable. This pairs with desc_reserve:D. in desc_push_tail()
841 * case that the descriptor has been recycled. This pairs in desc_push_tail()
[all …]

12345678910>>...38