Searched refs:count (Results 1 - 25 of 7674) sorted by relevance

1234567891011>>

/linux-master/arch/nios2/lib/
H A Dmemmove.c13 void *memmove(void *d, const void *s, size_t count) argument
17 if (!count)
24 if ((count < 8) || ((dst ^ src) & 3))
29 count--;
35 count -= 2;
37 while (count > 3) {
41 count -= 4;
44 while (count--)
47 dst = (unsigned long) d + count;
48 src = (unsigned long) s + count;
[all...]
H A Dmemset.c13 void *memset(void *s, int c, size_t count) argument
17 if (!count)
22 if (count <= 8) {
25 while (count--)
74 "1" (count) /* %1 Input/Output */
/linux-master/arch/hexagon/mm/
H A Duaccess.c22 __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count) argument
26 while (count > PAGE_SIZE) {
29 return count - (PAGE_SIZE - uncleared);
30 count -= PAGE_SIZE;
33 if (count)
34 count = raw_copy_to_user(dest, &empty_zero_page, count);
36 return count;
/linux-master/arch/arm64/kernel/
H A Dio.c15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument
17 while (count && !IS_ALIGNED((unsigned long)from, 8)) {
21 count--;
24 while (count >= 8) {
28 count -= 8;
31 while (count) {
35 count--;
43 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument
45 while (count && !IS_ALIGNED((unsigned long)to, 8)) {
49 count
71 __memset_io(volatile void __iomem *dst, int c, size_t count) argument
[all...]
/linux-master/arch/csky/kernel/
H A Dio.c10 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument
12 while (count && !IS_ALIGNED((unsigned long)from, 4)) {
16 count--;
19 while (count >= 4) {
23 count -= 4;
26 while (count) {
30 count--;
38 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument
40 while (count && !IS_ALIGNED((unsigned long)to, 4)) {
44 count
66 __memset_io(volatile void __iomem *dst, int c, size_t count) argument
[all...]
/linux-master/arch/loongarch/kernel/
H A Dio.c12 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument
14 while (count && !IS_ALIGNED((unsigned long)from, 8)) {
18 count--;
21 while (count >= 8) {
25 count -= 8;
28 while (count) {
32 count--;
40 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument
42 while (count && !IS_ALIGNED((unsigned long)to, 8)) {
46 count
68 __memset_io(volatile void __iomem *dst, int c, size_t count) argument
[all...]
/linux-master/arch/arm/mach-s3c/
H A Dpm-common.c22 * @count: Size of the ptr array.
27 void s3c_pm_do_save(struct sleep_save *ptr, int count) argument
29 for (; count > 0; count--, ptr++) {
38 * @count: Size of the ptr array.
46 void s3c_pm_do_restore(const struct sleep_save *ptr, int count) argument
48 for (; count > 0; count--, ptr++) {
59 * @count: Size of the ptr array.
69 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) argument
[all...]
/linux-master/arch/m68k/mvme16x/
H A Dmvme16x.h6 void mvme16x_cons_write(struct console *co, const char *str, unsigned count);
/linux-master/arch/sh/kernel/
H A Dio.c16 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) argument
23 if ((count >= 0x20) &&
43 "cmp/hi %1, %2 ! T if 32 > count \n\t"
50 : "=&r" (to), "=&r" (count),
53 : "7"(from), "0" (to), "1" (count)
59 for (; count > 3; count -= 4) {
66 for (; count > 0; count--) {
79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) argument
103 memset_io(volatile void __iomem *dst, int c, unsigned long count) argument
[all...]
/linux-master/arch/arm/boot/dts/
H A Dcros-ec-sbs.dtsi49 sbs,i2c-retry-count = <2>;
50 sbs,poll-retry-count = <1>;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_test_kern_common.h7 int count = 0; variable
15 if (count < 4) {
16 c = START_CHAR + count;
18 count++;
H A Dtest_enable_stats.c11 __u64 count = 0; variable
16 __sync_fetch_and_add(&count, 1);
/linux-master/tools/testing/selftests/bpf/
H A Dxsk_xdp_common.h9 __u64 count; member in struct:xdp_info
/linux-master/include/linux/
H A Dvt_buffer.h29 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) argument
32 count /= 2;
33 while (count--)
36 memset16(s, c, count / 2);
42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) argument
45 count /= 2;
46 while (count--)
49 memcpy(d, s, count);
55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) argument
59 scr_memcpyw(d, s, count);
[all...]
/linux-master/tools/testing/selftests/kvm/lib/
H A Dstring_override.c10 int memcmp(const void *cs, const void *ct, size_t count) argument
15 for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) {
22 void *memcpy(void *dest, const void *src, size_t count) argument
27 while (count--)
32 void *memset(void *s, int c, size_t count) argument
36 while (count--)
41 size_t strnlen(const char *s, size_t count) argument
45 for (sc = s; count-- && *sc != '\0'; ++sc)
/linux-master/arch/parisc/lib/
H A Dio.c19 void memcpy_toio(volatile void __iomem *dst, const void *src, int count) argument
26 count--;
28 while (count > 3) {
32 count -= 4;
35 while (count--) {
54 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) argument
57 if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) )
60 if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) )
68 count--;
69 if (count <
106 memset_io(volatile void __iomem *addr, unsigned char val, int count) argument
127 insb(unsigned long port, void *dst, unsigned long count) argument
167 insw(unsigned long port, void *dst, unsigned long count) argument
239 insl(unsigned long port, void *dst, unsigned long count) argument
319 outsb(unsigned long port, const void * src, unsigned long count) argument
337 outsw(unsigned long port, const void *src, unsigned long count) argument
409 outsl(unsigned long port, const void *src, unsigned long count) argument
[all...]
/linux-master/sound/core/
H A Dmemory.c18 * @count: the data size to copy in bytes
24 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) argument
28 if (import_ubuf(ITER_DEST, dst, count, &iter))
30 return copy_to_iter_fromio(&iter, (const void __iomem *)src, count);
38 * @count: the data size to copy in bytes
45 size_t count)
48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT;
51 while (count) {
52 size_t c = count;
44 copy_to_iter_fromio(struct iov_iter *dst, const void __iomem *src, size_t count) argument
76 copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) argument
96 copy_from_iter_toio(void __iomem *dst, struct iov_iter *src, size_t count) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dio.c277 void ioread8_rep(const void __iomem *port, void *dst, unsigned long count) argument
280 if (!count)
282 count--;
287 while (count >= 4) {
289 count -= 4;
298 while (count) {
299 --count;
305 void insb(unsigned long port, void *dst, unsigned long count) argument
307 ioread8_rep(ioport_map(port, 1), dst, count);
320 void ioread16_rep(const void __iomem *port, void *dst, unsigned long count) argument
345 insw(unsigned long port, void *dst, unsigned long count) argument
360 ioread32_rep(const void __iomem *port, void *dst, unsigned long count) argument
377 insl(unsigned long port, void *dst, unsigned long count) argument
392 iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) argument
399 outsb(unsigned long port, const void *src, unsigned long count) argument
414 iowrite16_rep(void __iomem *port, const void *src, unsigned long count) argument
439 outsw(unsigned long port, const void *src, unsigned long count) argument
454 iowrite32_rep(void __iomem *port, const void *src, unsigned long count) argument
471 outsl(unsigned long port, const void *src, unsigned long count) argument
484 memcpy_fromio(void *to, const volatile void __iomem *from, long count) argument
538 memcpy_toio(volatile void __iomem *to, const void *from, long count) argument
592 _memset_c_io(volatile void __iomem *to, unsigned long c, long count) argument
654 scr_memcpyw(u16 *d, const u16 *s, unsigned int count) argument
[all...]
/linux-master/samples/ftrace/
H A Dsample-trace-array.h62 TP_PROTO(int count, unsigned long time),
64 TP_ARGS(count, time),
67 __field(int, count)
72 __entry->count = count;
76 TP_printk("count value=%d at jiffies=%lu", __entry->count,
/linux-master/include/trace/events/
H A Dcma.h14 unsigned long count),
16 TP_ARGS(name, pfn, page, count),
22 __field(unsigned long, count)
29 __entry->count = count;
32 TP_printk("name=%s pfn=0x%lx page=%p count=%lu",
36 __entry->count)
41 TP_PROTO(const char *name, unsigned long count, unsigned int align),
43 TP_ARGS(name, count, align),
47 __field(unsigned long, count)
[all...]
/linux-master/arch/m68k/lib/
H A Dmemset.c10 void *memset(void *s, int c, size_t count) argument
15 if (!count)
24 count--;
26 if (count > 2 && (long)s & 2) {
30 count -= 2;
32 temp = count >> 2;
63 if (count & 2) {
68 if (count & 1) {
/linux-master/drivers/scsi/pcmcia/
H A Dnsp_io.h70 unsigned long count)
72 insb(BaseAddr + Register, buf, count);
77 unsigned long count)
79 /*nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count=0x%lx", buf, count);*/
80 nsp_multi_read_1(base, FIFODATA, buf, count);
89 unsigned long count)
91 insw(BaseAddr + Register, buf, count);
96 unsigned long count)
98 //nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count
67 nsp_multi_read_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
75 nsp_fifo8_read(unsigned int base, void *buf, unsigned long count) argument
86 nsp_multi_read_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
94 nsp_fifo16_read(unsigned int base, void *buf, unsigned long count) argument
105 nsp_multi_read_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
113 nsp_fifo32_read(unsigned int base, void *buf, unsigned long count) argument
124 nsp_multi_write_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
132 nsp_fifo8_write(unsigned int base, void *buf, unsigned long count) argument
142 nsp_multi_write_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
150 nsp_fifo16_write(unsigned int base, void *buf, unsigned long count) argument
160 nsp_multi_write_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
168 nsp_fifo32_write(unsigned int base, void *buf, unsigned long count) argument
219 nsp_mmio_multi_read_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) argument
237 nsp_mmio_fifo32_read(unsigned int base, void *buf, unsigned long count) argument
245 nsp_mmio_multi_write_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) argument
263 nsp_mmio_fifo32_write(unsigned int base, void *buf, unsigned long count) argument
[all...]
/linux-master/include/xen/
H A Dmem-reservation.h29 void __xenmem_reservation_va_mapping_update(unsigned long count,
33 void __xenmem_reservation_va_mapping_reset(unsigned long count,
37 static inline void xenmem_reservation_va_mapping_update(unsigned long count, argument
43 __xenmem_reservation_va_mapping_update(count, pages, frames);
47 static inline void xenmem_reservation_va_mapping_reset(unsigned long count, argument
52 __xenmem_reservation_va_mapping_reset(count, pages);
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-filter.tc29 count=`cat trace | grep '()' | grep -v schedule | wc -l`
30 if [ $count -ne 0 ]; then
35 count=`cat trace | grep 'schedule()' | wc -l`
36 if [ $count -eq 0 ]; then
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-v4l.h9 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count);

Completed in 653 milliseconds

1234567891011>>