Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 156) sorted by relevance

1234567

/arch/powerpc/mm/
Ddump_linuxpagetables.c240 const struct flag_info *flag; member
248 .flag = flag_array,
251 .flag = flag_array,
254 .flag = flag_array,
257 .flag = flag_array,
263 *flag, u64 pte, int num) in dump_flag_info()
267 for (i = 0; i < num; i++, flag++) { in dump_flag_info()
272 if (flag->mask == 0) in dump_flag_info()
275 if (flag->is_val) { in dump_flag_info()
276 val = pte & flag->val; in dump_flag_info()
[all …]
Ddump_hashpagetable.c161 *flag, u64 pte, int num) in dump_flag_info()
165 for (i = 0; i < num; i++, flag++) { in dump_flag_info()
170 if (flag->mask == 0) in dump_flag_info()
173 if (flag->is_val) { in dump_flag_info()
174 val = pte & flag->val; in dump_flag_info()
175 if (flag->shift) in dump_flag_info()
176 val = val >> flag->shift; in dump_flag_info()
177 seq_printf(st->seq, " %s:%llx", flag->set, val); in dump_flag_info()
179 if ((pte & flag->mask) == flag->val) in dump_flag_info()
180 s = flag->set; in dump_flag_info()
[all …]
/arch/arm/nwfpe/
Dsoftfloat.h229 extern flag floatx80_is_nan(floatx80);
233 static inline flag extractFloat32Sign(float32 a) in extractFloat32Sign()
238 static inline flag float32_eq_nocheck(float32 a, float32 b) in float32_eq_nocheck()
243 static inline flag float32_lt_nocheck(float32 a, float32 b) in float32_lt_nocheck()
245 flag aSign, bSign; in float32_lt_nocheck()
254 static inline flag extractFloat64Sign(float64 a) in extractFloat64Sign()
259 static inline flag float64_eq_nocheck(float64 a, float64 b) in float64_eq_nocheck()
264 static inline flag float64_lt_nocheck(float64 a, float64 b) in float64_lt_nocheck()
266 flag aSign, bSign; in float64_lt_nocheck()
275 extern flag float32_is_nan( float32 a );
[all …]
Dsoftfloat.c70 static int32 roundAndPackInt32( struct roundingData *roundData, flag zSign, bits64 absZ ) in roundAndPackInt32()
73 flag roundNearestEven; in roundAndPackInt32()
138 INLINE flag extractFloat32Sign( float32 a )
177 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32()
217 static float32 roundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 … in roundAndPackFloat32()
220 flag roundNearestEven; in roundAndPackFloat32()
222 flag isTiny; in roundAndPackFloat32()
280 normalizeRoundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32()
319 INLINE flag extractFloat64Sign( float64 a )
358 INLINE float64 packFloat64( flag zSign, int16 zExp, bits64 zSig ) in packFloat64()
[all …]
/arch/sh/kernel/cpu/sh4/
Dsoftfloat.c44 typedef char flag; typedef
72 flag extractFloat64Sign(float64 a);
75 flag extractFloat32Sign(float32 a);
77 float64 packFloat64(flag zSign, int16 zExp, bits64 zSig);
79 float32 packFloat32(flag zSign, int16 zExp, bits32 zSig);
98 static float64 normalizeRoundAndPackFloat64(flag zSign, int16 zExp,
100 static float64 subFloat64Sigs(float64 a, float64 b, flag zSign);
101 static float64 addFloat64Sigs(float64 a, float64 b, flag zSign);
102 static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig);
103 static float32 normalizeRoundAndPackFloat32(flag zSign, int16 zExp,
[all …]
/arch/s390/include/asm/
Dptrace.h133 static inline void set_pt_regs_flag(struct pt_regs *regs, int flag) in set_pt_regs_flag() argument
135 regs->flags |= (1UL << flag); in set_pt_regs_flag()
138 static inline void clear_pt_regs_flag(struct pt_regs *regs, int flag) in clear_pt_regs_flag() argument
140 regs->flags &= ~(1UL << flag); in clear_pt_regs_flag()
143 static inline int test_pt_regs_flag(struct pt_regs *regs, int flag) in test_pt_regs_flag() argument
145 return !!(regs->flags & (1UL << flag)); in test_pt_regs_flag()
Dprocessor.h47 static inline void set_cpu_flag(int flag) in set_cpu_flag() argument
49 S390_lowcore.cpu_flags |= (1UL << flag); in set_cpu_flag()
52 static inline void clear_cpu_flag(int flag) in clear_cpu_flag() argument
54 S390_lowcore.cpu_flags &= ~(1UL << flag); in clear_cpu_flag()
57 static inline int test_cpu_flag(int flag) in test_cpu_flag() argument
59 return !!(S390_lowcore.cpu_flags & (1UL << flag)); in test_cpu_flag()
66 static inline int test_cpu_flag_of(int flag, int cpu) in test_cpu_flag_of() argument
69 return !!(lc->cpu_flags & (1UL << flag)); in test_cpu_flag_of()
/arch/arm/mach-omap2/
Domap-secure.c37 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument
55 ret = omap_smc2(idx, flag, __pa(param)); in omap_secure_dispatcher()
110 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument
130 ret = omap_smc3(idx, process, flag, __pa(param)); in rx51_secure_dispatcher()
163 u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag) in rx51_secure_rng_call() argument
168 3, ptr, count, flag, 0); in rx51_secure_rng_call()
Domap-secure.h64 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
67 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
73 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
76 extern u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag);
Dcpuidle44xx.c101 unsigned long flag; in omap_enter_idle_smp() local
103 raw_spin_lock_irqsave(&mpu_lock, flag); in omap_enter_idle_smp()
109 raw_spin_unlock_irqrestore(&mpu_lock, flag); in omap_enter_idle_smp()
113 raw_spin_lock_irqsave(&mpu_lock, flag); in omap_enter_idle_smp()
117 raw_spin_unlock_irqrestore(&mpu_lock, flag); in omap_enter_idle_smp()
/arch/x86/kernel/
Dpci-dma.c80 dma_addr_t *dma_addr, gfp_t flag, in dma_generic_alloc_coherent() argument
88 dma_mask = dma_alloc_coherent_mask(dev, flag); in dma_generic_alloc_coherent()
90 flag &= ~__GFP_ZERO; in dma_generic_alloc_coherent()
94 if (gfpflags_allow_blocking(flag)) { in dma_generic_alloc_coherent()
96 flag); in dma_generic_alloc_coherent()
107 page = alloc_pages_node(dev_to_node(dev), flag, get_order(size)); in dma_generic_alloc_coherent()
115 if (dma_mask < DMA_BIT_MASK(32) && !(flag & GFP_DMA)) { in dma_generic_alloc_coherent()
116 flag = (flag & ~GFP_DMA32) | GFP_DMA; in dma_generic_alloc_coherent()
/arch/powerpc/platforms/pasemi/
Ddma_lib.c408 void pasemi_dma_free_flag(int flag) in pasemi_dma_free_flag() argument
410 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag()
411 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag()
412 set_bit(flag, flags_free); in pasemi_dma_free_flag()
422 void pasemi_dma_set_flag(int flag) in pasemi_dma_set_flag() argument
424 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_set_flag()
425 if (flag < 32) in pasemi_dma_set_flag()
426 pasemi_write_dma_reg(PAS_DMA_TXF_SFLG0, 1 << flag); in pasemi_dma_set_flag()
428 pasemi_write_dma_reg(PAS_DMA_TXF_SFLG1, 1 << flag); in pasemi_dma_set_flag()
437 void pasemi_dma_clear_flag(int flag) in pasemi_dma_clear_flag() argument
[all …]
/arch/x86/boot/compressed/
Dcpuflags.c6 bool has_cpuflag(int flag) in has_cpuflag() argument
10 return test_bit(flag, cpu.flags); in has_cpuflag()
/arch/powerpc/include/asm/
Deeh.h225 static inline void eeh_add_flag(int flag) in eeh_add_flag() argument
227 eeh_subsystem_flags |= flag; in eeh_add_flag()
230 static inline void eeh_clear_flag(int flag) in eeh_clear_flag() argument
232 eeh_subsystem_flags &= ~flag; in eeh_clear_flag()
235 static inline bool eeh_has_flag(int flag) in eeh_has_flag() argument
237 return !!(eeh_subsystem_flags & flag); in eeh_has_flag()
259 typedef void *(*eeh_traverse_func)(void *data, void *flag);
269 eeh_traverse_func fn, void *flag);
271 eeh_traverse_func fn, void *flag);
/arch/powerpc/kernel/
Ddma.c66 dma_addr_t *dma_handle, gfp_t flag, in __dma_direct_alloc_coherent() argument
71 ret = __dma_alloc_coherent(dev, size, dma_handle, flag); in __dma_direct_alloc_coherent()
98 flag |= GFP_DMA; in __dma_direct_alloc_coherent()
102 flag |= GFP_DMA32; in __dma_direct_alloc_coherent()
109 flag &= ~(__GFP_HIGHMEM); in __dma_direct_alloc_coherent()
111 page = alloc_pages_node(node, flag, get_order(size)); in __dma_direct_alloc_coherent()
134 dma_addr_t *dma_handle, gfp_t flag, in dma_direct_alloc_coherent() argument
144 flag, attrs); in dma_direct_alloc_coherent()
153 dev->coherent_dma_mask, flag, in dma_direct_alloc_coherent()
Deeh_pe.c176 eeh_traverse_func fn, void *flag) in eeh_pe_traverse() argument
182 ret = fn(pe, flag); in eeh_pe_traverse()
199 eeh_traverse_func fn, void *flag) in eeh_pe_dev_traverse() argument
214 ret = fn(edev, flag); in eeh_pe_dev_traverse()
238 static void *__eeh_pe_get(void *data, void *flag) in __eeh_pe_get() argument
241 struct eeh_pe_get_flag *tmp = (struct eeh_pe_get_flag *) flag; in __eeh_pe_get()
554 static void *__eeh_pe_state_mark(void *data, void *flag) in __eeh_pe_state_mark() argument
557 int state = *((int *)flag); in __eeh_pe_state_mark()
598 static void *__eeh_pe_dev_mode_mark(void *data, void *flag) in __eeh_pe_dev_mode_mark() argument
601 int mode = *((int *)flag); in __eeh_pe_dev_mode_mark()
[all …]
/arch/xtensa/kernel/
Dpci-dma.c145 dma_addr_t *handle, gfp_t flag, in xtensa_dma_alloc() argument
155 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in xtensa_dma_alloc()
158 flag |= GFP_DMA; in xtensa_dma_alloc()
160 if (gfpflags_allow_blocking(flag)) in xtensa_dma_alloc()
162 flag); in xtensa_dma_alloc()
165 page = alloc_pages(flag, get_order(size)); in xtensa_dma_alloc()
/arch/mips/lantiq/xway/
Ddma.c104 unsigned long flag; in ltq_dma_open() local
106 spin_lock_irqsave(&ltq_dma_lock, flag); in ltq_dma_open()
110 spin_unlock_irqrestore(&ltq_dma_lock, flag); in ltq_dma_open()
117 unsigned long flag; in ltq_dma_close() local
119 spin_lock_irqsave(&ltq_dma_lock, flag); in ltq_dma_close()
123 spin_unlock_irqrestore(&ltq_dma_lock, flag); in ltq_dma_close()
/arch/x86/include/asm/
Dcpufeature.h39 #define x86_cap_flag(flag) x86_cap_flags[flag] argument
42 #define x86_cap_flag(flag) ((flag) >> 5), ((flag) & 31) argument
/arch/sparc/kernel/
Dunaligned_64.c443 int flag; in handle_ldf_stq() local
454 flag = (freg < 32) ? FPRS_DL : FPRS_DU; in handle_ldf_stq()
460 if (current_thread_info()->fpsaved[0] & flag) { in handle_ldf_stq()
523 flag = (freg < 32) ? FPRS_DL : FPRS_DU; in handle_ldf_stq()
557 if (!(current_thread_info()->fpsaved[0] & flag)) { in handle_ldf_stq()
564 current_thread_info()->fpsaved[0] |= flag; in handle_ldf_stq()
604 int flag; in handle_lddfmna() local
634 flag = (freg < 32) ? FPRS_DL : FPRS_DU; in handle_lddfmna()
639 if (!(current_thread_info()->fpsaved[0] & flag)) { in handle_lddfmna()
646 current_thread_info()->fpsaved[0] |= flag; in handle_lddfmna()
[all …]
/arch/m68k/kernel/
Ddma.c22 gfp_t flag, unsigned long attrs) in m68k_dma_alloc() argument
29 pr_debug("dma_alloc_coherent: %d,%x\n", size, flag); in m68k_dma_alloc()
34 page = alloc_pages(flag, order); in m68k_dma_alloc()
39 map = kmalloc(sizeof(struct page *) << order, flag & ~__GFP_DMA); in m68k_dma_alloc()
/arch/frv/include/asm/
Duaccess.h31 int flag = -EFAULT, tmp; in ___range_ok() local
40 : "=r"(flag), "=&r"(tmp) in ___range_ok()
41 : "r"(addr), "r"(size), "r"(get_addr_limit()), "0"(flag) in ___range_ok()
44 return flag; in ___range_ok()
/arch/mn10300/include/asm/
Duaccess.h47 int flag = 1, tmp; in ___range_ok() local
55 : "=r"(flag), "=&r"(tmp) in ___range_ok()
57 "r"(current_thread_info()->addr_limit.seg), "0"(flag) in ___range_ok()
61 return flag; in ___range_ok()
/arch/microblaze/kernel/
Ddma.c20 dma_addr_t *dma_handle, gfp_t flag, in dma_direct_alloc_coherent() argument
24 return consistent_alloc(flag, size, dma_handle); in dma_direct_alloc_coherent()
31 flag &= ~(__GFP_HIGHMEM); in dma_direct_alloc_coherent()
33 page = alloc_pages_node(node, flag, get_order(size)); in dma_direct_alloc_coherent()
/arch/x86/crypto/sha256-mb/
Dsha256_mb.c98 rctx->flag = HASH_UPDATE; in req_ctx_init()
408 int flag = HASH_UPDATE; in sha_finish_walk() local
414 while (!(rctx->flag & HASH_DONE)) { in sha_finish_walk()
422 rctx->flag |= HASH_DONE; in sha_finish_walk()
423 if (rctx->flag & HASH_FINAL) in sha_finish_walk()
424 flag |= HASH_LAST; in sha_finish_walk()
431 rctx->walk.data, nbytes, flag); in sha_finish_walk()
446 if (rctx->flag & HASH_FINAL) in sha_finish_walk()
548 rctx->flag |= HASH_DONE; in sha256_mb_update()
587 int ret = 0, flag = HASH_UPDATE, nbytes; in sha256_mb_finup() local
[all …]

1234567