Home
last modified time | relevance | path

Searched refs:icm (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dicm.c79 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument
83 if (!icm) in mlx4_free_icm()
86 list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { in mlx4_free_icm()
95 kfree(icm); in mlx4_free_icm()
135 struct mlx4_icm *icm; in mlx4_alloc_icm() local
144 icm = kmalloc_node(sizeof(*icm), in mlx4_alloc_icm()
147 if (!icm) { in mlx4_alloc_icm()
148 icm = kmalloc(sizeof(*icm), in mlx4_alloc_icm()
150 if (!icm) in mlx4_alloc_icm()
154 icm->refcount = 0; in mlx4_alloc_icm()
[all …]
Dicm.h73 struct mlx4_icm *icm; member
82 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent);
96 static inline void mlx4_icm_first(struct mlx4_icm *icm, in mlx4_icm_first() argument
99 iter->icm = icm; in mlx4_icm_first()
100 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
101 NULL : list_entry(icm->chunk_list.next, in mlx4_icm_first()
114 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mlx4_icm_next()
141 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
Dfw.h241 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm);
249 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt);
251 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
DMakefile4 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
Dfw.c1519 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt) in mlx4_map_cmd() argument
1535 for (mlx4_icm_first(icm, &iter); in mlx4_map_cmd()
1600 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm) in mlx4_MAP_FA() argument
1602 return mlx4_map_cmd(dev, MLX4_CMD_MAP_FA, icm, -1); in mlx4_MAP_FA()
Dmlx4.h268 struct mlx4_icm **icm; member
/linux-6.1.9/drivers/thunderbolt/
Dicm.c60 struct icm *icm; member
92 struct icm { struct
182 static inline struct tb *icm_to_tb(struct icm *icm) in icm_to_tb() argument
184 return ((void *)icm - sizeof(struct tb)); in icm_to_tb()
211 static int pci2cio_wait_completion(struct icm *icm, unsigned long timeout_msec) in pci2cio_wait_completion() argument
217 pci_read_config_dword(icm->upstream_port, in pci2cio_wait_completion()
218 icm->vnd_cap + PCIE2CIO_CMD, &cmd); in pci2cio_wait_completion()
231 static int pcie2cio_read(struct icm *icm, enum tb_cfg_space cs, in pcie2cio_read() argument
234 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_read()
235 int ret, vnd_cap = icm->vnd_cap; in pcie2cio_read()
[all …]
DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_memfree.c88 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm() argument
92 if (!icm) in mthca_free_icm()
95 list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { in mthca_free_icm()
104 kfree(icm); in mthca_free_icm()
140 struct mthca_icm *icm; in mthca_alloc_icm() local
148 icm = kmalloc(sizeof *icm, gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mthca_alloc_icm()
149 if (!icm) in mthca_alloc_icm()
150 return icm; in mthca_alloc_icm()
152 icm->refcount = 0; in mthca_alloc_icm()
153 INIT_LIST_HEAD(&icm->chunk_list); in mthca_alloc_icm()
[all …]
Dmthca_memfree.h71 struct mthca_icm *icm[]; member
75 struct mthca_icm *icm; member
84 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
99 static inline void mthca_icm_first(struct mthca_icm *icm, in mthca_icm_first() argument
102 iter->icm = icm; in mthca_icm_first()
103 iter->chunk = list_empty(&icm->chunk_list) ? in mthca_icm_first()
104 NULL : list_entry(icm->chunk_list.next, in mthca_icm_first()
117 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mthca_icm_next()
Dmthca_cmd.h257 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm);
277 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt);
280 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm);
Dmthca_cmd.c657 static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm, in mthca_map_cmd() argument
675 for (mthca_icm_first(icm, &iter); in mthca_map_cmd()
736 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_FA() argument
738 return mthca_map_cmd(dev, CMD_MAP_FA, icm, -1); in mthca_MAP_FA()
1534 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt) in mthca_MAP_ICM() argument
1536 return mthca_map_cmd(dev, CMD_MAP_ICM, icm, virt); in mthca_MAP_ICM()
1574 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_ICM_AUX() argument
1576 return mthca_map_cmd(dev, CMD_MAP_ICM_AUX, icm, -1); in mthca_MAP_ICM_AUX()
/linux-6.1.9/fs/xfs/
Dxfs_icache.h61 int xfs_blockgc_free_space(struct xfs_mount *mp, struct xfs_icwalk *icm);
/linux-6.1.9/arch/s390/tools/
Dopcodes.txt653 bf icm RS_RURD