Searched defs:pos (Results 1 - 25 of 147) sorted by relevance

123456

/arch/arm/common/
H A DbL_switcher_dummy_if.c22 size_t len, loff_t *pos)
21 bL_switcher_write(struct file *file, const char __user *buf, size_t len, loff_t *pos) argument
/arch/hexagon/kernel/
H A Dsetup.c107 static void *c_start(struct seq_file *m, loff_t *pos) argument
109 return *pos < nr_cpu_ids ? (void *)((unsigned long) *pos + 1) : NULL;
112 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
114 ++*pos;
115 return c_start(m, pos);
/arch/microblaze/kernel/cpu/
H A Dmb.c139 static void *c_start(struct seq_file *m, loff_t *pos) argument
141 int i = *pos;
146 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
148 ++*pos;
149 return c_start(m, pos);
/arch/s390/kernel/
H A Dprocessor.c74 static void *c_start(struct seq_file *m, loff_t *pos) argument
76 return *pos < nr_cpu_ids ? (void *)((unsigned long) *pos + 1) : NULL;
79 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
81 ++*pos;
82 return c_start(m, pos);
/arch/sh/kernel/
H A Dsys_sh32.c38 size_t count, long dummy, loff_t pos)
40 return sys_pread64(fd, buf, count, pos);
44 size_t count, long dummy, loff_t pos)
46 return sys_pwrite64(fd, buf, count, pos);
37 sys_pread_wrapper(unsigned int fd, char __user *buf, size_t count, long dummy, loff_t pos) argument
43 sys_pwrite_wrapper(unsigned int fd, const char __user *buf, size_t count, long dummy, loff_t pos) argument
/arch/x86/kernel/cpu/
H A Dproc.c139 static void *c_start(struct seq_file *m, loff_t *pos) argument
141 *pos = cpumask_next(*pos - 1, cpu_online_mask);
142 if ((*pos) < nr_cpu_ids)
143 return &cpu_data(*pos);
147 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
149 (*pos)++;
150 return c_start(m, pos);
/arch/x86/lib/
H A Dcmdline.c29 int len, pos = 0, wstart = 0; local
46 pos++;
57 wstart = pos;
/arch/xtensa/platforms/xtfpga/
H A Dlcd.c53 void lcd_disp_at_pos(char *str, unsigned char pos) argument
55 *LCD_INSTR_ADDR = LCD_DISPLAY_POS | pos;
/arch/arm64/lib/
H A Dmemcmp.S57 pos .req x11 label
148 csel pos, tmp1, tmp2, hi /*Choose the maximum.*/
150 sub limit, limit, pos
155 subs pos, pos, #1
158 cbnz pos, 1f /*diff occurred before the last byte.*/
189 neg pos, tmp3
199 ldr data1, [src1,pos]
200 ldr data2, [src2,pos]
230 clz pos, dif
[all...]
H A Dstrcmp.S61 pos .req x11 label
122 csel pos, tmp1, tmp2, hi /*Choose the maximum. */
126 subs pos, pos, #1
130 cbnz pos, 1f /*find the null or unequal...*/
157 neg pos, tmp3
168 ldr data1, [src1,pos]
169 ldr data2, [src2,pos]
218 clz pos, syndrome
225 lsl data1, data1, pos
[all...]
H A Dstrlen.S53 pos .req x12 label
106 clz pos, has_nul2
107 add len, len, pos, lsr #3 /* Bits to bytes. */
H A Dstrnlen.S55 pos .req x13 label
124 clz pos, has_nul2
125 add len, len, pos, lsr #3 /* Bits to bytes. */
H A Dstrncmp.S62 pos .req x12 label
166 csel pos, tmp1, tmp2, hi /*Choose the maximum. */
170 sub limit, limit, pos
174 subs pos, pos, #1
178 cbnz pos, 1f /*find the null or unequal...*/
211 neg pos, tmp3
222 ldr data1, [src1,pos]
223 ldr data2, [src2,pos]
281 clz pos, syndrom
[all...]
/arch/cris/kernel/
H A Dsetup.c169 static void *c_start(struct seq_file *m, loff_t *pos) argument
171 return *pos < nr_cpu_ids ? (void *)(int)(*pos + 1) : NULL;
174 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
176 ++*pos;
177 return c_start(m, pos);
/arch/mips/kernel/
H A Dproc.c146 static void *c_start(struct seq_file *m, loff_t *pos) argument
148 unsigned long i = *pos;
153 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
155 ++*pos;
156 return c_start(m, pos);
/arch/sh/kernel/cpu/
H A Dproc.c132 static void *c_start(struct seq_file *m, loff_t *pos) argument
134 return *pos < NR_CPUS ? cpu_data + *pos : NULL;
136 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
138 ++*pos;
139 return c_start(m, pos);
/arch/tile/kernel/
H A Dproc.c76 static void *c_start(struct seq_file *m, loff_t *pos) argument
78 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL;
80 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument
82 ++*pos;
83 return c_start(m, pos);
/arch/um/kernel/
H A Dexitcode.c40 const char __user *buffer, size_t count, loff_t *pos)
39 exitcode_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument
/arch/x86/boot/
H A Dcmdline.c106 int pos = 0, wstart = 0; local
122 pos++;
133 wstart = pos;
/arch/x86/kernel/cpu/mcheck/
H A Dmce-apei.c116 int rc, pos; local
118 rc = erst_get_record_id_begin(&pos);
122 rc = erst_get_record_id_next(&pos, record_id);
/arch/x86/mm/
H A Dpat_internal.h33 extern int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos);
42 static inline int rbt_memtype_copy_nth_element(struct memtype *out, loff_t pos) argument
/arch/arm/plat-samsung/
H A Ds3c-dma-ops.c85 dma_addr_t pos = param->buf; local
103 while (pos < end) {
104 s3c2410_dma_enqueue(ch, (void *)data, pos, param->period);
105 pos += param->period;
/arch/blackfin/kernel/
H A Dkgdb_test.c76 size_t count, loff_t *pos)
75 kgdb_test_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument
/arch/c6x/kernel/
H A Dptrace.c62 unsigned int pos, unsigned int count,
67 return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
74 unsigned int pos, unsigned int count,
81 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
87 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
93 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
100 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
106 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
60 gpr_get(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf) argument
72 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/arch/c6x/mm/
H A Ddma-coherent.c48 u32 pos; local
51 pos = bitmap_find_free_region(dma_bitmap, dma_pages, order);
54 return dma_base + (pos << PAGE_SHIFT);
60 u32 pos = (addr - dma_base) >> PAGE_SHIFT; local
62 if (addr < dma_base || (pos + (1 << order)) >= dma_pages) {
68 bitmap_release_region(dma_bitmap, pos, order);

Completed in 590 milliseconds

123456