Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 191) sorted by relevance

12345678

/arch/mips/sibyte/common/
Dcfe_console.c15 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/
Dumcast_kern.c74 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()
Dvde_kern.c73 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/
Dtlb.c101 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/
Dswitch_to.h44 #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/
Dswitch_to.h24 #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/
Dswitch_to.h15 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/
Dswitch_to.h4 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/
Dpvclock.c80 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/
Dextable_64.c46 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/
Dextable.c14 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/
Dvphn.c29 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/
Djazzdma.c95 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/
Dextable.c74 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/
Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
28 (last) = _last; \
/arch/x86/include/asm/
Dswitch_to.h47 #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/
Dswitch_to.h8 #define switch_to(prev, next, last) do { \ argument
9 (last) = _switch_to(prev, next); \
/arch/cris/include/asm/
Dswitch_to.h9 #define switch_to(prev,next,last) last = resume(prev,next, \ argument
/arch/h8300/include/asm/
Dswitch_to.h34 #define switch_to(prev, next, last) \ argument
48 (last) = _last; \
/arch/microblaze/include/asm/
Dswitch_to.h18 #define switch_to(prev, next, last) \ argument
20 (last) = _switch_to(task_thread_info(prev), \
/arch/unicore32/include/asm/
Dswitch_to.h24 #define switch_to(prev, next, last) \ argument
26 last = __switch_to(prev, task_thread_info(prev), \
/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c331 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/
Dextable.c84 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/
Dswitch_to.h30 #define switch_to(prev,next,last) do { \ argument
38 (last) = _last; \
/arch/arm/include/asm/
Dswitch_to.h25 #define switch_to(prev,next,last) \ argument
28 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \

12345678