Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.6.21/rust/kernel/sync/
Dcondvar.rs106 fn wait_internal<T: ?Sized, B: Backend>(&self, wait_state: u32, guard: &mut Guard<'_, T, B>) { in wait_internal()
118 guard.do_unlocked(|| unsafe { bindings::schedule() }); in wait_internal()
133 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait()
134 self.wait_internal(bindings::TASK_INTERRUPTIBLE, guard); in wait()
142 pub fn wait_uninterruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait_uninterruptible()
143 self.wait_internal(bindings::TASK_UNINTERRUPTIBLE, guard) in wait_uninterruptible()
/linux-6.6.21/scripts/
Dsyscallnr.sh57 guard=_ASM_$(basename "$outfile" |
62 echo "#ifndef $guard"
63 echo "#define $guard"
73 echo "#endif /* $guard */"
Dsyscallhdr.sh68 guard=_UAPI_ASM_$(basename "$outfile" |
73 echo "#ifndef $guard"
74 echo "#define $guard"
97 echo "#endif /* $guard */"
Dgcc-x86_32-has-stack-protector.sh8 …* -S -x c -c -m32 -O0 -fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-sym…
/linux-6.6.21/arch/parisc/math-emu/
Dcnv_float.h88 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument
90 guard = Dbit3p2(srcB); \
92 inexact = guard | sticky; \
95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
101 guard = inexact >> 31; \
124 if (guard && (sticky || odd)) { \
134 guard = odd; \
136 inexact |= guard; \
144 guard = inexact >> 31; \
157 guard = inexact >> 31; \
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_vma_resource.h129 u32 guard; member
214 u32 guard) in i915_vma_resource_init() argument
232 vma_res->guard = guard; in i915_vma_resource_init()
Di915_vma.c424 __i915_vma_size(vma), vma->size, vma->guard); in i915_vma_resource_init_from_vma()
683 vma->guard < (flags & PIN_OFFSET_MASK)) in i915_vma_misplaced()
759 unsigned long color, guard; in i915_vma_insert() local
779 guard = vma->guard; /* retain guard across rebinds */ in i915_vma_insert()
782 guard = max_t(u32, guard, flags & PIN_OFFSET_MASK); in i915_vma_insert()
789 guard = ALIGN(guard, alignment); in i915_vma_insert()
808 if (size > end - 2 * guard) { in i915_vma_insert()
831 if (offset < guard || offset + size > end - guard) in i915_vma_insert()
835 size + 2 * guard, in i915_vma_insert()
836 offset - guard, in i915_vma_insert()
[all …]
/linux-6.6.21/Documentation/mm/
Dvmalloced-kernel-stacks.rst25 Virtually-mapped kernel stacks with guard pages causes kernel stack
30 support for virtually mapped stacks with guard pages. This feature
53 - If the stack overflows into a guard page, something reasonable
64 with guard pages. This causes kernel stack overflows to be caught
123 Leading and trailing guard pages help detect stack overflows. When stack
124 overflows into the guard pages, handlers have to be careful not overflow
131 Testing VMAP allocation with guard pages
135 and trailing guard page? The following lkdtm tests can help detect any
/linux-6.6.21/drivers/gpio/
Dgpio-sim.c73 guard(mutex)(&chip->lock); in gpio_sim_apply_pull()
116 guard(mutex)(&chip->lock); in gpio_sim_get()
666 guard(mutex)(&dev->lock); in gpio_sim_device_config_dev_name_show()
968 guard(mutex)(&dev->lock); in gpio_sim_device_config_live_store()
1014 guard(mutex)(&dev->lock); in gpio_sim_bank_config_chip_name_show()
1031 guard(mutex)(&dev->lock); in gpio_sim_bank_config_label_show()
1043 guard(mutex)(&dev->lock); in gpio_sim_bank_config_label_store()
1066 guard(mutex)(&dev->lock); in gpio_sim_bank_config_num_lines_show()
1087 guard(mutex)(&dev->lock); in gpio_sim_bank_config_num_lines_store()
1112 guard(mutex)(&dev->lock); in gpio_sim_line_config_name_show()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/display/
Datmel,lcdc.txt55 - atmel,guard-time: lcd guard time (Delay in frame periods)
70 atmel,guard-time = <9>;
/linux-6.6.21/Documentation/arch/arm64/
Dmemory.rst39 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
41 fffffbffff800000 fffffbffffffffff 8MB [guard region]
43 fffffe0000000000 ffffffffffffffff 2TB [guard region]
56 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
58 fffffbffff800000 fffffbffffffffff 8MB [guard region]
60 ffffffe000000000 ffffffffffffffff 128GB [guard region]
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c143 enum fe_guard_interval *guard) in mxl1x1sf_demod_get_tps_guard_interval() argument
153 *guard = GUARD_INTERVAL_1_32; in mxl1x1sf_demod_get_tps_guard_interval()
156 *guard = GUARD_INTERVAL_1_16; in mxl1x1sf_demod_get_tps_guard_interval()
159 *guard = GUARD_INTERVAL_1_8; in mxl1x1sf_demod_get_tps_guard_interval()
162 *guard = GUARD_INTERVAL_1_4; in mxl1x1sf_demod_get_tps_guard_interval()
/linux-6.6.21/arch/powerpc/
DMakefile92 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard=tls
94 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard-reg=r13
96 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard-reg=r2
392 …$(eval KBUILD_CFLAGS += -mstack-protector-guard-offset=$(shell awk '{if ($$2 == "PACA_CANARY") pri…
394 …$(eval KBUILD_CFLAGS += -mstack-protector-guard-offset=$(shell awk '{if ($$2 == "TASK_CANARY") pri…
/linux-6.6.21/drivers/thermal/intel/
Dintel_powerclamp.c65 unsigned int guard; member
460 unsigned int guard, unsigned int win) in powerclamp_adjust_controls() argument
486 return powerclamp_data.target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()
503 powerclamp_data.guard = 1 + powerclamp_data.target_ratio / 20; in get_run_time()
578 powerclamp_data.guard, in idle_inject_update()
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_top.c710 info.guard = CXD2880_DVBT_GUARD_1_4; in cxd2880_set_ber_per_period_t()
717 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
721 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
725 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
746 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
750 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
754 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
757 63000000 * bw * 2 / denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
760 denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
763 bw * 2 / denominator_tbl[info.guard]; in cxd2880_set_ber_per_period_t()
[all …]
Dcxd2880_tnrdmd_dvbt_mon.c85 *guard) in cxd2880_tnrdmd_dvbt_mon_mode_guard()
90 if (!tnr_dmd || !mode || !guard) in cxd2880_tnrdmd_dvbt_mon_mode_guard()
110 mode, guard); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
134 *guard = (enum cxd2880_dvbt_guard)(rdata & 0x03); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
280 info->guard = (enum cxd2880_dvbt_guard)((rdata[1] >> 3) & 0x03); in cxd2880_tnrdmd_dvbt_mon_tps_info()
Dcxd2880_dvbt.h64 enum cxd2880_dvbt_guard guard; member
/linux-6.6.21/include/linux/
Dcleanup.h108 #define guard(_name) \ macro
109 CLASS(_name, __UNIQUE_ID(guard))
/linux-6.6.21/arch/riscv/
DMakefile112 $(eval KBUILD_CFLAGS += -mstack-protector-guard=tls \
113 -mstack-protector-guard-reg=tp \
114 -mstack-protector-guard-offset=$(shell \
/linux-6.6.21/arch/arm64/
DMakefile59 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
60 -mstack-protector-guard-reg=sp_el0 \
61 -mstack-protector-guard-offset=$(shell \
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c457 unsigned int guard = VTD_GUARD; in i915_gem_object_pin_to_display_plane() local
460 guard = max(guard, in i915_gem_object_pin_to_display_plane()
463 flags |= PIN_OFFSET_GUARD | guard; in i915_gem_object_pin_to_display_plane()
/linux-6.6.21/scripts/dummy-tools/
Dgcc79 if arg_contain -mstack-protector-guard-reg=fs "$@"; then
/linux-6.6.21/arch/x86/
DMakefile116 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard
118 KBUILD_CFLAGS += -mstack-protector-guard=global
/linux-6.6.21/include/uapi/linux/
Dbsg.h23 __s32 guard; /* [i] 'Q' to differentiate from v3 */ member
/linux-6.6.21/Documentation/networking/
Dmac80211-injection.rst48 IEEE80211_RADIOTAP_MCS_SGI use short guard interval
63 IEEE80211_RADIOTAP_VHT_FLAG_SGI: use short guard interval

12345