Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 247) sorted by relevance

12345678910

/arch/mips/jazz/
Djazzdma.c99 int first, last, pages, frame, i; in vdma_alloc() local
121 first = 0; in vdma_alloc()
123 while (pgtbl[first].owner != VDMA_PAGE_EMPTY && in vdma_alloc()
124 first < VDMA_PGTBL_ENTRIES) first++; in vdma_alloc()
125 if (first + pages > VDMA_PGTBL_ENTRIES) { /* nothing free */ in vdma_alloc()
130 last = first + 1; in vdma_alloc()
132 && last - first < pages) in vdma_alloc()
135 if (last - first == pages) in vdma_alloc()
137 first = last + 1; in vdma_alloc()
143 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()
[all …]
/arch/alpha/lib/
Dcsum_partial_copy.c143 unsigned long first; in csum_partial_cfu_dest_aligned() local
148 err |= __get_user_u(first,src); in csum_partial_cfu_dest_aligned()
154 extql(first, soff, word); in csum_partial_cfu_dest_aligned()
157 extqh(second, soff, first); in csum_partial_cfu_dest_aligned()
159 word |= first; in csum_partial_cfu_dest_aligned()
160 first = second; in csum_partial_cfu_dest_aligned()
173 extql(first, soff, word); in csum_partial_cfu_dest_aligned()
174 extqh(second, soff, first); in csum_partial_cfu_dest_aligned()
175 word |= first; in csum_partial_cfu_dest_aligned()
257 unsigned long first; in csum_partial_cfu_unaligned() local
[all …]
Dstxncpy.S59 mskql t0, a1, t0 # e0 : assemble the first output word
135 ldq_u t1, 0(a1) # e0 : load first src word
162 or t1, t4, t1 # e1 : first aligned src word complete
164 or t0, t1, t0 # e0 : first output word complete
173 stq_u t0, 0(a0) # e0 : store first output word
231 or t0, t1, t0 # e0 : first (partial) source word complete
233 cmpbge zero, t0, t8 # e0 : is the null in this first bit?
293 ldq_u t1, 0(a1) # e0 : load first source word
/arch/sh/mm/
Dtlb-sh5.c26 cpu_data->dtlb.first = DTLB_FIXED | cpu_data->dtlb.step; in sh64_tlb_init()
27 cpu_data->dtlb.next = cpu_data->dtlb.first; in sh64_tlb_init()
37 cpu_data->itlb.first = ITLB_FIXED | cpu_data->itlb.step; in sh64_tlb_init()
38 cpu_data->itlb.next = cpu_data->itlb.first; in sh64_tlb_init()
61 cpu_data->dtlb.first += cpu_data->dtlb.step; in sh64_get_wired_dtlb_entry()
99 if (entry < (cpu_data->dtlb.first - cpu_data->dtlb.step)) in sh64_put_wired_dtlb_entry()
103 cpu_data->dtlb.first -= cpu_data->dtlb.step; in sh64_put_wired_dtlb_entry()
222 next = tlbp->first; in __update_tlb()
/arch/arm/include/asm/
Dopcodes.h146 #define __opcode_thumb32_compose(first, second) ( \ argument
147 (___opcode_identity32(___opcode_identity16(first)) << 16) \
152 #define ___asm_opcode_thumb32_compose(first, second) ( \ argument
153 (___asm_opcode_identity32(___asm_opcode_identity16(first)) << 16) \
220 #define ___inst_thumb32(first, second) .short first, second
224 #define ___inst_thumb32(first, second) \ argument
225 ".short " __stringify(first) ", " __stringify(second) "\n\t"
/arch/s390/boot/
Dals.c67 int i, j, first; in print_missing_facilities() local
69 first = 1; in print_missing_facilities()
75 if (!first) in print_missing_facilities()
89 first = 0; in print_missing_facilities()
/arch/arm/kernel/
Dinsn.c11 unsigned long first, second; in __arm_gen_branch_thumb2() local
29 first = 0xf000 | (s << 10) | imm10; in __arm_gen_branch_thumb2()
34 return __opcode_thumb32_compose(first, second); in __arm_gen_branch_thumb2()
Dprocess.c373 unsigned long first; in sigpage_addr() local
378 first = PAGE_ALIGN(mm->start_stack); in sigpage_addr()
383 if (first > last) in sigpage_addr()
387 if (first == last) in sigpage_addr()
388 return first; in sigpage_addr()
390 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr()
394 addr = first + (offset << PAGE_SHIFT); in sigpage_addr()
/arch/mips/mm/
Dsc-ip22.c30 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()
Duasm.c514 void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, in uasm_move_relocs() argument
518 if (rel->addr >= first && rel->addr < end) in uasm_move_relocs()
523 void uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, in uasm_move_labels() argument
527 if (lab->addr >= first && lab->addr < end) in uasm_move_labels()
533 u32 *first, u32 *end, u32 *target) in uasm_copy_handler() argument
535 long off = (long)(target - first); in uasm_copy_handler()
537 memcpy(target, first, (end - first) * sizeof(u32)); in uasm_copy_handler()
539 uasm_move_relocs(rel, first, end, off); in uasm_copy_handler()
540 uasm_move_labels(lab, first, end, off); in uasm_copy_handler()
/arch/c6x/platforms/
Dtimer64.c178 struct device_node *np, *first = NULL; in timer64_init() local
189 } else if (!first) in timer64_init()
190 first = np; in timer64_init()
194 if (first) in timer64_init()
195 np = of_node_get(first); in timer64_init()
/arch/unicore32/kernel/
Dtraps.c67 unsigned long first; in dump_mem() local
82 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
89 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
98 printk(KERN_DEFAULT "%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem()
/arch/sparc/kernel/
Dsys_sparc_64.c334 SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() argument
346 err = ksys_semtimedop(first, ptr, in SYSCALL_DEFINE6()
350 err = ksys_semtimedop(first, ptr, (unsigned int)second, in SYSCALL_DEFINE6()
355 err = ksys_semget(first, (int)second, (int)third); in SYSCALL_DEFINE6()
358 err = ksys_old_semctl(first, second, in SYSCALL_DEFINE6()
371 err = ksys_msgsnd(first, ptr, (size_t)second, in SYSCALL_DEFINE6()
375 err = ksys_msgrcv(first, ptr, (size_t)second, fifth, in SYSCALL_DEFINE6()
379 err = ksys_msgget((key_t)first, (int)second); in SYSCALL_DEFINE6()
382 err = ksys_old_msgctl(first, (int)second | IPC_64, ptr); in SYSCALL_DEFINE6()
393 err = do_shmat(first, ptr, (int)second, &raddr, SHMLBA); in SYSCALL_DEFINE6()
[all …]
Dsun4m_smp.c123 int i, first; in smp4m_smp_done() local
127 first = 0; in smp4m_smp_done()
128 prev = &first; in smp4m_smp_done()
133 *prev = first; in smp4m_smp_done()
Dunaligned_64.c451 u64 first = 0, second = 0; in handle_ldf_stq() local
461 first = *(u64 *)&f->regs[freg]; in handle_ldf_stq()
475 u64 tmp = __swab64p(&first); in handle_ldf_stq()
477 first = __swab64p(&second); in handle_ldf_stq()
488 if (put_user (first >> 32, (u32 __user *)addr) || in handle_ldf_stq()
489 __put_user ((u32)first, (u32 __user *)(addr + 4)) || in handle_ldf_stq()
614 u32 first, second; in handle_lddfmna() local
620 first = second = 0; in handle_lddfmna()
621 err = get_user(first, (u32 __user *)sfar); in handle_lddfmna()
627 first = second = 0; in handle_lddfmna()
[all …]
Dsun4d_smp.c165 int i, first; in smp4d_smp_done() local
169 first = 0; in smp4d_smp_done()
170 prev = &first; in smp4d_smp_done()
175 *prev = first; in smp4d_smp_done()
/arch/sh/include/asm/
Dtlb_64.h26 for (tlb = cpu_data->dtlb.first; \
36 for (tlb = cpu_data->itlb.first; \
/arch/mips/lib/
Dr3k_dump_tlb.c29 static void dump_tlb(int first, int last) in dump_tlb() argument
38 for (i = first; i <= last; i++) { in dump_tlb()
/arch/arm/vdso/
DMakefile64 first=`echo $$buildid | cut -b-2`; \
66 mkdir -p "$(MODLIB)/vdso/.build-id/$$first"; \
67 ln -sf "../../vdso.so" "$(MODLIB)/vdso/.build-id/$$first/$$last.debug"; \
/arch/s390/kernel/
Dsys_s390.c65 SYSCALL_DEFINE5(s390_ipc, uint, call, int, first, unsigned long, second, in SYSCALL_DEFINE5() argument
78 return ksys_ipc(call, first, second, third, ptr, third); in SYSCALL_DEFINE5()
/arch/nds32/kernel/
Dtraps.c27 unsigned long first; in dump_mem() local
41 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
48 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
57 pr_emerg("%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem()
/arch/arm/mach-sunxi/
Dheadsmp.S59 adr r1, first
69 first: .word sunxi_mc_smp_first_comer - . label
/arch/m68k/math-emu/
Dmulti_arith.h186 unsigned long fix, rem, first, dummy; in fp_dividemant() local
215 fp_div64(first, rem, 0, src->mant.m32[1], div->mant.m32[0]); in fp_dividemant()
217 fp_mul64(*mantp, dummy, first, fix); in fp_dividemant()
220 fp_div64(first, rem, src->mant.m32[0], src->mant.m32[1], div->mant.m32[0]); in fp_dividemant()
222 fp_mul64(*mantp, dummy, first, fix); in fp_dividemant()
225 fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp); in fp_dividemant()
/arch/powerpc/platforms/powernv/
Didle.c228 int first = cpu_first_thread_sibling(cpu); in atomic_start_thread_idle() local
230 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_start_thread_idle()
238 int first = cpu_first_thread_sibling(cpu); in atomic_stop_thread_idle() local
240 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_stop_thread_idle()
248 int first = cpu_first_thread_sibling(cpu); in atomic_lock_thread_idle() local
249 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_lock_thread_idle()
258 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_and_stop_thread_idle() local
260 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_unlock_and_stop_thread_idle()
279 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_thread_idle() local
280 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_unlock_thread_idle()
[all …]
/arch/arm/crypto/
Daes-ce-glue.c48 u32 const rk2[], int first);
51 u32 const rk2[], int first);
458 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt() local
489 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { in xts_encrypt()
498 ctx->key2.key_enc, first); in xts_encrypt()
520 ctx->key2.key_enc, first); in xts_encrypt()
530 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt() local
561 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { in xts_decrypt()
570 ctx->key2.key_enc, first); in xts_decrypt()
592 ctx->key2.key_enc, first); in xts_decrypt()

12345678910