Home
last modified time | relevance | path

Searched refs:may_sleep (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
H A 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()
424 info = kzalloc(sizeof(*info), req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in process_request()
446 info->completion_addr = kzalloc(sizeof(union cpt_res_s), req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in process_request()
H A Drequest_manager.h65 bool may_sleep; member
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/
H A 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()
H A Drequest_manager.h65 bool may_sleep; member
/kernel/linux/linux-5.10/drivers/net/ethernet/wiznet/
H A Dw5100.h16 bool may_sleep; member
H A Dw5100-spi.c103 .may_sleep = true,
244 .may_sleep = true,
402 .may_sleep = true,
H A Dw5100.c797 if (priv->ops->may_sleep) in w5100_tx_timeout()
837 if (priv->ops->may_sleep) { in w5100_start_tx()
936 if (priv->ops->may_sleep) in w5100_interrupt()
979 if (priv->ops->may_sleep) in w5100_set_rx_mode()
1177 if (ops->may_sleep) { in w5100_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/wiznet/
H A Dw5100.h16 bool may_sleep; member
H A Dw5100-spi.c103 .may_sleep = true,
244 .may_sleep = true,
402 .may_sleep = true,
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/
H A 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()
/kernel/linux/linux-5.10/kernel/cgroup/
H A Drstat.c141 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
167 /* if @may_sleep, play nice and yield if necessary */ in for_each_possible_cpu()
168 if (may_sleep && (need_resched() || in for_each_possible_cpu()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-verity.h130 const u8 *data, size_t len, u8 *digest, bool may_sleep);
H A Ddm-verity-target.c138 struct crypto_wait *wait, bool may_sleep) in verity_hash_init()
144 may_sleep ? CRYPTO_TFM_REQ_MAY_SLEEP | CRYPTO_TFM_REQ_MAY_BACKLOG : 0, in verity_hash_init()
183 const u8 *data, size_t len, u8 *digest, bool may_sleep) in verity_hash()
188 r = verity_hash_init(v, req, &wait, may_sleep); in verity_hash()
137 verity_hash_init(struct dm_verity *v, struct ahash_request *req, struct crypto_wait *wait, bool may_sleep) verity_hash_init() argument
182 verity_hash(struct dm_verity *v, struct ahash_request *req, const u8 *data, size_t len, u8 *digest, bool may_sleep) verity_hash() argument
/kernel/linux/linux-5.10/net/ipv4/
H A 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()
/kernel/linux/linux-6.6/net/ipv4/
H A 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()
/kernel/linux/linux-5.10/drivers/tty/hvc/
H A 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()
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx.h157 u32 may_sleep);
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx.h157 u32 may_sleep);
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dfec_mpc52xx.c77 static void mpc52xx_fec_stop(struct net_device *dev, bool may_sleep);
696 static void mpc52xx_fec_stop(struct net_device *dev, bool may_sleep) in mpc52xx_fec_stop() argument
709 if (may_sleep) { in mpc52xx_fec_stop()
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dkaweth.c489 bool may_sleep);
785 bool may_sleep) in kaweth_async_set_rx_mode()
794 if (!may_sleep) in kaweth_async_set_rx_mode()
784 kaweth_async_set_rx_mode(struct kaweth_device *kaweth, bool may_sleep) kaweth_async_set_rx_mode() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A 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()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dkaweth.c489 bool may_sleep);
785 bool may_sleep) in kaweth_async_set_rx_mode()
794 if (!may_sleep) in kaweth_async_set_rx_mode()
784 kaweth_async_set_rx_mode(struct kaweth_device *kaweth, bool may_sleep) kaweth_async_set_rx_mode() argument

Completed in 25 milliseconds

12