Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_dquot.h227 xfs_dqtype_t type, bool can_alloc,
230 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()
913 bool can_alloc, in xfs_qm_dqget() argument
932 error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp); in xfs_qm_dqget()
1001 bool can_alloc, in xfs_qm_dqget_inode() argument
1036 error = xfs_qm_dqread(mp, id, type, can_alloc, &dqp); in xfs_qm_dqget_inode()
/linux/lib/
H A Dstackdepot.c644 bool can_alloc = (depot_flags & STACK_DEPOT_FLAG_CAN_ALLOC) && allow_spin; in stack_depot_save_flags() local
676 if (unlikely(can_alloc && !READ_ONCE(new_pool))) { in stack_depot_save_flags()
685 WARN_ON_ONCE(can_alloc); in stack_depot_save_flags()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c448 bool can_alloc = true; in gve_can_tx() local
451 can_alloc = gve_tx_fifo_can_alloc(&tx->tx_fifo, bytes_required); in gve_can_tx()
453 return (gve_tx_avail(tx) >= MAX_TX_DESC_NEEDED && can_alloc); in gve_can_tx()