Home
last modified time | relevance | path

Searched refs:can_alloc (Results 1 – 5 of 5) sorted by relevance

/linux/fs/xfs/
H A Dxfs_dquot.h212 xfs_dqtype_t type, bool can_alloc,
215 bool can_alloc, struct xfs_dquot **dqpp);
H A Dxfs_dquot.c707 bool can_alloc, in xfs_qm_dqread() argument
719 if (error == -ENOENT && can_alloc) in xfs_qm_dqread()
907 bool can_alloc, in xfs_qm_dqget() argument
922 error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp); in xfs_qm_dqget()
995 bool can_alloc, in xfs_qm_dqget_inode() argument
1029 error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp); in xfs_qm_dqget_inode()
/linux/lib/
H A Dstackdepot.c652 bool can_alloc = (depot_flags & STACK_DEPOT_FLAG_CAN_ALLOC) && allow_spin; in stack_depot_save_flags() local
684 if (unlikely(can_alloc && !READ_ONCE(new_pool))) { in stack_depot_save_flags()
693 WARN_ON_ONCE(can_alloc); in stack_depot_save_flags()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c447 bool can_alloc = true; in gve_can_tx() local
450 can_alloc = gve_tx_fifo_can_alloc(&tx->tx_fifo, bytes_required); in gve_can_tx()
452 return (gve_tx_avail(tx) >= MAX_TX_DESC_NEEDED && can_alloc); in gve_can_tx()
/linux/mm/
H A Dslab_common.c1834 unsigned long *flags, void *ptr, bool can_alloc) in add_ptr_to_bulk_krc_lock() argument
1850 if (!bnode && can_alloc) { in add_ptr_to_bulk_krc_lock()