/linux-6.12.1/drivers/gpio/ |
D | gpiolib.c | 366 CLASS(gpio_chip_guard, guard)(desc); in gpiod_get_direction() 367 if (!guard.gc) in gpiod_get_direction() 381 if (!guard.gc->get_direction) in gpiod_get_direction() 384 ret = guard.gc->get_direction(guard.gc, offset); in gpiod_get_direction() 468 guard(srcu)(&gpio_devices_srcu); in gpio_name_to_desc() 472 guard(srcu)(&gdev->srcu); in gpio_name_to_desc() 817 guard(srcu)(&gpio_devices_srcu); in gpiochip_setup_devs() 1193 guard(srcu)(&gpio_devices_srcu); in gpio_device_find() 1200 guard(srcu)(&gdev->srcu); in gpio_device_find() 2280 CLASS(gpio_chip_guard, guard)(desc); in gpiod_request_commit() [all …]
|
D | gpiolib-sysfs.c | 175 CLASS(gpio_chip_guard, guard)(desc); in gpio_sysfs_request_irq() 176 if (!guard.gc) in gpio_sysfs_request_irq() 203 ret = gpiochip_lock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 217 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 233 CLASS(gpio_chip_guard, guard)(desc); in gpio_sysfs_free_irq() 234 if (!guard.gc) in gpio_sysfs_free_irq() 239 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_free_irq() 470 CLASS(gpio_chip_guard, guard)(desc); in export_store() 471 if (!guard.gc) in export_store() 475 if (!gpiochip_line_is_valid(guard.gc, offset)) { in export_store() [all …]
|
D | gpio-tangier.c | 101 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_set() 115 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_direction_input() 134 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_direction_output() 166 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_set_debounce() 206 guard(raw_spinlock_irqsave)(&priv->lock); in tng_irq_ack() 219 guard(raw_spinlock_irqsave)(&priv->lock); in tng_irq_unmask_mask() 261 guard(raw_spinlock_irqsave)(&priv->lock); in tng_irq_set_type() 317 guard(raw_spinlock_irqsave)(&priv->lock); in tng_irq_set_wake() 470 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_suspend() 493 guard(raw_spinlock_irqsave)(&priv->lock); in tng_gpio_resume()
|
D | gpio-sim.c | 74 guard(mutex)(&chip->lock); in gpio_sim_apply_pull() 117 guard(mutex)(&chip->lock); in gpio_sim_get() 257 guard(mutex)(&chip->lock); in gpio_sim_dbg_show() 739 guard(mutex)(&dev->lock); in gpio_sim_device_config_dev_name_show() 1045 guard(mutex)(&dev->lock); in gpio_sim_device_config_live_store() 1091 guard(mutex)(&dev->lock); in gpio_sim_bank_config_chip_name_show() 1108 guard(mutex)(&dev->lock); in gpio_sim_bank_config_label_show() 1120 guard(mutex)(&dev->lock); in gpio_sim_bank_config_label_store() 1143 guard(mutex)(&dev->lock); in gpio_sim_bank_config_num_lines_show() 1164 guard(mutex)(&dev->lock); in gpio_sim_bank_config_num_lines_store() [all …]
|
/linux-6.12.1/rust/kernel/sync/ |
D | condvar.rs | 119 guard: &mut Guard<'_, T, B>, in wait_internal() 133 let ret = guard.do_unlocked(|| unsafe { bindings::schedule_timeout(timeout_in_jiffies) }); in wait_internal() 147 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait() 148 self.wait_internal(TASK_UNINTERRUPTIBLE, guard, MAX_SCHEDULE_TIMEOUT); in wait() 158 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() 159 self.wait_internal(TASK_INTERRUPTIBLE, guard, MAX_SCHEDULE_TIMEOUT); in wait_interruptible() 171 guard: &mut Guard<'_, T, B>, in wait_interruptible_timeout() 175 let res = self.wait_internal(TASK_INTERRUPTIBLE, guard, jiffies); in wait_interruptible_timeout()
|
/linux-6.12.1/drivers/virt/coco/ |
D | tsm.c | 104 guard(rwsem_write)(&tsm_rwsem); in tsm_report_privlevel_store() 117 guard(rwsem_read)(&tsm_rwsem); in tsm_report_privlevel_floor_show() 130 guard(rwsem_write)(&tsm_rwsem); in tsm_report_service_provider_store() 154 guard(rwsem_write)(&tsm_rwsem); in tsm_report_service_guid_store() 180 guard(rwsem_write)(&tsm_rwsem); in tsm_report_service_manifest_version_store() 196 guard(rwsem_write)(&tsm_rwsem); in tsm_report_inblob_write() 212 guard(rwsem_read)(&tsm_rwsem); in tsm_report_generation_show() 219 guard(rwsem_read)(&tsm_rwsem); in tsm_report_provider_show() 256 guard(rwsem_read)(&tsm_rwsem); in read_cached_report() 284 guard(rwsem_write)(&tsm_rwsem); in tsm_report_read() [all …]
|
/linux-6.12.1/scripts/ |
D | syscallnr.sh | 57 guard=_ASM_$(basename "$outfile" | 62 echo "#ifndef $guard" 63 echo "#define $guard" 73 echo "#endif /* $guard */"
|
D | syscallhdr.sh | 68 guard=_UAPI_ASM_$(basename "$outfile" | 73 echo "#ifndef $guard" 74 echo "#define $guard" 97 echo "#endif /* $guard */"
|
D | gcc-x86_32-has-stack-protector.sh | 8 …| $* -S -x c -m32 -O0 -fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-sym…
|
/linux-6.12.1/sound/core/seq/ |
D | seq_timer.c | 81 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_defaults() 112 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_reset() 163 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_set_tempo() 184 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_set_tempo_ppq() 207 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_set_position_tick() 221 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_set_position_time() 238 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_set_skew() 330 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_stop() 381 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_start() 404 guard(spinlock_irqsave)(&tmr->lock); in snd_seq_timer_continue() [all …]
|
D | seq_ports.c | 51 guard(read_lock)(&client->ports_lock); in snd_seq_port_use_ptr() 74 guard(read_lock)(&client->ports_lock); in snd_seq_port_query_nearest() 145 guard(mutex)(&client->ports_mutex); in snd_seq_create_port() 146 guard(write_lock_irq)(&client->ports_lock); in snd_seq_create_port() 278 guard(write_lock_irq)(&client->ports_lock); in snd_seq_delete_port() 304 guard(mutex)(&client->ports_mutex); in snd_seq_delete_all_ports() 505 guard(rwsem_write)(&grp->list_mutex); in check_and_subscribe_port() 527 guard(write_lock_irq)(&grp->list_lock); in check_and_subscribe_port() 569 guard(rwsem_write)(&grp->list_mutex); in delete_and_unsubscribe_port() 662 guard(rwsem_read)(&src_grp->list_mutex); in snd_seq_port_get_subscription()
|
/linux-6.12.1/arch/parisc/math-emu/ |
D | cnv_float.h | 88 #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.12.1/drivers/thermal/testing/ |
D | zone.c | 114 guard(tt_zone)(tt_zone); in tt_zone_tz_temp_get() 127 guard(tt_zone)(tt_zone); in tt_zone_tz_temp_set() 180 guard(mutex)(&tt_thermal_zones_lock); in tt_add_tz_work_fn() 230 guard(tt_zone)(tt_zone); in tt_zone_unregister_tz() 253 guard(mutex)(&tt_thermal_zones_lock); in tt_del_tz() 289 guard(mutex)(&tt_thermal_zones_lock); in tt_get_tt_zone() 308 guard(mutex)(&tt_thermal_zones_lock); in tt_put_tt_zone() 363 guard(tt_zone)(tt_zone); in tt_zone_add_trip() 399 guard(tt_zone)(tt_zone); in tt_zone_register_tz()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_vma_resource.h | 129 u32 guard; member 214 u32 guard) in i915_vma_resource_init() argument 232 vma_res->guard = guard; in i915_vma_resource_init()
|
/linux-6.12.1/include/linux/iio/imu/ |
D | adis.h | 154 guard(mutex)(&adis->state_lock); in adis_reset() 247 guard(mutex)(&adis->state_lock); in adis_write_reg() 261 guard(mutex)(&adis->state_lock); in adis_read_reg() 354 guard(mutex)(&adis->state_lock); in adis_update_bits_base() 396 guard(mutex)(&adis->state_lock); in adis_enable_irq() 402 guard(mutex)(&adis->state_lock); in adis_check_status() 406 #define adis_dev_auto_lock(adis) guard(mutex)(&(adis)->state_lock)
|
/linux-6.12.1/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 290 guard(mutex)(&st->lock); in iio_dummy_read_raw() 318 guard(mutex)(&st->lock); in iio_dummy_read_raw() 364 guard(mutex)(&st->lock); in iio_dummy_read_raw() 370 guard(mutex)(&st->lock); in iio_dummy_read_raw() 380 guard(mutex)(&st->lock); in iio_dummy_read_raw() 390 guard(mutex)(&st->lock); in iio_dummy_read_raw() 468 guard(mutex)(&st->lock); in iio_dummy_write_raw()
|
/linux-6.12.1/drivers/iio/accel/ |
D | adxl380.c | 337 guard(mutex)(&st->lock); in adxl380_set_act_inact_threshold() 355 guard(mutex)(&st->lock); in adxl380_set_tap_threshold_value() 400 guard(mutex)(&st->lock); in adxl380_write_tap_time_us() 437 guard(mutex)(&st->lock); in adxl380_read_chn() 513 guard(mutex)(&st->lock); in adxl380_set_odr() 572 guard(mutex)(&st->lock); in adxl380_get_lpf() 590 guard(mutex)(&st->lock); in adxl380_set_lpf() 619 guard(mutex)(&st->lock); in adxl380_get_hpf() 638 guard(mutex)(&st->lock); in adxl380_set_hpf() 693 guard(mutex)(&st->lock); in adxl380_set_act_inact_time_ms() [all …]
|
/linux-6.12.1/drivers/iio/resolver/ |
D | ad2s1210.c | 454 guard(mutex)(&st->lock); in ad2s1210_single_conversion() 529 guard(mutex)(&st->lock); in ad2s1210_get_hysteresis() 541 guard(mutex)(&st->lock); in ad2s1210_set_hysteresis() 552 guard(mutex)(&st->lock); in ad2s1210_get_phase_lock_range() 585 guard(mutex)(&st->lock); in ad2s1210_set_phase_lock_range() 605 guard(mutex)(&st->lock); in ad2s1210_get_voltage_threshold() 621 guard(mutex)(&st->lock); in ad2s1210_set_voltage_threshold() 631 guard(mutex)(&st->lock); in ad2s1210_get_lot_high_threshold() 651 guard(mutex)(&st->lock); in ad2s1210_set_lot_high_threshold() 681 guard(mutex)(&st->lock); in ad2s1210_get_lot_low_threshold() [all …]
|
/linux-6.12.1/drivers/iio/ |
D | inkern.c | 54 guard(mutex)(&iio_map_list_lock); in iio_map_array_register() 79 guard(mutex)(&iio_map_list_lock); in iio_map_array_unregister() 461 guard(mutex)(&iio_map_list_lock); in iio_channel_get_all() 579 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_channel_raw() 591 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_channel_average_raw() 683 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_convert_raw_to_processed() 697 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_channel_attribute() 717 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_channel_processed_scale() 774 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_avail_channel_attribute() 847 guard(mutex)(&iio_dev_opaque->info_exist_lock); in iio_read_max_channel_raw() [all …]
|
/linux-6.12.1/Documentation/mm/ |
D | vmalloced-kernel-stacks.rst | 25 Virtually mapped kernel stacks with guard pages cause 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 the stack 124 overflows into the guard pages, handlers have to be careful not to overflow 131 Testing VMAP allocation with guard pages 135 and trailing guard page? The following lkdtm tests can help detect any
|
/linux-6.12.1/drivers/input/misc/ |
D | adxl34x.c | 244 guard(mutex)(&ac->mutex); in adxl34x_get_triple() 419 guard(mutex)(&ac->mutex); in adxl34x_suspend() 433 guard(mutex)(&ac->mutex); in adxl34x_resume() 463 guard(mutex)(&ac->mutex); in adxl34x_disable_store() 487 guard(mutex)(&ac->mutex); in adxl34x_calibrate_show() 506 guard(mutex)(&ac->mutex); in adxl34x_calibrate_store() 547 guard(mutex)(&ac->mutex); in adxl34x_rate_store() 580 guard(mutex)(&ac->mutex); in adxl34x_autosleep_store() 601 guard(mutex)(&ac->mutex); in adxl34x_position_show() 625 guard(mutex)(&ac->mutex); in adxl34x_write_store() [all …]
|
/linux-6.12.1/drivers/iio/imu/bmi323/ |
D | bmi323_core.c | 353 guard(mutex)(&data->mutex); in bmi323_set_mode() 430 guard(mutex)(&data->mutex); in bmi323_get_error_status() 475 guard(mutex)(&data->mutex); in bmi323_step_wtrmrk_en() 544 guard(mutex)(&data->mutex); in bmi323_motion_event_en() 578 guard(mutex)(&data->mutex); in bmi323_tap_event_en() 688 guard(mutex)(&data->mutex); in in_accel_gesture_tap_wait_dur_store() 738 guard(mutex)(&data->mutex); in in_accel_gesture_tap_wait_timeout_store() 812 guard(mutex)(&data->mutex); in bmi323_read_event_config() 862 guard(mutex)(&data->mutex); in bmi323_write_event_value() 972 guard(mutex)(&data->mutex); in bmi323_read_event_value() [all …]
|
/linux-6.12.1/sound/core/ |
D | sound_oss.c | 32 guard(mutex)(&sound_oss_mutex); in snd_lookup_oss_minor_data() 108 guard(mutex)(&sound_oss_mutex); in snd_register_oss_device() 156 guard(mutex)(&sound_oss_mutex); in snd_unregister_oss_device() 217 guard(mutex)(&sound_oss_mutex); in snd_minor_info_oss_read()
|
D | timer.c | 239 guard(spinlock_irq)(&slave_active_lock); in check_matching_master_slave() 240 guard(spinlock)(&master->timer->lock); in check_matching_master_slave() 401 guard(spinlock_irq)(&slave_active_lock); in remove_slave_links() 402 guard(spinlock)(&timer->lock); in remove_slave_links() 424 guard(spinlock_irq)(&timer->lock); in snd_timer_close_locked() 500 guard(spinlock_irqsave)(&timer->lock); in snd_timer_resolution() 550 guard(spinlock_irqsave)(&timer->lock); in snd_timer_start1() 598 guard(spinlock_irqsave)(&slave_active_lock); in snd_timer_start_slave() 605 guard(spinlock)(&timeri->timer->lock); in snd_timer_start_slave() 622 guard(spinlock_irqsave)(&timer->lock); in snd_timer_stop1() [all …]
|
D | info.c | 112 guard(mutex)(&entry->access); in snd_info_entry_llseek() 236 guard(mutex)(&info_mutex); in snd_info_entry_open() 311 guard(mutex)(&entry->access); in snd_info_text_entry_write() 353 guard(mutex)(&info_mutex); in snd_info_text_entry_open() 530 guard(mutex)(&info_mutex); in snd_info_card_id_change() 554 guard(mutex)(&info_mutex); in snd_info_card_disconnect() 682 guard(mutex)(&parent->access); in snd_info_create_entry() 753 guard(mutex)(&info_mutex); in snd_info_free_entry() 763 guard(mutex)(&p->access); in snd_info_free_entry() 780 guard(mutex)(&info_mutex); in __snd_info_register()
|