Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/scripts/atomic/
H A Dgen-atomic-instrumented.sh85 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")"
93 [ ! -z "${guard}" ] && printf "#if ${guard}\n"
105 [ ! -z "${guard}" ] && printf "#endif\n"
129 local guard="defined(arch_${name}${sfx})"
131 [ -z "${sfx}" ] && guard="!defined(arch_${name}_relaxed) || defined(arch_${name})"
133 printf "#if ${guard}\n"
/kernel/linux/linux-6.6/scripts/
H A Dsyscallhdr.sh68 guard=_UAPI_ASM_$(basename "$outfile" |
73 echo "#ifndef $guard"
74 echo "#define $guard"
97 echo "#endif /* $guard */"
H A Dsyscallnr.sh57 guard=_ASM_$(basename "$outfile" |
62 echo "#ifndef $guard"
63 echo "#define $guard"
73 echo "#endif /* $guard */"
/kernel/linux/linux-5.10/arch/parisc/math-emu/
H A Dcnv_float.h88 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \
90 guard = Dbit3p2(srcB); \
92 inexact = guard | sticky; \
95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \
101 guard = inexact >> 31; \
124 if (guard && (sticky || odd)) { \
134 guard = odd; \
136 inexact |= guard; \
144 guard = inexact >> 31; \
157 guard
[all...]
/kernel/linux/linux-6.6/arch/parisc/math-emu/
H A Dcnv_float.h88 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \
90 guard = Dbit3p2(srcB); \
92 inexact = guard | sticky; \
95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \
101 guard = inexact >> 31; \
124 if (guard && (sticky || odd)) { \
134 guard = odd; \
136 inexact |= guard; \
144 guard = inexact >> 31; \
157 guard
[all...]
/kernel/linux/linux-6.6/rust/kernel/sync/
H A Dcondvar.rs51 /// let mut guard = e.value.lock();
52 /// while *guard != v {
53 /// e.value_changed.wait_uninterruptible(&mut guard);
106 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() });
126 /// Atomically releases the given lock (whose ownership is proven by the guard) and puts the
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()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_vma_resource.h82 * @guard: The size of guard area preceding and trailing the bind.
129 u32 guard; member
194 * @guard: The size of the guard area preceding and trailing the bind.
214 u32 guard) in i915_vma_resource_init()
232 vma_res->guard = guard; in i915_vma_resource_init()
201 i915_vma_resource_init(struct i915_vma_resource *vma_res, struct i915_address_space *vm, struct sg_table *pages, const struct i915_page_sizes *page_sizes, struct i915_refct_sgt *pages_rsgt, bool readonly, bool lmem, struct intel_memory_region *mr, const struct i915_vma_ops *ops, void *private, u64 start, u64 node_size, u64 size, u32 guard) i915_vma_resource_init() argument
H A 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()
786 * node.start + guard, the easiest way to make that work is in i915_vma_insert()
787 * to make the guard in i915_vma_insert()
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A 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(mute in gpio_sim_line_config_name_show()
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dgen.c61 static void get_header_guard(char *guard, const char *obj_name) in get_header_guard() argument
65 sprintf(guard, "__%s_SKEL_H__", obj_name); in get_header_guard()
66 for (i = 0; guard[i]; i++) in get_header_guard()
67 guard[i] = toupper(guard[i]); in get_header_guard()
/kernel/linux/linux-5.10/arch/arm64/
H A DMakefile62 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
63 -mstack-protector-guard-reg=sp_el0 \
64 -mstack-protector-guard-offset=$(shell \
/kernel/linux/linux-6.6/arch/powerpc/
H A 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") print $$3;}' include/generated/asm-offsets.h))
394 $(eval KBUILD_CFLAGS += -mstack-protector-guard-offset=$(shell awk '{if ($$2 == "TASK_CANARY") print $$3;}' include/generated/asm-offsets.h))
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_powerclamp.c80 unsigned int guard; member
330 unsigned int guard, unsigned int win) in powerclamp_adjust_controls()
362 /* if we are above target+guard, skip */ in powerclamp_adjust_controls()
363 return set_target_ratio + guard <= current_ratio; in powerclamp_adjust_controls()
383 w_data->guard = 1 + w_data->target_ratio / 20; in clamp_balancing_func()
426 w_data->guard, in clamp_idle_injection_func()
329 powerclamp_adjust_controls(unsigned int target_ratio, unsigned int guard, unsigned int win) powerclamp_adjust_controls() argument
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-demod.c143 enum fe_guard_interval *guard) in mxl1x1sf_demod_get_tps_guard_interval()
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()
142 mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, enum fe_guard_interval *guard) mxl1x1sf_demod_get_tps_guard_interval() argument
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-demod.c143 enum fe_guard_interval *guard) in mxl1x1sf_demod_get_tps_guard_interval()
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()
142 mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, enum fe_guard_interval *guard) mxl1x1sf_demod_get_tps_guard_interval() argument
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_powerclamp.c65 unsigned int guard; member
460 unsigned int guard, unsigned int win) in powerclamp_adjust_controls()
485 /* if we are above target+guard, skip */ in powerclamp_adjust_controls()
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()
459 powerclamp_adjust_controls(unsigned int target_ratio, unsigned int guard, unsigned int win) powerclamp_adjust_controls() argument
/kernel/linux/linux-6.6/include/linux/
H A Dcleanup.h95 * guard(name):
96 * an anonymous instance of the (guard) class
108 #define guard(_name) \ macro
109 CLASS(_name, __UNIQUE_ID(guard))
/kernel/linux/linux-6.6/arch/arm64/
H A DMakefile59 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \
60 -mstack-protector-guard-reg=sp_el0 \
61 -mstack-protector-guard-offset=$(shell \
/kernel/linux/linux-6.6/arch/riscv/
H A DMakefile112 $(eval KBUILD_CFLAGS += -mstack-protector-guard=tls \
113 -mstack-protector-guard-reg=tp \
114 -mstack-protector-guard-offset=$(shell \
/kernel/linux/linux-6.6/arch/x86/
H A DMakefile116 KBUILD_CFLAGS += -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard
118 KBUILD_CFLAGS += -mstack-protector-guard=global
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/
H A 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()
1413 enum cxd2880_dvbt_guard guard = CXD2880_DVBT_GUARD_1_32; cxd2880_get_frontend_t() local
[all...]
H A 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()
80 cxd2880_tnrdmd_dvbt_mon_mode_guard(struct cxd2880_tnrdmd *tnr_dmd, enum cxd2880_dvbt_mode *mode, enum cxd2880_dvbt_guard *guard) cxd2880_tnrdmd_dvbt_mon_mode_guard() argument
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/cxd2880/
H A 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()
1413 enum cxd2880_dvbt_guard guard = CXD2880_DVBT_GUARD_1_32; cxd2880_get_frontend_t() local
[all...]
H A 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()
80 cxd2880_tnrdmd_dvbt_mon_mode_guard(struct cxd2880_tnrdmd *tnr_dmd, enum cxd2880_dvbt_mode *mode, enum cxd2880_dvbt_guard *guard) cxd2880_tnrdmd_dvbt_mon_mode_guard() argument
/kernel/linux/linux-5.10/arch/powerpc/
H A DMakefile99 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard=tls
101 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard-reg=r13
103 cflags-$(CONFIG_STACKPROTECTOR) += -mstack-protector-guard-reg=r2
407 $(eval KBUILD_CFLAGS += -mstack-protector-guard-offset=$(shell awk '{if ($$2 == "PACA_CANARY") print $$3;}' include/generated/asm-offsets.h))
409 $(eval KBUILD_CFLAGS += -mstack-protector-guard-offset=$(shell awk '{if ($$2 == "TASK_CANARY") print $$3;}' include/generated/asm-offsets.h))

Completed in 18 milliseconds

12345