Home
last modified time | relevance | path

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

12345678910>>...71

/kernel/linux/linux-6.6/tools/testing/selftests/riscv/hwprobe/
Dhwprobe.c10 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 struct riscv_hwprobe pairs[8]; in main() local
23 * Just run a basic test: pass enough pairs to get up to the base in main()
27 pairs[i].key = i; in main()
28 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
33 if ((i < 4) && (pairs[i].key != i)) in main()
36 if (pairs[i].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main()
39 if (pairs[i].value & RISCV_HWPROBE_BASE_BEHAVIOR_IMA) in main()
49 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
53 out = riscv_hwprobe(pairs, 8, 0, &cpus, 0); in main()
[all …]
/kernel/linux/linux-6.6/arch/riscv/kernel/vdso/
Dhwprobe.c10 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
19 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, in __vdso_riscv_hwprobe() argument
26 struct riscv_hwprobe *p = pairs; in __vdso_riscv_hwprobe()
27 struct riscv_hwprobe *end = pairs + pair_count; in __vdso_riscv_hwprobe()
36 return riscv_hwprobe(pairs, pair_count, cpu_count, cpus, flags); in __vdso_riscv_hwprobe()
38 /* This is something we can handle, fill out the pairs. */ in __vdso_riscv_hwprobe()
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-5.10/tools/perf/util/
Dsort.h97 } pairs; member
172 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
178 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
185 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
/kernel/linux/linux-6.6/tools/perf/util/
Dsort.h96 } pairs; member
177 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
183 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
190 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/riscv/kernel/
Dsys_riscv.c230 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument
268 for (out = 0; out < pair_count; out++, pairs++) { in do_riscv_hwprobe()
271 if (get_user(pair.key, &pairs->key)) in do_riscv_hwprobe()
276 ret = put_user(pair.key, &pairs->key); in do_riscv_hwprobe()
278 ret = put_user(pair.value, &pairs->value); in do_riscv_hwprobe()
331 SYSCALL_DEFINE5(riscv_hwprobe, struct riscv_hwprobe __user *, pairs, in SYSCALL_DEFINE5() argument
335 return do_riscv_hwprobe(pairs, pair_count, cpu_count, in SYSCALL_DEFINE5()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/include/media/
Dv4l2-cci.h23 * Register/value pairs for sequences of writes.
101 * @regs: Array of structures containing register-address, -value pairs to be
108 * pairs are supplied in any order, possibly not all in a single range.
112 * For raw lists of register-address, -value pairs with only 8 bit
/kernel/linux/linux-5.10/lib/
Dstackdepot.c80 * This smp_load_acquire() pairs with smp_store_release() to in init_stack_slab()
95 * This smp_store_release pairs with smp_load_acquire() from in init_stack_slab()
121 * smp_store_release() here pairs with smp_load_acquire() from in depot_alloc_stack()
254 * The smp_load_acquire() here pairs with smp_store_release() to in stack_depot_save()
267 * The smp_load_acquire() here pairs with smp_store_release() to in stack_depot_save()
294 * This smp_store_release() pairs with in stack_depot_save()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dbrcm,brcmstb-usb-phy.txt12 - reg: 1 or 2 offset and length pairs. One for the base CTRL registers
16 - reg: 3 offset and length pairs for CTRL, XHCI_EC and XHCI_GBL
20 - reg: 5 offset and length pairs for CTRL, XHCI_EC, XHCI_GBL,
/kernel/linux/linux-6.6/lib/
Dstackdepot.c227 * smp_load_acquire() here pairs with smp_store_release() below and in depot_init_pool()
251 * This smp_store_release pairs with smp_load_acquire() above in depot_init_pool()
277 * WRITE_ONCE pairs with potential concurrent read in in depot_alloc_stack()
285 * smp_store_release() here pairs with smp_load_acquire() in in depot_alloc_stack()
387 * The smp_load_acquire() here pairs with smp_store_release() to in __stack_depot_save()
398 * The smp_load_acquire() here pairs with smp_store_release() to in __stack_depot_save()
425 * This smp_store_release() pairs with in __stack_depot_save()
465 * READ_ONCE pairs with potential concurrent write in in stack_depot_fetch()

12345678910>>...71