Searched refs:count (Results 26 - 50 of 7674) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Duprobe_multi_bench.c8 int count; variable
13 count++;
H A Duprobe_multi_usdt.c9 int count; variable
14 count++;
H A Dtailcall_bpf2bpf_fentry.c8 int count = 0; variable
13 count++;
H A Dtailcall_bpf2bpf_fexit.c8 int count = 0; variable
13 count++;
/linux-master/drivers/md/dm-vdo/indexer/
H A Dradix-sort.h19 int __must_check uds_make_radix_sorter(unsigned int count, struct radix_sorter **sorter);
24 unsigned int count, unsigned short length);
/linux-master/lib/
H A Dlockref.c36 * lockref_get - Increments reference count unconditionally
40 * to the object, so you know the count cannot be zero.
45 new.count++;
51 lockref->count++;
57 * lockref_get_not_zero - Increments count unless the count is 0 or dead
59 * Return: 1 if count updated successfully or 0 if count was zero
66 new.count++;
67 if (old.count <
[all...]
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dfw.c20 size_t count)
24 for (count += 4; count > 4; count -= 4)
19 wil_memset_toio_32(volatile void __iomem *dst, u32 val, size_t count) argument
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-filter-stack.tc43 count=`cat trace | grep '()' | grep -v schedule | wc -l`
45 if [ $count -ne 0 ]; then
50 count=`cat trace | grep 'schedule()' | wc -l`
51 if [ $count -eq 0 ]; then
60 count=`cat trace | grep '()' | grep -v schedule | wc -l`
62 if [ $count -ne 0 ]; then
66 count=`cat trace | grep 'schedule()' | wc -l`
67 if [ $count -eq 0 ]; then
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_common.sh13 local count=$3
15 busywait "$TC_HIT_TIMEOUT" until_counter_is "== $count" \
23 local count=$3
25 busywait "$TC_HIT_TIMEOUT" until_counter_is ">= $count" \
/linux-master/arch/nios2/include/asm/
H A Dstring.h18 extern void *memset(void *s, int c, size_t count);
19 extern void *memcpy(void *d, const void *s, size_t count);
20 extern void *memmove(void *d, const void *s, size_t count);
/linux-master/arch/x86/include/asm/
H A Dmach_timer.h30 * (interrupt on terminal count mode), binary count,
31 * load 5 * LATCH count, (LSB and MSB) to begin countdown.
36 outb_p(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */
37 outb_p(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */
42 unsigned long count = 0; local
44 count++;
46 *count_p = count;
/linux-master/drivers/char/
H A Dnwbutton.h22 int count; member in struct:button_callback
30 int button_add_callback (void (*callback) (void), int count);
36 extern int button_add_callback (void (*callback) (void), int count);
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Dtoplevel-enable.tc22 count=`head -n 128 trace | grep -v ^# | wc -l`
23 if [ $count -eq 0 ]; then
35 count=`head -n 128 trace | grep -v ^# | wc -l`
36 if [ $count -eq 0 ]; then
46 count=`cat trace | grep -v ^# | wc -l`
47 if [ $count -ne 0 ]; then
H A Devent-enable.tc21 count=`cat trace | grep sched_switch | wc -l`
22 if [ $count -eq 0 ]; then
32 count=`cat trace | grep sched_switch | wc -l`
33 if [ $count -eq 0 ]; then
43 count=`cat trace | grep sched_switch | wc -l`
44 if [ $count -ne 0 ]; then
H A Dsubsystem-enable.tc21 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
22 if [ $count -lt 3 ]; then
32 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
33 if [ $count -lt 3 ]; then
43 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
44 if [ $count -ne 0 ]; then
/linux-master/arch/arm/mach-s3c/
H A Dpm-common.h36 extern void s3c_pm_do_save(struct sleep_save *ptr, int count);
37 extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
38 extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
/linux-master/drivers/platform/x86/
H A Ddual_accel_detect.h23 int count; local
29 count = i2c_acpi_client_count(adev);
33 return count == 2;
/linux-master/arch/s390/include/asm/
H A Dmaccess.h14 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
15 int memcpy_real(void *dest, unsigned long src, size_t count);
17 int copy_oldmem_kernel(void *dst, unsigned long src, size_t count);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.h12 int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count);
17 int xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare);
18 void xe_guc_db_mgr_release_range(struct xe_guc_db_mgr *dbm, unsigned int start, unsigned int count);
/linux-master/arch/csky/lib/
H A Dstring.c30 void *memcpy(void *dest, const void *src, size_t count) argument
36 if (count < MIN_THRESHOLD)
40 for (; d.as_uptr & WORD_MASK; count--)
57 for (; count >= BYTES_LONG; count -= BYTES_LONG) {
75 for (; count >= BYTES_LONG; count -= BYTES_LONG)
80 while (count--)
91 void *memmove(void *dest, const void *src, size_t count) argument
93 if (dest < src || src + count <
107 memset(void *s, int c, size_t count) argument
[all...]
/linux-master/drivers/tty/
H A Dtty_ldsem.c12 * 1) Upper half of semaphore count is a wait count (differs from rwsem
67 atomic_long_set(&sem->count, LDSEM_UNLOCKED);
78 long adjust, count; local
82 * Note the 'active part' of the count is incremented by
86 count = atomic_long_add_return(adjust, &sem->count);
88 if (count > 0)
90 if (atomic_long_try_cmpxchg(&sem->count, &count, coun
110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); local
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) argument
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) argument
298 long count; local
317 long count; local
348 long count = atomic_long_read(&sem->count); local
374 long count = atomic_long_read(&sem->count); local
391 long count; local
405 long count; local
[all...]
/linux-master/lib/zstd/compress/
H A Dhist.h23 * Provides the precise count of each byte within a table 'count'.
24 * 'count' is a table of unsigned int, of minimum size (*maxSymbolValuePtr+1).
26 * @return : count of the most frequent symbol (which isn't identified).
30 size_t HIST_count(unsigned* count, unsigned* maxSymbolValuePtr,
46 size_t HIST_count_wksp(unsigned* count, unsigned* maxSymbolValuePtr,
54 size_t HIST_countFast(unsigned* count, unsigned* maxSymbolValuePtr,
62 size_t HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr,
71 * @return : count of the most frequent symbol.
74 unsigned HIST_count_simple(unsigned* count, unsigne
[all...]
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c25 static int get_integer(const char *buf, size_t count) argument
30 if (count == 0)
32 count = min_t(size_t, count, 10);
33 memcpy(tmp, buf, count);
41 static int get_boolean(const char *buf, size_t count) argument
43 if (count != 0) {
48 if (count >= 4 && memcmp(buf, "true", 4) == 0)
50 if (count >= 5 && memcmp(buf, "false", 5) == 0)
52 if (count >
69 ssize_t count = 0; local
98 b43legacy_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
150 ssize_t count; local
169 b43legacy_attr_preamble_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/gpu/drm/lib/
H A Ddrm_random.c16 void drm_random_reorder(unsigned int *order, unsigned int count, argument
21 for (i = 0; i < count; ++i) {
23 j = drm_prandom_u32_max_state(count, state);
29 unsigned int *drm_random_order(unsigned int count, struct rnd_state *state) argument
33 order = kmalloc_array(count, sizeof(*order), GFP_KERNEL);
37 for (i = 0; i < count; i++)
40 drm_random_reorder(order, count, state);
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_random.c45 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count, argument
50 if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX))
53 if (!elsz || !count)
57 while (--count) {
60 swp = i915_prandom_u32_max_state(count + 1, state);
61 if (swp == count)
64 memcpy(stack, arr + count * elsz, elsz);
65 memcpy(arr + count * elsz, arr + swp * elsz, elsz);
70 void i915_random_reorder(unsigned int *order, unsigned int count, argument
73 i915_prandom_shuffle(order, sizeof(*order), count, stat
76 i915_random_order(unsigned int count, struct rnd_state *state) argument
[all...]

Completed in 938 milliseconds

1234567891011>>