/arch/mips/sibyte/common/ |
D | cfe_console.c | 15 int i, last, written; in cfe_console_write() local 17 for (i=0, last=0; i<count; i++) { in cfe_console_write() 23 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write() 26 last += written; in cfe_console_write() 27 } while (last < i); in cfe_console_write() 32 if (last != count) { in cfe_console_write() 34 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write() 37 last += written; in cfe_console_write() 38 } 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 | 101 struct host_vm_op *last; in add_mmap() local 106 last = &hvc->ops[hvc->index - 1]; in add_mmap() 107 if ((last->type == MMAP) && in add_mmap() 108 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap() 109 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap() 110 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap() 111 last->u.mmap.len += len; in add_mmap() 135 struct host_vm_op *last; in add_munmap() local 142 last = &hvc->ops[hvc->index - 1]; in add_munmap() 143 if ((last->type == MUNMAP) && in add_munmap() [all …]
|
/arch/ia64/include/asm/ |
D | switch_to.h | 44 #define __switch_to(prev,next,last) do { \ argument 50 (last) = ia64_switch_to((next)); \ 60 # define switch_to(prev,next,last) do { \ argument 66 __switch_to(prev, next, last); \ 76 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
/arch/blackfin/include/asm/ |
D | switch_to.h | 24 #define switch_to(prev,next,last) \ argument 30 (last) = resume (prev, next); \ 33 #define switch_to(prev, next, last) \ argument 35 (last) = resume(prev, next); \
|
/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/score/include/asm/ |
D | switch_to.h | 4 extern void *resume(void *last, void *next, void *next_ti); 6 #define switch_to(prev, next, last) \ argument 8 (last) = resume(prev, next, task_thread_info(next)); \
|
/arch/x86/kernel/ |
D | pvclock.c | 80 u64 last; in pvclock_clocksource_read() local 112 last = atomic64_read(&last_value); in pvclock_clocksource_read() 114 if (ret < last) in pvclock_clocksource_read() 115 return last; in pvclock_clocksource_read() 116 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read() 117 } while (unlikely(last != ret)); in pvclock_clocksource_read()
|
/arch/sh/mm/ |
D | extable_64.c | 46 const struct exception_table_entry *last, in search_extable() argument 55 while (first <= last) { in search_extable() 58 mid = (last - first) / 2 + first; in search_extable() 65 last = mid-1; in search_extable()
|
/arch/s390/mm/ |
D | extable.c | 14 const struct exception_table_entry *last, in search_extable() argument 20 while (first <= last) { in search_extable() 21 mid = ((last - first) >> 1) + first; in search_extable() 26 last = mid - 1; in search_extable()
|
/arch/powerpc/mm/ |
D | vphn.c | 29 u16 last = 0; in vphn_unpack_associativity() local 48 cpu_to_be32(last << 16 | new); in vphn_unpack_associativity() 61 last = new; in vphn_unpack_associativity()
|
/arch/mips/jazz/ |
D | jazzdma.c | 95 int first, last, pages, frame, i; in vdma_alloc() local 126 last = first + 1; in vdma_alloc() 127 while (pgtbl[last].owner == VDMA_PAGE_EMPTY in vdma_alloc() 128 && last - first < pages) in vdma_alloc() 129 last++; in vdma_alloc() 131 if (last - first == pages) in vdma_alloc() 133 first = last + 1; in vdma_alloc() 142 for (i = first; i < last; i++) { in vdma_alloc() 159 for (i = first; i < last; i++) in vdma_alloc() 162 for (i = first; i < last; i++) in vdma_alloc() [all …]
|
/arch/alpha/mm/ |
D | extable.c | 74 const struct exception_table_entry *last, in search_extable() argument 77 while (first <= last) { in search_extable() 81 mid = (last - first) / 2 + first; in search_extable() 88 last = mid-1; in search_extable()
|
/arch/nios2/include/asm/ |
D | switch_to.h | 17 #define switch_to(prev, next, last) \ argument 28 (last) = _last; \
|
/arch/x86/include/asm/ |
D | switch_to.h | 47 #define switch_to(prev, next, last) \ argument 74 "=a" (last), \ 142 #define switch_to(prev, next, last) \ argument 155 : "=a" (last) \
|
/arch/parisc/include/asm/ |
D | switch_to.h | 8 #define switch_to(prev, next, last) do { \ argument 9 (last) = _switch_to(prev, next); \
|
/arch/cris/include/asm/ |
D | switch_to.h | 9 #define switch_to(prev,next,last) last = resume(prev,next, \ argument
|
/arch/h8300/include/asm/ |
D | switch_to.h | 34 #define switch_to(prev, next, last) \ argument 48 (last) = _last; \
|
/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/unicore32/include/asm/ |
D | switch_to.h | 24 #define switch_to(prev, next, last) \ argument 26 last = __switch_to(prev, task_thread_info(prev), \
|
/arch/x86/kernel/cpu/ |
D | perf_event_intel_pt.c | 331 int last; member 335 #define TOPA_ENTRY(t, i) ((i) == -1 ? &(t)->table[(t)->last] : &(t)->table[(i)]) 355 topa->last = 0; in topa_alloc() 390 struct topa *last = buf->last; in topa_insert_table() local 395 buf->first = buf->last = buf->cur = topa; in topa_insert_table() 399 topa->offset = last->offset + last->size; in topa_insert_table() 400 buf->last = topa; in topa_insert_table() 405 BUG_ON(last->last != TENTS_PER_PAGE - 1); in topa_insert_table() 407 TOPA_ENTRY(last, -1)->base = topa->phys >> TOPA_SHIFT; in topa_insert_table() 408 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table() [all …]
|
/arch/ia64/mm/ |
D | extable.c | 84 const struct exception_table_entry *last, in search_extable() argument 91 while (first <= last) { in search_extable() 92 mid = &first[(last - first)/2]; in search_extable() 100 last = mid - 1; in search_extable()
|
/arch/m68k/include/asm/ |
D | switch_to.h | 30 #define switch_to(prev,next,last) do { \ argument 38 (last) = _last; \
|
/arch/arm/include/asm/ |
D | switch_to.h | 25 #define switch_to(prev,next,last) \ argument 28 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|