Home
last modified time | relevance | path

Searched refs:COUNT (Results 1 – 25 of 42) sorted by relevance

12

/linux/tools/usb/
H A Dhcd-tests.sh32 declare -i COUNT BUFLEN
34 COUNT=50000
51 if ! ./testusb $TEST_ARGS -s $BUFLEN -c $COUNT $* 2>/dev/null
95 COUNT=5000
126 echo "test 1: $COUNT transfers, same size"
128 echo "test 3: $COUNT transfers, variable/short size"
131 COUNT=100
132 echo "test 17: $COUNT transfers, unaligned DMA map by core"
135 echo "test 19: $COUNT transfers, unaligned DMA map by usb_alloc_coherent"
138 COUNT=2000
[all …]
/linux/scripts/coccinelle/api/
H A Dkmalloc_objs.cocci51 expression COUNT;
83 ALLOC_ARRAY(COUNT, (\(sizeof(STRING)\|sizeof(INTEGRAL)\|sizeof(INTEGRAL *)\)), GFP)
85 BYTES = ALLOC_ARRAY(COUNT, (sizeof(E)), GFP)
87 BYTES = ALLOC_ARRAY(COUNT, (sizeof(TYPE)), GFP)
89 BYTES_PTRS = ALLOC_ARRAY(COUNT, (sizeof(E)), GFP)
91 BYTES_PTRS = ALLOC_ARRAY(COUNT, (sizeof(TYPE)), GFP)
93 ALLOC_ARRAY((\(sizeof(STRING)\|sizeof(INTEGRAL)\|sizeof(INTEGRAL *)\)), COUNT, GFP)
95 BYTES = ALLOC_ARRAY((sizeof(E)), COUNT, GFP)
97 BYTES = ALLOC_ARRAY((sizeof(TYPE)), COUNT, GFP)
99 BYTES_PTRS = ALLOC_ARRAY((sizeof(E)), COUNT, GFP)
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dnetcons_torture.sh
/linux/include/linux/
H A Dslab.h1060 * @COUNT: how many @TYPE objects to allocate.
1062 * Returns: Newly allocated pointer to (first) @TYPE of @COUNT-many
1065 #define __alloc_objs(KMALLOC, GFP, TYPE, COUNT) \
1067 const size_t __obj_size = size_mul(sizeof(TYPE), COUNT); \
1077 * @COUNT: how many @FAM elements to allocate space for. in kmalloc_node_noprof()
1079 * Returns: Newly allocated pointer to @TYPE with @COUNT-many trailing in kmalloc_node_noprof()
1080 * @FAM elements, or NULL on failure or if @COUNT cannot be represented in kmalloc_node_noprof()
1084 #define __alloc_flex(KMALLOC, GFP, TYPE, FAM, COUNT) \
1086 const size_t __count = (COUNT); \
1108 * @COUNT
971 __alloc_objs(KMALLOC,GFP,TYPE,COUNT) global() argument
990 __alloc_flex(KMALLOC,GFP,TYPE,FAM,COUNT) global() argument
1020 kmalloc_objs(VAR_OR_TYPE,COUNT,...) global() argument
1035 kmalloc_flex(VAR_OR_TYPE,FAM,COUNT,...) global() argument
1041 kzalloc_objs(P,COUNT,...) global() argument
1043 kzalloc_flex(P,FAM,COUNT,...) global() argument
1049 kvmalloc_objs(P,COUNT,...) global() argument
1051 kvmalloc_flex(P,FAM,COUNT,...) global() argument
1057 kvzalloc_objs(P,COUNT,...) global() argument
1059 kvzalloc_flex(P,FAM,COUNT,...) global() argument
[all...]
H A Doverflow.h535 #define DEFINE_FLEX(TYPE, NAME, MEMBER, COUNTER, COUNT) \ argument
536 _DEFINE_FLEX(TYPE, NAME, MEMBER, COUNT, = { .COUNTER = COUNT, })
572 #define overflows_flex_counter_type(TYPE, FAM, COUNT) \ argument
573 (overflows_type(COUNT, typeof_flex_counter(((TYPE *)NULL)->FAM)))
584 #define __set_flex_counter(FAM, COUNT) \ argument
588 default: __flex_counter(FAM)) = (COUNT); \
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst91 .. _DTV-STAT-PRE-ERROR-BIT-COUNT:
105 :ref:`DTV_STAT_PRE_TOTAL_BIT_COUNT <DTV-STAT-PRE-TOTAL-BIT-COUNT>`.
120 .. _DTV-STAT-PRE-TOTAL-BIT-COUNT:
127 :ref:`DTV_STAT_PRE_ERROR_BIT_COUNT <DTV-STAT-PRE-ERROR-BIT-COUNT>`
145 :ref:`DTV_STAT_PRE_ERROR_BIT_COUNT <DTV-STAT-PRE-ERROR-BIT-COUNT>`.
148 .. _DTV-STAT-POST-ERROR-BIT-COUNT:
162 :ref:`DTV_STAT_POST_TOTAL_BIT_COUNT <DTV-STAT-POST-TOTAL-BIT-COUNT>`.
177 .. _DTV-STAT-POST-TOTAL-BIT-COUNT:
184 :ref:`DTV_STAT_POST_ERROR_BIT_COUNT <DTV-STAT-POST-ERROR-BIT-COUNT>`
202 :ref:`DTV_STAT_POST_ERROR_BIT_COUNT <DTV-STAT-POST-ERROR-BIT-COUNT>`.
[all …]
/linux/drivers/clocksource/
H A Dtimer-digicolor.c49 #define COUNT(t) ((t)*8 + 4) macro
85 writel(count, dt->base + COUNT(dt->timer_id)); in dc_timer_set_count()
146 return ~readl(dc_timer_dev.base + COUNT(TIMER_B)); in digicolor_timer_sched_read()
181 writel(UINT_MAX, dc_timer_dev.base + COUNT(TIMER_B)); in digicolor_timer_init()
185 clocksource_mmio_init(dc_timer_dev.base + COUNT(TIMER_B), node->name, in digicolor_timer_init()
/linux/samples/pktgen/
H A Dpktgen_bench_xmit_mode_queue_xmit.sh30 [ -z "$COUNT" ] && COUNT="10000000" # Zero means indefinitely
55 pg_set $dev "count $COUNT"
H A Dpktgen_bench_xmit_mode_netif_receive.sh47 [ -z "$COUNT" ] && COUNT="10000000" # Zero means indefinitely
72 pg_set $dev "count $COUNT"
H A Dpktgen_sample01_simple.sh28 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
52 pg_set $DEV "count $COUNT"
H A Dpktgen_sample03_burst_single_flow.sh39 [ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely
62 pg_set $dev "count $COUNT"
H A Dpktgen_sample05_flow_per_thread.sh30 [ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely
53 pg_set $dev "count $COUNT"
H A Dpktgen_sample02_multiqueue.sh20 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
61 pg_set $dev "count $COUNT"
H A Dpktgen_sample04_many_flows.sh25 [ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely
63 pg_set $dev "count $COUNT"
H A Dpktgen_sample06_numa_awared_queue_irq_affinity.sh21 [ -z "$COUNT" ] && COUNT="20000000" # Zero means indefinitely
78 pg_set $dev "count $COUNT"
H A Dparameters.sh65 export COUNT=$OPTARG
66 info "COUNT=$COUNT"
/linux/rust/pin-init/examples/
H A Dstatic_init.rs84 pub static COUNT: StaticInit<CMutex<usize>, CountInit> = StaticInit::new(CountInit);
100 *COUNT.lock() += 1; in main()
104 *COUNT.lock() += 1; in main()
120 println!("{:?}, {:?}", *mtx.lock(), *COUNT.lock()); in main()
85 pub static COUNT: StaticInit<CMutex<usize>, CountInit> = StaticInit::new(CountInit); global() variable
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_pm.c19 #define COUNT 5 macro
30 sort(a, COUNT, sizeof(*a), cmp_u64, NULL); in trifilter()
141 u64 s_ring[COUNT], s_ctx[COUNT], st[COUNT], d_ring, d_ctx, dt; in __live_engine_timestamps()
149 for (i = 0; i < COUNT; i++) { in __live_engine_timestamps()
H A Dselftest_engine_cs.c15 #define COUNT 5 macro
124 sort(a, COUNT, sizeof(*a), cmp_u32, NULL); in trifilter()
148 u32 cycles[COUNT]; in perf_mi_bb_start()
276 u32 cycles[COUNT]; in perf_mi_noop()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_user_test.c43 for (i = 0; i < COUNT; i++) { in dscr_user()
49 for (i = 0; i < COUNT; i++) { in dscr_user()
H A Ddscr_explicit_test.c37 for (int i = 0; i < COUNT; i++) { in dscr_explicit_lockstep_thread()
70 for (int i = 0; i < COUNT; i++) { in dscr_explicit_lockstep_test()
106 for (int i = 0; i < COUNT; i++) { in dscr_explicit_random_thread()
H A Ddscr_default_test.c27 for (int i = 0; i < COUNT; i++) { in dscr_default_lockstep_writer()
54 for (int i = 0; i < COUNT ; i++) { in dscr_default_lockstep_test()
91 for (int i = 0; i < COUNT; i++) { in dscr_default_random_thread()
/linux/lib/crypto/x86/
H A Dsha256-ni-asm.S196 #define COUNT %r10 macro
309 lea (%rbx, LEN64, 1), COUNT
445 shl $3, COUNT
446 bswap COUNT
447 mov COUNT, 56(%rsp,%rbx)
499 ror $29, COUNT
500 movq COUNT, MSG3_A
/linux/samples/rust/
H A Drust_driver_pci.rs38 pub(super) COUNT(u32) @ 0xC {
98 Ok(bar.read(regs::COUNT).into())
23 const COUNT: usize = 0xC; global() constant
/linux/tools/include/linux/
H A Dslab.h205 #define __alloc_objs(KMALLOC, GFP, TYPE, COUNT) \ argument
207 const size_t __obj_size = size_mul(sizeof(TYPE), COUNT); \

12