/arch/mips/sibyte/common/ |
D | cfe_console.c | 16 int i, last, written; in cfe_console_write() local 18 for (i=0, last=0; i<count; i++) { in cfe_console_write() 24 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write() 27 last += written; in cfe_console_write() 28 } while (last < i); in cfe_console_write() 33 if (last != count) { in cfe_console_write() 35 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write() 38 last += written; in cfe_console_write() 39 } while (last < count); in cfe_console_write()
|
/arch/um/drivers/ |
D | umcast_kern.c | 74 char *last; in mcast_setup() local 90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup() 91 if ((*last != '\0') || (last == port_str)) { in mcast_setup() 99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup() 100 if ((*last != '\0') || (last == ttl_str)) { in mcast_setup() 120 char *last; in ucast_setup() local 136 init->lport = simple_strtoul(lport_str, &last, 10); in ucast_setup() 137 if ((*last != '\0') || (last == lport_str)) { in ucast_setup() 145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup() 146 if ((*last != '\0') || (last == rport_str)) { in ucast_setup()
|
D | vde_kern.c | 73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local 90 init->port = simple_strtoul(port_str, &last, 10); in vde_setup() 91 if ((*last != '\0') || (last == port_str)) { in vde_setup() 99 init->mode = simple_strtoul(mode_str, &last, 8); in vde_setup() 100 if ((*last != '\0') || (last == mode_str)) { in vde_setup()
|
/arch/um/kernel/ |
D | tlb.c | 126 struct host_vm_op *last; in add_mmap() local 137 last = &hvc->ops[hvc->index - 1]; in add_mmap() 138 if ((last->type == MMAP) && in add_mmap() 139 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap() 140 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap() 141 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap() 142 last->u.mmap.len += len; in add_mmap() 166 struct host_vm_op *last; in add_munmap() local 173 last = &hvc->ops[hvc->index - 1]; in add_munmap() 174 if ((last->type == MUNMAP) && in add_munmap() [all …]
|
/arch/ia64/include/asm/ |
D | switch_to.h | 45 #define __switch_to(prev,next,last) do { \ argument 51 (last) = ia64_switch_to((next)); \ 61 # define switch_to(prev,next,last) do { \ argument 67 __switch_to(prev, next, last); \ 76 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
/arch/x86/kernel/ |
D | pvclock.c | 71 u64 last; in pvclock_clocksource_read() local 103 last = atomic64_read(&last_value); in pvclock_clocksource_read() 105 if (ret < last) in pvclock_clocksource_read() 106 return last; in pvclock_clocksource_read() 107 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read() 108 } while (unlikely(last != ret)); in pvclock_clocksource_read()
|
/arch/xtensa/include/asm/ |
D | switch_to.h | 15 extern void *_switch_to(void *last, void *next); 17 #define switch_to(prev,next,last) \ argument 19 (last) = _switch_to(prev, next); \
|
/arch/powerpc/platforms/pseries/ |
D | vphn.c | 30 u16 last = 0; in vphn_unpack_associativity() local 50 cpu_to_be32(last << 16 | new); in vphn_unpack_associativity() 64 last = new; in vphn_unpack_associativity()
|
/arch/nios2/include/asm/ |
D | switch_to.h | 17 #define switch_to(prev, next, last) \ argument 28 (last) = _last; \
|
/arch/parisc/include/asm/ |
D | switch_to.h | 9 #define switch_to(prev, next, last) do { \ argument 10 (last) = _switch_to(prev, next); \
|
/arch/h8300/include/asm/ |
D | switch_to.h | 35 #define switch_to(prev, next, last) \ argument 49 (last) = _last; \
|
/arch/unicore32/include/asm/ |
D | switch_to.h | 21 #define switch_to(prev, next, last) \ argument 23 last = __switch_to(prev, task_thread_info(prev), \
|
/arch/microblaze/include/asm/ |
D | switch_to.h | 18 #define switch_to(prev, next, last) \ argument 20 (last) = _switch_to(task_thread_info(prev), \
|
/arch/ia64/kernel/ |
D | perfmon_default_smpl.c | 107 void *cur, *last; in default_handler() local 120 last = buf+hdr->hdr_buf_size; in default_handler() 127 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler() 145 cur, last, in default_handler() 146 last-cur, in default_handler() 193 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler() 205 …DPRINT_ovfl(("sampling buffer full free=%lu, count=%lu, ovfl_notify=%d\n", last-cur, hdr->hdr_coun… in default_handler()
|
/arch/m68k/include/asm/ |
D | switch_to.h | 31 #define switch_to(prev,next,last) do { \ argument 39 (last) = _last; \
|
/arch/arm/include/asm/ |
D | switch_to.h | 26 #define switch_to(prev,next,last) \ argument 29 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
/arch/mips/mm/ |
D | sc-ip22.c | 30 static inline void indy_sc_wipe(unsigned long first, unsigned long last) in indy_sc_wipe() argument 69 : "=r" (first), "=r" (last), "=&r" (tmp) in indy_sc_wipe() 70 : "0" (first), "1" (last)); in indy_sc_wipe()
|
/arch/c6x/include/asm/ |
D | switch_to.h | 21 #define switch_to(prev, next, last) \ argument 24 (last) = __switch_to(&(prev)->thread, \
|
/arch/sh/include/asm/ |
D | switch_to_64.h | 21 #define switch_to(prev,next,last) \ argument 27 last = sh64_switch_to(prev, &prev->thread, next, \
|
/arch/sparc/include/asm/ |
D | switch_to_64.h | 21 #define switch_to(prev, next, last) \ argument 57 : "=&r" (last), "=r" (current), "=r" (current_thread_info_reg), \
|
/arch/csky/include/asm/ |
D | switch_to.h | 28 #define switch_to(prev, next, last) \ argument 33 ((last) = __switch_to((prev), (next))); \
|
/arch/x86/events/intel/ |
D | pt.c | 560 int last; member 600 ? &topa_to_page(t)->table[(t)->last] \ 623 tp->topa.last = 0; in topa_alloc() 657 struct topa *last = buf->last; in topa_insert_table() local 662 buf->first = buf->last = buf->cur = topa; in topa_insert_table() 666 topa->offset = last->offset + last->size; in topa_insert_table() 667 buf->last = topa; in topa_insert_table() 672 BUG_ON(last->last != TENTS_PER_PAGE - 1); in topa_insert_table() 674 TOPA_ENTRY(last, -1)->base = topa_pfn(topa); in topa_insert_table() 675 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table() [all …]
|
/arch/mips/jazz/ |
D | jazzdma.c | 99 int first, last, pages, frame, i; in vdma_alloc() local 130 last = first + 1; in vdma_alloc() 131 while (pgtbl[last].owner == VDMA_PAGE_EMPTY in vdma_alloc() 132 && last - first < pages) in vdma_alloc() 133 last++; in vdma_alloc() 135 if (last - first == pages) in vdma_alloc() 137 first = last + 1; in vdma_alloc() 146 for (i = first; i < last; i++) { in vdma_alloc() 163 for (i = first; i < last; i++) in vdma_alloc() 166 for (i = first; i < last; i++) in vdma_alloc() [all …]
|
/arch/arm64/kernel/ |
D | fpsimd.c | 289 struct fpsimd_last_state_struct const *last = in fpsimd_save() local 298 if (WARN_ON(sve_get_vl() != last->sve_vl)) { in fpsimd_save() 308 sve_save_state((char *)last->sve_state + in fpsimd_save() 309 sve_ffr_offset(last->sve_vl), in fpsimd_save() 310 &last->st->fpsr); in fpsimd_save() 312 fpsimd_save_state(last->st); in fpsimd_save() 1094 struct fpsimd_last_state_struct *last = in fpsimd_bind_task_to_cpu() local 1098 last->st = ¤t->thread.uw.fpsimd_state; in fpsimd_bind_task_to_cpu() 1099 last->sve_state = current->thread.sve_state; in fpsimd_bind_task_to_cpu() 1100 last->sve_vl = current->thread.sve_vl; in fpsimd_bind_task_to_cpu() [all …]
|
/arch/arc/include/asm/ |
D | switch_to.h | 36 #define switch_to(prev, next, last) \ argument 40 last = __switch_to(prev, next);\
|