Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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
H A Dcptvf_algs.c204 req_info->may_sleep = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) != 0; in cvm_enc_dec()
/OK3568_Linux_fs/kernel/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()
H A Dsonic.h341 static int sonic_init(struct net_device *dev, bool may_sleep);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/wiznet/
H A Dw5100-spi.c103 .may_sleep = true,
244 .may_sleep = true,
402 .may_sleep = true,
H A Dw5100.h16 bool may_sleep; member
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()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Drstat.c141 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep) in cgroup_rstat_flush_locked() argument
168 if (may_sleep && (need_resched() || in cgroup_rstat_flush_locked()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx.h157 u32 may_sleep);
H A Dnx.c42 u32 may_sleep) in nx_hcall_sync() argument
51 } while (rc == -EBUSY && !may_sleep && retries--); in nx_hcall_sync()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/security/selinux/
H A Dhooks.c255 bool may_sleep) in __inode_security_revalidate() argument
259 might_sleep_if(may_sleep); in __inode_security_revalidate()
263 if (!may_sleep) in __inode_security_revalidate()