Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/mlx4/
Dicm.c77 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument
81 if (!icm) in mlx4_free_icm()
84 list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { in mlx4_free_icm()
93 kfree(icm); in mlx4_free_icm()
125 struct mlx4_icm *icm; in mlx4_alloc_icm() local
133 icm = kmalloc(sizeof *icm, gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mlx4_alloc_icm()
134 if (!icm) in mlx4_alloc_icm()
137 icm->refcount = 0; in mlx4_alloc_icm()
138 INIT_LIST_HEAD(&icm->chunk_list); in mlx4_alloc_icm()
152 list_add_tail(&chunk->list, &icm->chunk_list); in mlx4_alloc_icm()
[all …]
Dicm.h63 struct mlx4_icm *icm; member
72 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent);
92 static inline void mlx4_icm_first(struct mlx4_icm *icm, in mlx4_icm_first() argument
95 iter->icm = icm; in mlx4_icm_first()
96 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
97 NULL : list_entry(icm->chunk_list.next, in mlx4_icm_first()
110 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mlx4_icm_next()
131 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
Dfw.h172 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm);
179 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt);
181 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
DMakefile3 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o icm.o intf.o main.o mcg.o \
Dfw.c460 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt) in mlx4_map_cmd() argument
477 for (mlx4_icm_first(icm, &iter); in mlx4_map_cmd()
540 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm) in mlx4_MAP_FA() argument
542 return mlx4_map_cmd(dev, MLX4_CMD_MAP_FA, icm, -1); in mlx4_MAP_FA()
Dmlx4.h130 struct mlx4_icm **icm; member
/linux-2.6.39/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[0]; 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, u8 *status);
278 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt, u8 *status);
281 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm, u8 *status);
Dmthca_cmd.c620 static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm, in mthca_map_cmd() argument
638 for (mthca_icm_first(icm, &iter); in mthca_map_cmd()
699 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm, u8 *status) in mthca_MAP_FA() argument
701 return mthca_map_cmd(dev, CMD_MAP_FA, icm, -1, status); in mthca_MAP_FA()
1500 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt, u8 *status) in mthca_MAP_ICM() argument
1502 return mthca_map_cmd(dev, CMD_MAP_ICM, icm, virt, status); in mthca_MAP_ICM()
1539 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm, u8 *status) in mthca_MAP_ICM_AUX() argument
1541 return mthca_map_cmd(dev, CMD_MAP_ICM_AUX, icm, -1, status); in mthca_MAP_ICM_AUX()
/linux-2.6.39/arch/s390/kernel/vdso64/
Dclock_getres.S29 icm %r0,15,__LC_ECTG_OK(%r5)
Dclock_gettime.S85 9: icm %r0,15,__VDSO_ECTG_OK(%r5)
/linux-2.6.39/arch/s390/kernel/
Dmcount64.S25 icm %r1,0xf,0(%r1)
Dmcount.S29 icm %r2,0xf,0(%r2)
Dentry.S243 icm %r7,3,SP_SVCNR(%r15) # load svc number and test for svc 0
365 icm %r0,3,SP_SVCNR(%r15)
607 icm %r0,15,__TI_precount(%r12)
Dhead.S83 icm %r7,3,10(%r5) # get residual count
Dentry64.S616 icm %r0,15,__TI_precount(%r12)