Searched refs:count (Results 76 - 100 of 7673) sorted by relevance

1234567891011>>

/linux-master/drivers/video/fbdev/core/
H A Dfb_io_fops.c7 ssize_t fb_io_read(struct fb_info *info, char __user *buf, size_t count, loff_t *ppos) argument
29 if (count >= total_size)
30 count = total_size;
32 if (count + p > total_size)
33 count = total_size - p;
35 buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count,
45 while (count) {
46 c = (count > PAGE_SIZE) ? PAGE_SIZE : count;
71 fb_io_write(struct fb_info *info, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
H A Dfb_sys_fops.c16 ssize_t fb_sys_read(struct fb_info *info, char __user *buf, size_t count, argument
39 if (count >= total_size)
40 count = total_size;
42 if (count + p > total_size)
43 count = total_size - p;
50 c = copy_to_user(buf, src, count);
53 ret = count - c;
62 size_t count, loff_t *ppos)
84 if (count > total_size) {
86 count
61 fb_sys_write(struct fb_info *info, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c20 .count = 1,
34 .count = 5,
39 .count = 3,
48 .count = 3,
56 .count = 2,
63 .count = 5,
82 .count = 3,
86 .count = 3,
109 .count = 1,
123 .count
[all...]
/linux-master/arch/arm/boot/compressed/
H A Dstring.c26 void *__memmove(void *__dest, __const void *__src, size_t count) __alias(memmove);
27 void *__memset(void *s, int c, size_t count) __alias(memset);
64 void *memmove(void *__dest, __const void *__src, size_t count) argument
73 return memcpy(__dest, __src, count);
75 while (count--)
76 d[count] = s[count];
89 size_t strnlen(const char *s, size_t count) argument
93 for (sc = s; count-- && *sc != '\0'; ++sc)
98 int memcmp(const void *cs, const void *ct, size_t count) argument
126 memchr(const void *s, int c, size_t count) argument
156 memset(void *s, int c, size_t count) argument
[all...]
/linux-master/drivers/media/tuners/
H A Dtuner-types.c74 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
90 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
106 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
123 .count = ARRAY_SIZE(tuner_philips_secam_ranges),
140 .count = ARRAY_SIZE(tuner_philips_pal_ranges),
157 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
173 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
189 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
205 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
216 .count
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dxt_multiport.h18 __u8 count; /* Number of ports */ member in struct:xt_multiport
24 __u8 count; /* Number of ports */ member in struct:xt_multiport_v1
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_raw_tp_test_run.c8 __u32 count = 0; variable
15 count++;
/linux-master/include/sound/
H A Dsoc-jack.h94 int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
100 int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
104 int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
108 int count, struct snd_soc_jack_gpio *gpios);
109 void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
112 static inline int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count, argument
120 int count,
126 static inline void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count, argument
118 snd_soc_jack_add_gpiods(struct device *gpiod_dev, struct snd_soc_jack *jack, int count, struct snd_soc_jack_gpio *gpios) argument
/linux-master/lib/
H A Dstrnlen_user.c12 * 'count' is the user-supplied count, while 'max' is the
16 * space maximum), or 'count+1' if hitting the user-supplied
17 * maximum count.
23 static __always_inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned long max) argument
60 if (res >= count)
61 return count+1;
74 * @count: Maximum count (including NUL character)
82 * If the string is too long, returns a number larger than @count
92 strnlen_user(const char __user *str, long count) argument
[all...]
H A Dpercpu_counter.c70 fbc->count = amount;
89 s64 count; local
93 count = __this_cpu_read(*fbc->counters) + amount;
94 if (abs(count) >= batch) {
96 fbc->count += count;
97 __this_cpu_sub(*fbc->counters, count - amount);
107 * For percpu_counter with a big batch, the devication of its count could
115 s64 count; local
118 count
260 s64 count; local
296 s64 count; local
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-retval.tc32 count=`cat trace | grep 'proc_reg_write' | grep '= -5' | wc -l`
33 if [ $count -eq 0 ]; then
39 count=`cat trace | grep 'proc_reg_write' | grep 'fffffffb' | wc -l`
40 if [ $count -eq 0 ]; then
/linux-master/arch/powerpc/include/asm/
H A Dhvconsole.h21 * Vio firmware always attempts to fetch MAX_VIO_GET_CHARS chars. The 'count'
24 extern ssize_t hvc_get_chars(uint32_t vtermno, u8 *buf, size_t count);
25 extern ssize_t hvc_put_chars(uint32_t vtermno, const u8 *buf, size_t count);
/linux-master/drivers/tty/hvc/
H A Dhvc_riscv_sbi.c18 static ssize_t hvc_sbi_tty_put(uint32_t vtermno, const u8 *buf, size_t count) argument
22 for (i = 0; i < count; i++)
28 static ssize_t hvc_sbi_tty_get(uint32_t vtermno, u8 *buf, size_t count) argument
33 for (i = 0; i < count; i++) {
48 static ssize_t hvc_sbi_dbcn_tty_put(uint32_t vtermno, const u8 *buf, size_t count) argument
50 return sbi_debug_console_write(buf, count);
53 static ssize_t hvc_sbi_dbcn_tty_get(uint32_t vtermno, u8 *buf, size_t count) argument
55 return sbi_debug_console_read(buf, count);
/linux-master/sound/soc/amd/acp/
H A Damd-sdw-acpi.c29 u8 count = 0; local
43 count = hweight32(sdw_bitmap);
44 /* Check count is within bounds */
45 if (count > info->count) {
46 dev_err(&adev->dev, "Manager count %d exceeds max %d\n",
47 count, info->count);
51 if (!count) {
55 dev_dbg(&adev->dev, "ACPI reports %d SoundWire Manager devices\n", count);
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dddk750_hwi2c.c87 unsigned char count, i; local
107 count = length - 1;
109 count = MAX_HWI2C_FIFO - 1;
110 poke32(I2C_BYTE_COUNT, count);
113 for (i = 0; i <= count; i++)
124 length -= (count + 1);
127 total_bytes += (count + 1);
152 unsigned char count, i; local
172 count = length - 1;
174 count
[all...]
/linux-master/include/linux/
H A Dnvram.h81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) argument
89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count)
95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) argument
103 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count)
109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) argument
113 return ppc_md.nvram_read(buf, count, ppos);
116 return arch_nvram_ops.read(buf, count, ppos);
118 return nvram_read_bytes(buf, count, ppo
121 nvram_write(char *buf, size_t count, loff_t *ppos) argument
[all...]
H A Dkstrtox.h100 int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res);
101 int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res);
102 int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned long *res);
103 int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res);
104 int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsigned int *res);
105 int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *res);
106 int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
107 int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
108 int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
109 int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigne
112 kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res) argument
117 kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res) argument
122 kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res) argument
127 kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_flower_scale.sh70 local count=$1; shift
75 for ((i = 0; i < count; ++i)); do
92 local count=$1; shift
94 local last=$((count - 1))
96 tc_flower_rules_create $count $should_fail
101 [[ $((offload_count - 1)) -eq $count ]]
102 check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - 1)))"
107 local count=$1; shift
112 if ((count > 65536)); then
113 check_err 1 "Invalid count o
[all...]
/linux-master/arch/sparc/lib/
H A DPeeCeeI.c13 void outsb(unsigned long __addr, const void *src, unsigned long count) argument
18 while (count--)
23 void outsw(unsigned long __addr, const void *src, unsigned long count) argument
27 while (count--) {
34 void outsl(unsigned long __addr, const void *src, unsigned long count) argument
39 if (!count)
45 while (count--) {
52 while (count--) {
64 while (count--) {
76 while (count
88 insb(unsigned long __addr, void *dst, unsigned long count) argument
116 insw(unsigned long __addr, void *dst, unsigned long count) argument
144 insl(unsigned long __addr, void *dst, unsigned long count) argument
[all...]
/linux-master/arch/parisc/lib/
H A Dchecksum.c39 int odd, count; local
50 count = len >> 1; /* nr of 16-bit words.. */
51 if (count) {
54 count--;
58 count >>= 1; /* nr of 32-bit words.. */
59 if (count) {
60 while (count >= 4) {
70 count -= 4;
73 while (count) {
75 count
[all...]
/linux-master/kernel/irq/
H A Dtimings.c275 * IRQ_TIMINGS_SIZE, so the count is used, otherwise the array size is
282 for (i = irqts->count < IRQ_TIMINGS_SIZE ? \
283 0 : irqts->count & IRQ_TIMINGS_MASK, \
284 irqts->count = min(IRQ_TIMINGS_SIZE, \
285 irqts->count); \
286 irqts->count > 0; irqts->count--, \
294 int count; member in struct:irqt_stat
384 int index, i, period_max, count, start, min = INT_MAX; local
387 irqs->count
639 size_t count; member in struct:timings_intervals
716 int index, start, i, count, period_max; local
836 irq_timings_test_irqts(struct irq_timings *irqts, unsigned count) argument
906 int count[] = { 0, local
[all...]
/linux-master/arch/arm64/lib/
H A Dmemset.S30 count .req x2 label
52 cmp count, #15
55 tbz count, #3, 1f
58 tbz count, #2, 2f
61 tbz count, #1, 3f
64 tbz count, #0, 4f
75 * The count is not less than 16, we can use stp to store the start 16 bytes,
81 sub count, count, tmp2
88 cmp count, #6
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dsysfs.c23 static int get_integer(const char *buf, size_t count) argument
28 if (count == 0)
30 count = min_t(size_t, count, 10);
31 memcpy(tmp, buf, count);
42 ssize_t count = 0; local
56 count =
61 count =
66 count =
76 return count;
79 b43_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/fs/sysv/
H A Dballoc.c48 unsigned count; local
65 count = fs16_to_cpu(sbi, *sbi->s_bcache_count);
67 if (count > sbi->s_flc_size) {
76 if (count == sbi->s_flc_size || count == 0) {
85 *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count);
86 memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t));
90 count = 0;
92 sbi->s_bcache[count++] = nr;
94 *sbi->s_bcache_count = cpu_to_fs16(sbi, count);
106 unsigned count; local
128 unsigned count; local
163 int count; local
[all...]
/linux-master/arch/powerpc/kernel/
H A Dio.c27 void _insb(const volatile u8 __iomem *port, void *buf, long count) argument
32 if (unlikely(count <= 0))
39 } while (--count != 0);
44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) argument
48 if (unlikely(count <= 0))
53 } while (--count != 0);
58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) argument
63 if (unlikely(count <= 0))
70 } while (--count != 0);
75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) argument
89 _insl_ns(const volatile u32 __iomem *port, void *buf, long count) argument
106 _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) argument
[all...]

Completed in 207 milliseconds

1234567891011>>