Home
last modified time | relevance | path

Searched refs:may_sleep (Results 1 – 20 of 20) sorted by relevance

/linux-5.19.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c137 info->gather_components = kzalloc(g_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list()
154 info->scatter_components = kzalloc(s_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list()
171 info->in_buffer = kzalloc(info->dlen, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list()
198 info->out_buffer = kzalloc(COMPLETION_CODE_SIZE, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list()
420 info = kzalloc(sizeof(*info), req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in process_request()
442 info->completion_addr = kzalloc(sizeof(union cpt_res_s), req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in process_request()
Drequest_manager.h65 bool may_sleep; member
Dcptvf_algs.c204 req_info->may_sleep = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) != 0; in cvm_enc_dec()
/linux-5.19.10/drivers/net/ethernet/natsemi/
Dsonic.c156 static void sonic_quiesce(struct net_device *dev, u16 mask, bool may_sleep) in sonic_quiesce() argument
166 if (!may_sleep) in sonic_quiesce()
711 static int sonic_init(struct net_device *dev, bool may_sleep) in sonic_init() argument
733 sonic_quiesce(dev, SONIC_CR_ALL, may_sleep); in sonic_init()
762 sonic_quiesce(dev, SONIC_CR_RRRA, may_sleep); in sonic_init()
837 sonic_quiesce(dev, SONIC_CR_LCAM, may_sleep); in sonic_init()
Dsonic.h341 static int sonic_init(struct net_device *dev, bool may_sleep);
/linux-5.19.10/drivers/net/ethernet/wiznet/
Dw5100.h16 bool may_sleep; member
Dw5100-spi.c103 .may_sleep = true,
244 .may_sleep = true,
402 .may_sleep = true,
Dw5100.c792 if (priv->ops->may_sleep) in w5100_tx_timeout()
832 if (priv->ops->may_sleep) { in w5100_start_tx()
931 if (priv->ops->may_sleep) in w5100_interrupt()
974 if (priv->ops->may_sleep) in w5100_set_rx_mode()
1174 if (ops->may_sleep) { in w5100_probe()
/linux-5.19.10/kernel/cgroup/
Drstat.c145 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep) in cgroup_rstat_flush_locked() argument
181 if (may_sleep && (need_resched() || in cgroup_rstat_flush_locked()
/linux-5.19.10/net/ipv4/
Dudp_tunnel_nic.c302 bool may_sleep; in udp_tunnel_nic_device_sync() local
310 may_sleep = info->flags & UDP_TUNNEL_NIC_INFO_MAY_SLEEP; in udp_tunnel_nic_device_sync()
311 if (!may_sleep) in udp_tunnel_nic_device_sync()
313 if (may_sleep || utn->need_replay) { in udp_tunnel_nic_device_sync()
/linux-5.19.10/drivers/tty/hvc/
Dhvc_console.c632 static int __hvc_poll(struct hvc_struct *hp, bool may_sleep) in __hvc_poll() argument
654 if (may_sleep) { in __hvc_poll()
725 if (may_sleep) { in __hvc_poll()
/linux-5.19.10/drivers/crypto/nx/
Dnx.h157 u32 may_sleep);
Dnx.c42 u32 may_sleep) in nx_hcall_sync() argument
51 } while (rc == -EBUSY && !may_sleep && retries--); in nx_hcall_sync()
/linux-5.19.10/drivers/net/usb/
Dkaweth.c489 bool may_sleep);
785 bool may_sleep) in kaweth_async_set_rx_mode() argument
794 if (!may_sleep) in kaweth_async_set_rx_mode()
/linux-5.19.10/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c79 static void mpc52xx_fec_stop(struct net_device *dev, bool may_sleep);
698 static void mpc52xx_fec_stop(struct net_device *dev, bool may_sleep) in mpc52xx_fec_stop() argument
711 if (may_sleep) { in mpc52xx_fec_stop()
/linux-5.19.10/drivers/net/ethernet/neterion/
Ds2io.h1068 static void s2io_set_multicast(struct net_device *dev, bool may_sleep);
1089 int bit_state, bool may_sleep);
Ds2io.c1111 static int init_tti(struct s2io_nic *nic, int link, bool may_sleep) in init_tti() argument
1171 S2IO_BIT_RESET, may_sleep) != SUCCESS) in init_tti()
3338 int bit_state, bool may_sleep) in wait_for_cmd_complete() argument
3360 if (!may_sleep) in wait_for_cmd_complete()
4886 static void s2io_set_multicast(struct net_device *dev, bool may_sleep) in s2io_set_multicast() argument
4911 S2IO_BIT_RESET, may_sleep); in s2io_set_multicast()
4928 S2IO_BIT_RESET, may_sleep); in s2io_set_multicast()
5008 S2IO_BIT_RESET, may_sleep)) { in s2io_set_multicast()
5038 S2IO_BIT_RESET, may_sleep)) { in s2io_set_multicast()
/linux-5.19.10/drivers/net/wireless/cisco/
Dairo.c1118 bool may_sleep);
1134 bool may_sleep);
1136 bool may_sleep);
2101 static void airo_end_xmit(struct net_device *dev, bool may_sleep) in airo_end_xmit() argument
2112 status = transmit_802_3_packet(priv, fids[fid], skb->data, may_sleep); in airo_end_xmit()
2173 static void airo_end_xmit11(struct net_device *dev, bool may_sleep) in airo_end_xmit11() argument
2184 status = transmit_802_11_packet(priv, fids[fid], skb->data, may_sleep); in airo_end_xmit11()
2298 static void airo_set_promisc(struct airo_info *ai, bool may_sleep) in airo_set_promisc() argument
2307 issuecommand(ai, &cmd, &rsp, may_sleep); in airo_set_promisc()
3974 bool may_sleep) in issuecommand() argument
[all …]
/linux-5.19.10/drivers/atm/
Dnicstar.c135 struct sk_buff *skb, bool may_sleep);
1621 static int _ns_send(struct atm_vcc *vcc, struct sk_buff *skb, bool may_sleep) in _ns_send() argument
1705 if (push_scqe(card, vc, scq, &scqe, skb, may_sleep) != 0) { in _ns_send()
1728 struct sk_buff *skb, bool may_sleep) in push_scqe() argument
1739 if (!may_sleep) { in push_scqe()
1784 if (!may_sleep) { in push_scqe()
/linux-5.19.10/security/selinux/
Dhooks.c254 bool may_sleep) in __inode_security_revalidate() argument
258 might_sleep_if(may_sleep); in __inode_security_revalidate()
262 if (!may_sleep) in __inode_security_revalidate()