Home
last modified time | relevance | path

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

1234567

/arch/mips/sibyte/common/
Dcfe_console.c16 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/kernel/
Dtlb.c125 struct host_vm_op *last; in add_mmap() local
136 last = &hvc->ops[hvc->index - 1]; in add_mmap()
137 if ((last->type == MMAP) && in add_mmap()
138 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap()
139 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
140 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap()
141 last->u.mmap.len += len; in add_mmap()
165 struct host_vm_op *last; in add_munmap() local
172 last = &hvc->ops[hvc->index - 1]; in add_munmap()
173 if ((last->type == MUNMAP) && in add_munmap()
[all …]
/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/ia64/include/asm/
Dswitch_to.h37 #define __switch_to(prev,next,last) do { \ argument
43 (last) = ia64_switch_to((next)); \
53 # define switch_to(prev,next,last) do { \ argument
59 __switch_to(prev, next, last); \
68 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
/arch/x86/kernel/
Dpvclock.c71 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/
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/powerpc/platforms/pseries/
Dvphn.c30 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/
Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
28 (last) = _last; \
/arch/parisc/include/asm/
Dswitch_to.h9 #define switch_to(prev, next, last) do { \ argument
10 (last) = _switch_to(prev, next); \
/arch/ia64/kernel/
Dperfmon_default_smpl.c107 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/h8300/include/asm/
Dswitch_to.h35 #define switch_to(prev, next, last) \ argument
49 (last) = _last; \
/arch/microblaze/include/asm/
Dswitch_to.h15 #define switch_to(prev, next, last) \ argument
17 (last) = _switch_to(task_thread_info(prev), \
/arch/arc/include/asm/
Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
21 last = __switch_to(prev, next);\
/arch/m68k/include/asm/
Dswitch_to.h31 #define switch_to(prev,next,last) do { \ argument
39 (last) = _last; \
/arch/arm/include/asm/
Dswitch_to.h26 #define switch_to(prev,next,last) \ argument
29 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
/arch/mips/mm/
Dsc-ip22.c29 static inline void indy_sc_wipe(unsigned long first, unsigned long last) in indy_sc_wipe() argument
68 : "=r" (first), "=r" (last), "=&r" (tmp) in indy_sc_wipe()
69 : "0" (first), "1" (last)); in indy_sc_wipe()
/arch/mips/jazz/
Djazzdma.c97 int first, last, pages, frame, i; in vdma_alloc() local
128 last = first + 1; in vdma_alloc()
129 while (pgtbl[last].owner == VDMA_PAGE_EMPTY in vdma_alloc()
130 && last - first < pages) in vdma_alloc()
131 last++; in vdma_alloc()
133 if (last - first == pages) in vdma_alloc()
135 first = last + 1; in vdma_alloc()
144 for (i = first; i < last; i++) { in vdma_alloc()
161 for (i = first; i < last; i++) in vdma_alloc()
164 for (i = first; i < last; i++) in vdma_alloc()
[all …]
/arch/c6x/include/asm/
Dswitch_to.h21 #define switch_to(prev, next, last) \ argument
24 (last) = __switch_to(&(prev)->thread, \
/arch/sparc/include/asm/
Dswitch_to_64.h21 #define switch_to(prev, next, last) \ argument
57 : "=&r" (last), "=r" (current), "=r" (current_thread_info_reg), \
/arch/csky/include/asm/
Dswitch_to.h28 #define switch_to(prev, next, last) \ argument
33 ((last) = __switch_to((prev), (next))); \
/arch/arm64/kernel/
Dfpsimd.c302 struct fpsimd_last_state_struct const *last = in fpsimd_save() local
311 if (WARN_ON(sve_get_vl() != last->sve_vl)) { in fpsimd_save()
321 sve_save_state((char *)last->sve_state + in fpsimd_save()
322 sve_ffr_offset(last->sve_vl), in fpsimd_save()
323 &last->st->fpsr); in fpsimd_save()
325 fpsimd_save_state(last->st); in fpsimd_save()
1106 struct fpsimd_last_state_struct *last = in fpsimd_bind_task_to_cpu() local
1110 last->st = &current->thread.uw.fpsimd_state; in fpsimd_bind_task_to_cpu()
1111 last->sve_state = current->thread.sve_state; in fpsimd_bind_task_to_cpu()
1112 last->sve_vl = current->thread.sve_vl; in fpsimd_bind_task_to_cpu()
[all …]
/arch/x86/events/intel/
Dpt.c562 int last; member
602 ? &topa_to_page(t)->table[(t)->last] \
652 tp->topa.last = 0; in topa_alloc()
686 struct topa *last = buf->last; in topa_insert_table() local
691 buf->first = buf->last = buf->cur = topa; in topa_insert_table()
695 topa->offset = last->offset + last->size; in topa_insert_table()
696 buf->last = topa; in topa_insert_table()
701 BUG_ON(last->last != TENTS_PER_PAGE - 1); in topa_insert_table()
703 TOPA_ENTRY(last, -1)->base = topa_pfn(topa); in topa_insert_table()
704 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table()
[all …]
/arch/mips/lib/
Dr3k_dump_tlb.c28 static void dump_tlb(int first, int last) in dump_tlb() argument
37 for (i = first; i <= last; i++) { in dump_tlb()
/arch/arm/boot/compressed/
Dstring.c126 const char *last = NULL; in strrchr() local
129 last = s; in strrchr()
131 return (char *)last; in strrchr()

1234567