buf_alloc 773 drivers/gpu/drm/drm_bufs.c atomic_inc(&dev->buf_alloc); buf_alloc 780 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 786 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 793 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 824 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 844 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 868 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 923 drivers/gpu/drm/drm_bufs.c atomic_inc(&dev->buf_alloc); buf_alloc 930 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 936 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 943 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 951 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 965 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 989 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1026 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1044 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1074 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1135 drivers/gpu/drm/drm_bufs.c atomic_inc(&dev->buf_alloc); buf_alloc 1142 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1148 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1155 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1187 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1207 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1231 drivers/gpu/drm/drm_bufs.c atomic_dec(&dev->buf_alloc); buf_alloc 1311 drivers/gpu/drm/drm_bufs.c if (atomic_read(&dev->buf_alloc)) { buf_alloc 1503 drivers/gpu/drm/drm_bufs.c if (atomic_read(&dev->buf_alloc)) { buf_alloc 61 drivers/gpu/drm/drm_dma.c atomic_set(&dev->buf_alloc, 0); buf_alloc 1677 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1691 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 buf_size = buf_alloc->priv_buf[i].tx_buf_size; buf_alloc 1707 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1709 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int ret = hclge_cmd_alloc_tx_buff(hdev, buf_alloc); buf_alloc 1730 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1737 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c priv = &buf_alloc->priv_buf[i]; buf_alloc 1748 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1755 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c priv = &buf_alloc->priv_buf[i]; buf_alloc 1765 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u32 hclge_get_rx_priv_buff_alloced(struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1772 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c priv = &buf_alloc->priv_buf[i]; buf_alloc 1779 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u32 hclge_get_tx_buff_alloced(struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1784 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c total_tx_size += buf_alloc->priv_buf[i].tx_buf_size; buf_alloc 1790 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc, buf_alloc 1812 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rx_priv = hclge_get_rx_priv_buff_alloced(buf_alloc); buf_alloc 1817 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.buf_size = shared_buf; buf_alloc 1819 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.self.high = shared_buf - hdev->dv_buf_size; buf_alloc 1820 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.self.low = buf_alloc->s_buf.self.high buf_alloc 1824 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.self.high = aligned_mps + buf_alloc 1826 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.self.low = aligned_mps; buf_alloc 1848 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.tc_thrd[i].low = lo_thrd; buf_alloc 1849 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.tc_thrd[i].high = hi_thrd; buf_alloc 1856 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1864 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 1882 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1884 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_all = hdev->pkt_buf_size - hclge_get_tx_buff_alloced(buf_alloc); buf_alloc 1889 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 1914 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all); buf_alloc 1918 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1920 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_all = hdev->pkt_buf_size - hclge_get_tx_buff_alloced(buf_alloc); buf_alloc 1921 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int no_pfc_priv_num = hclge_get_no_pfc_priv_num(hdev, buf_alloc); buf_alloc 1926 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 1939 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all) || buf_alloc 1944 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all); buf_alloc 1948 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1950 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_all = hdev->pkt_buf_size - hclge_get_tx_buff_alloced(buf_alloc); buf_alloc 1951 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int pfc_priv_num = hclge_get_pfc_priv_num(hdev, buf_alloc); buf_alloc 1956 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 1969 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all) || buf_alloc 1974 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all); buf_alloc 1978 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 1984 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_priv = hdev->pkt_buf_size - hclge_get_tx_buff_alloced(buf_alloc); buf_alloc 2005 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 2021 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_alloc->s_buf.buf_size = 0; buf_alloc 2032 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 2038 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rx_all -= hclge_get_tx_buff_alloced(buf_alloc); buf_alloc 2039 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (!hclge_is_rx_buf_ok(hdev, buf_alloc, rx_all)) buf_alloc 2045 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_only_alloc_priv_buff(hdev, buf_alloc)) buf_alloc 2048 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_rx_buf_calc_all(hdev, true, buf_alloc)) buf_alloc 2052 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_rx_buf_calc_all(hdev, false, buf_alloc)) buf_alloc 2055 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_drop_nopfc_buf_till_fit(hdev, buf_alloc)) buf_alloc 2058 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hclge_drop_pfc_buf_till_fit(hdev, buf_alloc)) buf_alloc 2065 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 2077 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_priv_buf *priv = &buf_alloc->priv_buf[i]; buf_alloc 2086 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cpu_to_le16((buf_alloc->s_buf.buf_size >> HCLGE_BUF_UNIT_S) | buf_alloc 2098 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 2120 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c priv = &buf_alloc->priv_buf[idx]; buf_alloc 2142 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 2144 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_shared_buf *s_buf = &buf_alloc->s_buf; buf_alloc 2185 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_pkt_buf_alloc *buf_alloc) buf_alloc 2187 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_shared_buf *buf = &buf_alloc->s_buf; buf_alloc 348 include/drm/drm_device.h atomic_t buf_alloc; buf_alloc 142 include/linux/sunrpc/xprt.h int (*buf_alloc)(struct rpc_task *task); buf_alloc 45 include/linux/virtio_vsock.h u32 buf_alloc; buf_alloc 90 include/trace/events/vsock_virtio_transport_common.h __u32 buf_alloc, buf_alloc 100 include/trace/events/vsock_virtio_transport_common.h buf_alloc, buf_alloc 112 include/trace/events/vsock_virtio_transport_common.h __field(__u32, buf_alloc) buf_alloc 124 include/trace/events/vsock_virtio_transport_common.h __entry->buf_alloc = buf_alloc; buf_alloc 135 include/trace/events/vsock_virtio_transport_common.h __entry->buf_alloc, buf_alloc 62 include/uapi/linux/virtio_vsock.h __le32 buf_alloc; buf_alloc 1823 net/sunrpc/clnt.c status = xprt->ops->buf_alloc(task); buf_alloc 264 net/sunrpc/xprtrdma/svc_rdma_backchannel.c .buf_alloc = xprt_rdma_bc_allocate, buf_alloc 805 net/sunrpc/xprtrdma/transport.c .buf_alloc = xprt_rdma_allocate, buf_alloc 2741 net/sunrpc/xprtsock.c .buf_alloc = rpc_malloc, buf_alloc 2762 net/sunrpc/xprtsock.c .buf_alloc = rpc_malloc, buf_alloc 2784 net/sunrpc/xprtsock.c .buf_alloc = rpc_malloc, buf_alloc 2814 net/sunrpc/xprtsock.c .buf_alloc = bc_malloc, buf_alloc 210 net/vmw_vsock/virtio_transport_common.c if (vvs->rx_bytes + pkt->len > vvs->buf_alloc) buf_alloc 229 net/vmw_vsock/virtio_transport_common.c pkt->hdr.buf_alloc = cpu_to_le32(vvs->buf_alloc); buf_alloc 310 net/vmw_vsock/virtio_transport_common.c free_space = vvs->buf_alloc - (vvs->fwd_cnt - vvs->last_fwd_cnt); buf_alloc 419 net/vmw_vsock/virtio_transport_common.c vvs->buf_alloc = vvs->buf_size; buf_alloc 464 net/vmw_vsock/virtio_transport_common.c vvs->buf_alloc = val; buf_alloc 1053 net/vmw_vsock/virtio_transport_common.c vvs->peer_buf_alloc = le32_to_cpu(pkt->hdr.buf_alloc); buf_alloc 1081 net/vmw_vsock/virtio_transport_common.c le32_to_cpu(pkt->hdr.buf_alloc),