Home
last modified time | relevance | path

Searched refs:safe (Results 1 - 25 of 102) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/arm/common/
H A Ddmabounce.c54 /* safe buffer info */
56 void *safe; member
104 /* allocate a 'safe' buffer and keep track of it */
137 buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC, in alloc_safe_buffer()
140 buf->safe = dma_alloc_coherent(dev, size, &buf->safe_dma_addr, in alloc_safe_buffer()
144 if (buf->safe == NULL) { in alloc_safe_buffer()
165 /* determine if a buffer is from our "safe" pool */
199 dma_pool_free(buf->pool->pool, buf->safe, buf->safe_dma_addr); in free_safe_buffer()
201 dma_free_coherent(device_info->dev, buf->size, buf->safe, in free_safe_buffer()
263 buf->safe, bu in map_single()
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dsafe_serial.c75 static bool safe = true; variable
85 module_param(safe, bool, 0);
86 MODULE_PARM_DESC(safe, "Turn Safe Encapsulation On/Off");
196 if (!safe) in safe_process_read_urb()
232 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer()
236 if (!safe) in safe_prepare_write_buffer()
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dsafe_serial.c75 static bool safe = true; variable
85 module_param(safe, bool, 0);
86 MODULE_PARM_DESC(safe, "Turn Safe Encapsulation On/Off");
196 if (!safe) in safe_process_read_urb()
232 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer()
236 if (!safe) in safe_prepare_write_buffer()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c98 struct ttm_validate_buffer *safe = entry; in ttm_eu_reserve_buffers() local
100 list_del(&safe->head); in ttm_eu_reserve_buffers()
101 list_add(&safe->head, dups); in ttm_eu_reserve_buffers()
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c93 struct ttm_validate_buffer *safe = entry; in ttm_eu_reserve_buffers() local
95 list_del(&safe->head); in ttm_eu_reserve_buffers()
96 list_add(&safe->head, dups); in ttm_eu_reserve_buffers()
/kernel/linux/linux-5.10/drivers/ide/
H A Dtx4938ide.c62 u8 safe = drive->pio_mode - XFER_PIO_0; in tx4938ide_set_pio_mode() local
67 safe = min_t(u8, safe, pair->pio_mode - XFER_PIO_0); in tx4938ide_set_pio_mode()
68 tx4938ide_tune_ebusc(pdata->ebus_ch, pdata->gbus_clock, safe); in tx4938ide_set_pio_mode()
H A Dtx4939ide.c112 u8 safe = pio; in tx4939ide_set_pio_mode() local
117 safe = min_t(u8, safe, pair->pio_mode - XFER_PIO_0); in tx4939ide_set_pio_mode()
123 val = ((safe << 8) | (pio << 4)) << (is_slave ? 16 : 0); in tx4939ide_set_pio_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Dtcm.h325 #define tcm_for_each_slice(var, area, safe) \
326 for (safe = area, \
327 tcm_slice(&safe, &var); \
328 var.tcm; tcm_slice(&safe, &var))
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dextable.c174 struct pt_regs *regs, bool wrmsr, bool safe, int reg) in ex_handler_msr()
176 if (__ONCE_LITE_IF(!safe && wrmsr)) { in ex_handler_msr()
183 if (__ONCE_LITE_IF(!safe && !wrmsr)) { in ex_handler_msr()
195 if (safe) in ex_handler_msr()
173 ex_handler_msr(const struct exception_table_entry *fixup, struct pt_regs *regs, bool wrmsr, bool safe, int reg) ex_handler_msr() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Dtcm.h325 #define tcm_for_each_slice(var, area, safe) \
326 for (safe = area, \
327 tcm_slice(&safe, &var); \
328 var.tcm; tcm_slice(&safe, &var))
/kernel/linux/linux-5.10/fs/dlm/
H A Drequestqueue.c156 struct rq_entry *e, *safe; in dlm_purge_requestqueue() local
159 list_for_each_entry_safe(e, safe, &ls->ls_requestqueue, list) { in dlm_purge_requestqueue()
/kernel/linux/linux-6.6/fs/dlm/
H A Drequestqueue.c159 struct rq_entry *e, *safe; in dlm_purge_requestqueue() local
162 list_for_each_entry_safe(e, safe, &ls->ls_requestqueue, list) { in dlm_purge_requestqueue()
H A Dast.c240 struct dlm_lkb *lkb, *safe; in dlm_callback_resume() local
249 list_for_each_entry_safe(lkb, safe, &ls->ls_cb_delay, lkb_cb_list) { in dlm_callback_resume()
/kernel/linux/linux-5.10/arch/x86/realmode/rm/
H A Dtrampoline_64.S42 cli # We should be safe anyway
87 cli # We should be safe anyway
120 * then it is safe for us to set the MSR bit and continue. If we
133 * CPU has has not been set. It is safe to set it, so do so.
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dem_sti.c254 int safe; in em_sti_clock_event_next() local
257 safe = em_sti_count(p) < (next - 1); in em_sti_clock_event_next()
259 return !safe; in em_sti_clock_event_next()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dem_sti.c254 int safe; in em_sti_clock_event_next() local
257 safe = em_sti_count(p) < (next - 1); in em_sti_clock_event_next()
259 return !safe; in em_sti_clock_event_next()
/kernel/linux/linux-5.10/net/batman-adv/
H A Dtranslation-table.c464 struct batadv_tt_change_node *tt_change_node, *entry, *safe; in batadv_tt_local_event() local
484 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_local_event()
992 struct batadv_tt_change_node *entry, *safe; in batadv_tt_tvlv_container_update() local
1022 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_tvlv_container_update()
1501 struct batadv_tt_change_node *entry, *safe; in batadv_tt_changes_list_free() local
1505 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_changes_list_free()
2256 struct hlist_node *safe; in batadv_tt_global_del_orig_list() local
2261 hlist_for_each_entry_safe(orig_entry, safe, head, list) in batadv_tt_global_del_orig_list()
2283 struct hlist_node *safe; in batadv_tt_global_del_orig_node() local
2289 hlist_for_each_entry_safe(orig_entry, safe, hea in batadv_tt_global_del_orig_node()
2429 struct hlist_node *safe; batadv_tt_global_del_orig() local
2824 struct hlist_node *safe; batadv_tt_req_list_free() local
2860 struct hlist_node *safe; batadv_tt_req_purge() local
3607 struct hlist_node *safe; batadv_handle_tt_response() local
3660 struct batadv_tt_roam_node *node, *safe; batadv_tt_roam_list_free() local
3674 struct batadv_tt_roam_node *node, *safe; batadv_tt_roam_purge() local
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A Dtranslation-table.c463 struct batadv_tt_change_node *tt_change_node, *entry, *safe; in batadv_tt_local_event() local
483 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_local_event()
987 struct batadv_tt_change_node *entry, *safe; in batadv_tt_tvlv_container_update() local
1017 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_tvlv_container_update()
1415 struct batadv_tt_change_node *entry, *safe; in batadv_tt_changes_list_free() local
1419 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list, in batadv_tt_changes_list_free()
2030 struct hlist_node *safe; in batadv_tt_global_del_orig_list() local
2035 hlist_for_each_entry_safe(orig_entry, safe, head, list) in batadv_tt_global_del_orig_list()
2057 struct hlist_node *safe; in batadv_tt_global_del_orig_node() local
2063 hlist_for_each_entry_safe(orig_entry, safe, hea in batadv_tt_global_del_orig_node()
2201 struct hlist_node *safe; batadv_tt_global_del_orig() local
2594 struct hlist_node *safe; batadv_tt_req_list_free() local
2630 struct hlist_node *safe; batadv_tt_req_purge() local
3369 struct hlist_node *safe; batadv_handle_tt_response() local
3421 struct batadv_tt_roam_node *node, *safe; batadv_tt_roam_list_free() local
3435 struct batadv_tt_roam_node *node, *safe; batadv_tt_roam_purge() local
[all...]
/kernel/linux/linux-5.10/drivers/input/gameport/
H A Dns558.c258 struct ns558 *ns558, *safe; in ns558_exit() local
260 list_for_each_entry_safe(ns558, safe, &ns558_list, node) { in ns558_exit()
/kernel/linux/linux-5.10/drivers/mtd/devices/
H A Dphram.c81 struct phram_mtd_list *this, *safe; in unregister_devices() local
83 list_for_each_entry_safe(this, safe, &phram_list, list) { in unregister_devices()
/kernel/linux/linux-6.6/arch/x86/realmode/rm/
H A Dtrampoline_64.S60 cli # We should be safe anyway
104 cli # We should be safe anyway
136 * then it is safe for us to set the MSR bit and continue. If we
149 * CPU has has not been set. It is safe to set it, so do so.
/kernel/linux/linux-6.6/drivers/input/gameport/
H A Dns558.c255 struct ns558 *ns558, *safe; in ns558_exit() local
257 list_for_each_entry_safe(ns558, safe, &ns558_list, node) { in ns558_exit()
/kernel/linux/linux-6.6/arch/arc/mm/
H A Dtlbex.S50 ; exception prologue (IRQ auto-disabled on Exceptions, so it's IRQ-safe).
58 ; core reg as it will not be SMP safe.
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ring.c43 len += sizeof(write_reg_buf->safe.cmd); in mcp251xfd_cmd_prepare_write_reg()
44 crc = mcp251xfd_crc16_compute(&write_reg_buf->safe, len); in mcp251xfd_cmd_prepare_write_reg()
48 len += sizeof(write_reg_buf->safe.crc); in mcp251xfd_cmd_prepare_write_reg()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dwof.S111 wr %glob_tmp, 0x0, %wim ! set new %wim, this is safe now
148 wr %glob_tmp, 0x0, %wim ! Now it is safe to set new %wim

Completed in 21 milliseconds

12345