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

1234567891011>>

/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;
39 unsigned long clear_user_hexagon(void __user *dest, unsigned long count) argument
41 if (!access_ok(dest, count))
[all...]
/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/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/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/ia64/lib/
H A Dio.c11 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) argument
15 while (count) {
16 count--;
26 void memcpy_toio(volatile void __iomem *to, const void *from, long count) argument
30 while (count) {
31 count--;
41 void memset_io(volatile void __iomem *dst, int c, long count) argument
45 while (count) {
46 count--;
/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/mips/include/asm/mach-generic/
H A Dide.h60 unsigned int count)
63 insw(port, addr, count);
64 __ide_flush_dcache_range((unsigned long)addr, count * 2);
68 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) argument
71 insl(port, addr, count);
72 __ide_flush_dcache_range((unsigned long)addr, count * 4);
77 unsigned long count)
80 outsw(port, addr, count);
81 __ide_flush_dcache_range((unsigned long)addr, count * 2);
86 unsigned long count)
59 __ide_insw(unsigned long port, void *addr, unsigned int count) argument
76 __ide_outsw(unsigned long port, const void *addr, unsigned long count) argument
85 __ide_outsl(unsigned long port, const void *addr, unsigned long count) argument
94 __ide_mm_insw(void __iomem *port, void *addr, u32 count) argument
102 __ide_mm_insl(void __iomem *port, void *addr, u32 count) argument
110 __ide_mm_outsw(void __iomem *port, void *addr, u32 count) argument
118 __ide_mm_outsl(void __iomem * port, void *addr, u32 count) argument
[all...]
/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++;
/linux-master/lib/
H A Dlockref.c38 * lockref_get - Increments reference count unconditionally
42 * to the object, so you know the count cannot be zero.
47 new.count++;
53 lockref->count++;
59 * lockref_get_not_zero - Increments count unless the count is 0 or dead
61 * Return: 1 if count updated successfully or 0 if count was zero
68 new.count++;
69 if (old.count <
[all...]
/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/arch/alpha/kernel/
H A Dio.c260 void ioread8_rep(const void __iomem *port, void *dst, unsigned long count) argument
263 if (!count)
265 count--;
270 while (count >= 4) {
272 count -= 4;
281 while (count) {
282 --count;
288 void insb(unsigned long port, void *dst, unsigned long count) argument
290 ioread8_rep(ioport_map(port, 1), dst, count);
303 void ioread16_rep(const void __iomem *port, void *dst, unsigned long count) argument
328 insw(unsigned long port, void *dst, unsigned long count) argument
343 ioread32_rep(const void __iomem *port, void *dst, unsigned long count) argument
360 insl(unsigned long port, void *dst, unsigned long count) argument
375 iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) argument
382 outsb(unsigned long port, const void *src, unsigned long count) argument
397 iowrite16_rep(void __iomem *port, const void *src, unsigned long count) argument
422 outsw(unsigned long port, const void *src, unsigned long count) argument
437 iowrite32_rep(void __iomem *port, const void *src, unsigned long count) argument
454 outsl(unsigned long port, const void *src, unsigned long count) argument
467 memcpy_fromio(void *to, const volatile void __iomem *from, long count) argument
521 memcpy_toio(volatile void __iomem *to, const void *from, long count) argument
575 _memset_c_io(volatile void __iomem *to, unsigned long c, long count) argument
637 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/drivers/media/usb/em28xx/
H A Dem28xx-v4l.h18 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count);
/linux-master/arch/h8300/include/asm/
H A Dstring.h11 extern void *memset(void *s, int c, size_t count);
14 extern void *memcpy(void *d, const void *s, size_t count);
/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/asm-generic/
H A Dide_iops.h9 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) argument
11 while (count--) {
17 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) argument
19 while (count--) {
25 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) argument
27 while (count--) {
33 static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) argument
35 while (count--) {
/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/arch/powerpc/include/asm/
H A Dhvconsole.h21 * Vio firmware always attempts to fetch MAX_VIO_GET_CHARS chars. The 'count'
24 extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
25 extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
/linux-master/arch/parisc/include/asm/
H A Dide.h22 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) argument
24 while (count--) {
30 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) argument
32 while (count--) {
38 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) argument
40 while (count--) {
46 static __inline__ void __ide_mm_outsl(void __iomem *port, void *addr, u32 count) argument
48 while (count--) {

Completed in 229 milliseconds

1234567891011>>