Home
last modified time | relevance | path

Searched refs:bmp (Results 1 - 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dmsi_bitmap.c14 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() argument
19 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
21 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, in msi_bitmap_alloc_hwirqs()
23 if (offset > bmp->irq_count) in msi_bitmap_alloc_hwirqs()
26 bitmap_set(bmp->bitmap, offset, num); in msi_bitmap_alloc_hwirqs()
27 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
33 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
38 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() argument
46 spin_lock_irqsave(&bmp in msi_bitmap_free_hwirqs()
52 msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) msi_bitmap_reserve_hwirq() argument
74 msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) msi_bitmap_reserve_dt_hwirqs() argument
111 msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, struct device_node *of_node) msi_bitmap_alloc() argument
147 msi_bitmap_free(struct msi_bitmap *bmp) msi_bitmap_free() argument
159 struct msi_bitmap bmp; test_basics() local
225 struct msi_bitmap bmp; test_of_node() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dmsi_bitmap.c15 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() argument
20 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
22 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, in msi_bitmap_alloc_hwirqs()
24 if (offset > bmp->irq_count) in msi_bitmap_alloc_hwirqs()
27 bitmap_set(bmp->bitmap, offset, num); in msi_bitmap_alloc_hwirqs()
28 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
34 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
39 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() argument
47 spin_lock_irqsave(&bmp in msi_bitmap_free_hwirqs()
53 msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) msi_bitmap_reserve_hwirq() argument
75 msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) msi_bitmap_reserve_dt_hwirqs() argument
112 msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, struct device_node *of_node) msi_bitmap_alloc() argument
148 msi_bitmap_free(struct msi_bitmap *bmp) msi_bitmap_free() argument
160 struct msi_bitmap bmp; test_basics() local
226 struct msi_bitmap bmp; test_of_node() local
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
H A Dbitmask.c26 struct bitmask *bmp; in bitmask_alloc() local
28 bmp = malloc(sizeof(*bmp)); in bitmask_alloc()
29 if (!bmp) in bitmask_alloc()
31 bmp->size = n; in bitmask_alloc()
32 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()
33 if (!bmp->maskp) { in bitmask_alloc()
34 free(bmp); in bitmask_alloc()
37 return bmp; in bitmask_alloc()
41 void bitmask_free(struct bitmask *bmp) in bitmask_free() argument
62 _getbit(const struct bitmask *bmp, unsigned int n) _getbit() argument
71 _setbit(struct bitmask *bmp, unsigned int n, unsigned int v) _setbit() argument
115 bitmask_setbit(struct bitmask *bmp, unsigned int i) bitmask_setbit() argument
122 bitmask_setall(struct bitmask *bmp) bitmask_setall() argument
131 bitmask_clearall(struct bitmask *bmp) bitmask_clearall() argument
140 bitmask_isallclear(const struct bitmask *bmp) bitmask_isallclear() argument
150 bitmask_isbitset(const struct bitmask *bmp, unsigned int i) bitmask_isbitset() argument
156 bitmask_first(const struct bitmask *bmp) bitmask_first() argument
162 bitmask_last(const struct bitmask *bmp) bitmask_last() argument
173 bitmask_next(const struct bitmask *bmp, unsigned int i) bitmask_next() argument
192 bitmask_parselist(const char *buf, struct bitmask *bmp) bitmask_parselist() argument
275 bitmask_displaylist(char *buf, int buflen, const struct bitmask *bmp) bitmask_displaylist() argument
[all...]
H A Dbitmask.h17 void bitmask_free(struct bitmask *bmp);
19 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i);
20 struct bitmask *bitmask_setall(struct bitmask *bmp);
21 struct bitmask *bitmask_clearall(struct bitmask *bmp);
23 unsigned int bitmask_first(const struct bitmask *bmp);
24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i);
25 unsigned int bitmask_last(const struct bitmask *bmp);
26 int bitmask_isallclear(const struct bitmask *bmp);
27 int bitmask_isbitset(const struct bitmask *bmp, unsigned int i);
29 int bitmask_parselist(const char *buf, struct bitmask *bmp);
[all...]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
H A Dbitmask.c26 struct bitmask *bmp; in bitmask_alloc() local
28 bmp = malloc(sizeof(*bmp)); in bitmask_alloc()
29 if (!bmp) in bitmask_alloc()
31 bmp->size = n; in bitmask_alloc()
32 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()
33 if (!bmp->maskp) { in bitmask_alloc()
34 free(bmp); in bitmask_alloc()
37 return bmp; in bitmask_alloc()
41 void bitmask_free(struct bitmask *bmp) in bitmask_free() argument
62 _getbit(const struct bitmask *bmp, unsigned int n) _getbit() argument
71 _setbit(struct bitmask *bmp, unsigned int n, unsigned int v) _setbit() argument
115 bitmask_setbit(struct bitmask *bmp, unsigned int i) bitmask_setbit() argument
122 bitmask_setall(struct bitmask *bmp) bitmask_setall() argument
131 bitmask_clearall(struct bitmask *bmp) bitmask_clearall() argument
140 bitmask_isallclear(const struct bitmask *bmp) bitmask_isallclear() argument
150 bitmask_isbitset(const struct bitmask *bmp, unsigned int i) bitmask_isbitset() argument
156 bitmask_first(const struct bitmask *bmp) bitmask_first() argument
162 bitmask_last(const struct bitmask *bmp) bitmask_last() argument
173 bitmask_next(const struct bitmask *bmp, unsigned int i) bitmask_next() argument
192 bitmask_parselist(const char *buf, struct bitmask *bmp) bitmask_parselist() argument
275 bitmask_displaylist(char *buf, int buflen, const struct bitmask *bmp) bitmask_displaylist() argument
[all...]
H A Dbitmask.h17 void bitmask_free(struct bitmask *bmp);
19 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i);
20 struct bitmask *bitmask_setall(struct bitmask *bmp);
21 struct bitmask *bitmask_clearall(struct bitmask *bmp);
23 unsigned int bitmask_first(const struct bitmask *bmp);
24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i);
25 unsigned int bitmask_last(const struct bitmask *bmp);
26 int bitmask_isallclear(const struct bitmask *bmp);
27 int bitmask_isbitset(const struct bitmask *bmp, unsigned int i);
29 int bitmask_parselist(const char *buf, struct bitmask *bmp);
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_dmap.c57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock)
58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock)
59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock)
64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
73 static int dbAllocNext(struct bmap * bmp, struc
155 struct bmap *bmp; dbMount() local
267 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbUnmount() local
290 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbSync() local
362 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbFree() local
454 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbUpdatePMap() local
635 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbNextAG() local
729 struct bmap *bmp; dbAlloc() local
922 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbAllocExact() local
1060 struct bmap *bmp; dbExtend() local
1150 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocNext() argument
1282 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) dbAllocNear() argument
1391 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) dbAllocAG() argument
1589 dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) dbAllocAny() argument
1647 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbDiscardAG() local
1752 dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) dbFindCtl() argument
1871 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) dbAllocCtl() argument
2022 dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, int l2nb, s64 * results) dbAllocDmapLev() argument
2088 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmap() argument
2143 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeDmap() argument
2205 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocBits() argument
2352 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeBits() argument
2536 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) dbAdjCtl() argument
3254 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbAllocBottomUp() local
3302 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmapBU() argument
3434 struct bmap *bmp = sbi->bmap; dbExtendFS() local
3697 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbFinalizeBmap() local
[all...]
H A Djfs_discard.c68 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in jfs_ioc_trim() local
86 if (minlen > bmp->db_agsize || in jfs_ioc_trim()
87 start >= bmp->db_mapsize || in jfs_ioc_trim()
91 if (end >= bmp->db_mapsize) in jfs_ioc_trim()
92 end = bmp->db_mapsize - 1; in jfs_ioc_trim()
H A Dresize.c58 struct bmap *bmp = sbi->bmap; in jfs_extendfs() local
174 if (newFSSize < bmp->db_mapsize) { in jfs_extendfs()
301 mapSize = bmp->db_mapsize; in jfs_extendfs()
304 old_agsize = bmp->db_agsize; /* We need to know if this changes */ in jfs_extendfs()
326 agsizechanged |= (bmp->db_agsize != old_agsize); in jfs_extendfs()
489 j_sb->s_size = cpu_to_le64(bmp->db_mapsize << in jfs_extendfs()
491 j_sb->s_agsize = cpu_to_le32(bmp->db_agsize); in jfs_extendfs()
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_dmap.c57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock)
58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock)
59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock)
64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
73 static int dbAllocNext(struct bmap * bmp, struc
155 struct bmap *bmp; dbMount() local
267 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbUnmount() local
290 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbSync() local
362 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbFree() local
454 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbUpdatePMap() local
635 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbNextAG() local
729 struct bmap *bmp; dbAlloc() local
992 struct bmap *bmp; dbExtend() local
1082 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocNext() argument
1214 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) dbAllocNear() argument
1323 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) dbAllocAG() argument
1521 dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) dbAllocAny() argument
1579 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbDiscardAG() local
1684 dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) dbFindCtl() argument
1803 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) dbAllocCtl() argument
1954 dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, int l2nb, s64 * results) dbAllocDmapLev() argument
2020 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmap() argument
2075 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeDmap() argument
2137 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocBits() argument
2284 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeBits() argument
2468 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) dbAdjCtl() argument
3190 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; dbAllocBottomUp() local
3238 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmapBU() argument
3370 struct bmap *bmp = sbi->bmap; dbExtendFS() local
3633 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; dbFinalizeBmap() local
[all...]
H A Djfs_discard.c68 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in jfs_ioc_trim() local
86 if (minlen > bmp->db_agsize || in jfs_ioc_trim()
87 start >= bmp->db_mapsize || in jfs_ioc_trim()
91 if (end >= bmp->db_mapsize) in jfs_ioc_trim()
92 end = bmp->db_mapsize - 1; in jfs_ioc_trim()
H A Djfs_extent.c305 struct bmap *bmp = sbi->bmap; in extBalloc() local
316 if (bmp->db_maxfreebud == -1) in extBalloc()
319 max = (s64) 1 << bmp->db_maxfreebud; in extBalloc()
348 atomic_inc(&bmp->db_active[ag]); in extBalloc()
351 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()
352 atomic_inc(&bmp->db_active[ag]); in extBalloc()
H A Dresize.c58 struct bmap *bmp = sbi->bmap; in jfs_extendfs() local
173 if (newFSSize < bmp->db_mapsize) { in jfs_extendfs()
300 mapSize = bmp->db_mapsize; in jfs_extendfs()
303 old_agsize = bmp->db_agsize; /* We need to know if this changes */ in jfs_extendfs()
325 agsizechanged |= (bmp->db_agsize != old_agsize); in jfs_extendfs()
488 j_sb->s_size = cpu_to_le64(bmp->db_mapsize << in jfs_extendfs()
490 j_sb->s_agsize = cpu_to_le32(bmp->db_agsize); in jfs_extendfs()
/kernel/linux/linux-5.10/fs/hpfs/
H A Dalloc.c72 __le32 *bmp; in chk_if_allocated() local
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
74 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
81 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
82 if ((le32_to_cpu(bmp[ssec >> 5]) >> (ssec & 0x1f)) & 1) { in chk_if_allocated()
118 __le32 *bmp; in alloc_in_bmp() local
130 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; in alloc_in_bmp()
132 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; in alloc_in_bmp()
134 if (!tstbits(bmp, nr, n + forward)) { in alloc_in_bmp()
139 while ((a = tstbits(bmp, in alloc_in_bmp()
299 __le32 *bmp; hpfs_alloc_if_possible() local
318 __le32 *bmp; hpfs_free_sectors() local
364 __le32 *bmp; hpfs_check_free_dnodes() local
416 __le32 *bmp; hpfs_free_dnode() local
489 find_run(__le32 *bmp, unsigned *idx) find_run() argument
530 __le32 *bmp; hpfs_trim_fs() local
[all...]
/kernel/linux/linux-6.6/fs/hpfs/
H A Dalloc.c72 __le32 *bmp; in chk_if_allocated() local
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
74 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
81 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
82 if ((le32_to_cpu(bmp[ssec >> 5]) >> (ssec & 0x1f)) & 1) { in chk_if_allocated()
118 __le32 *bmp; in alloc_in_bmp() local
130 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; in alloc_in_bmp()
132 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; in alloc_in_bmp()
134 if (!tstbits(bmp, nr, n + forward)) { in alloc_in_bmp()
139 while ((a = tstbits(bmp, in alloc_in_bmp()
299 __le32 *bmp; hpfs_alloc_if_possible() local
318 __le32 *bmp; hpfs_free_sectors() local
364 __le32 *bmp; hpfs_check_free_dnodes() local
416 __le32 *bmp; hpfs_free_dnode() local
489 find_run(__le32 *bmp, unsigned *idx) find_run() argument
530 __le32 *bmp; hpfs_trim_fs() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dmsi_bitmap.h20 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num);
21 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset,
23 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
25 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
27 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
29 void msi_bitmap_free(struct msi_bitmap *bmp);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dmsi_bitmap.h20 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num);
21 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset,
23 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
25 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
27 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
29 void msi_bitmap_free(struct msi_bitmap *bmp);
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/
H A Ddirty.c88 dirty->host_seq.bmp = host_seq_bmp; in pds_vfio_dirty_alloc_bitmaps()
89 dirty->host_ack.bmp = host_ack_bmp; in pds_vfio_dirty_alloc_bitmaps()
96 vfree(dirty->host_seq.bmp); in pds_vfio_dirty_free_bitmaps()
97 vfree(dirty->host_ack.bmp); in pds_vfio_dirty_free_bitmaps()
98 dirty->host_seq.bmp = NULL; in pds_vfio_dirty_free_bitmaps()
99 dirty->host_ack.bmp = NULL; in pds_vfio_dirty_free_bitmaps()
336 const void *bmp; in pds_vfio_dirty_seq_ack() local
342 bmp = (void *)((u64)bmp_info->bmp + offset); in pds_vfio_dirty_seq_ack()
343 page_offset = offset_in_page(bmp); in pds_vfio_dirty_seq_ack()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
H A Dhsta_msi.c27 struct msi_bitmap bmp; member
51 irq = msi_bitmap_alloc_hwirqs(&ppc4xx_hsta_msi.bmp, 1); in hsta_setup_msi_irqs()
82 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_setup_msi_irqs()
117 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_teardown_msi_irqs()
151 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); in hsta_msi_probe()
183 msi_bitmap_free(&ppc4xx_hsta_msi.bmp); in hsta_msi_probe()
/kernel/linux/linux-6.6/arch/powerpc/platforms/4xx/
H A Dhsta_msi.c28 struct msi_bitmap bmp; member
52 irq = msi_bitmap_alloc_hwirqs(&ppc4xx_hsta_msi.bmp, 1); in hsta_setup_msi_irqs()
83 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_setup_msi_irqs()
115 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_teardown_msi_irqs()
150 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); in hsta_msi_probe()
182 msi_bitmap_free(&ppc4xx_hsta_msi.bmp); in hsta_msi_probe()
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
H A Dinterrupt.c68 * @bmp: ps3_bmp structure
69 * @bmp_lock: Synchronize access to bmp.
77 struct ps3_bmp bmp __attribute__ ((aligned (PS3_BMP_MINALIGN))); member
103 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask()
124 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask()
639 _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); in _dump_bmp()
640 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_bmp()
651 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_mask()
704 u64 x = (pd->bmp.status & pd->bmp in ps3_get_irq()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/
H A Dinterrupt.c69 * @bmp: ps3_bmp structure
70 * @bmp_lock: Synchronize access to bmp.
78 struct ps3_bmp bmp __attribute__ ((aligned (PS3_BMP_MINALIGN))); member
104 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask()
125 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask()
640 _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); in _dump_bmp()
641 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_bmp()
652 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_mask()
705 u64 x = (pd->bmp.status & pd->bmp in ps3_get_irq()
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Drmap.c278 struct xagb_bitmap *bmp = NULL; in xchk_rmapbt_mark_bitmap() local
298 bmp = &cr->fs_owned; in xchk_rmapbt_mark_bitmap()
301 bmp = &cr->log_owned; in xchk_rmapbt_mark_bitmap()
304 bmp = &cr->ag_owned; in xchk_rmapbt_mark_bitmap()
307 bmp = &cr->inobt_owned; in xchk_rmapbt_mark_bitmap()
310 bmp = &cr->refcbt_owned; in xchk_rmapbt_mark_bitmap()
314 if (!bmp) in xchk_rmapbt_mark_bitmap()
317 if (xagb_bitmap_test(bmp, irec->rm_startblock, &fsbcount)) { in xchk_rmapbt_mark_bitmap()
338 return xagb_bitmap_clear(bmp, irec->rm_startblock, irec->rm_blockcount); in xchk_rmapbt_mark_bitmap()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_ct.c119 struct lpfc_dmabuf *mp, *bmp; in lpfc_ct_unsol_cmpl() local
126 bmp = cmdiocb->bpl_dmabuf; in lpfc_ct_unsol_cmpl()
133 if (bmp) { in lpfc_ct_unsol_cmpl()
134 lpfc_mbuf_free(phba, bmp->virt, bmp->phys); in lpfc_ct_unsol_cmpl()
135 kfree(bmp); in lpfc_ct_unsol_cmpl()
161 struct lpfc_dmabuf *bmp = NULL; in lpfc_ct_reject_event() local
181 bmp = kmalloc(sizeof(*bmp), GFP_KERNEL); in lpfc_ct_reject_event()
182 if (!bmp) { in lpfc_ct_reject_event()
586 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t event_tag, uint32_t num_entry, uint32_t tmo, uint8_t retry) lpfc_gen_req() argument
664 lpfc_ct_cmd(struct lpfc_vport *vport, struct lpfc_dmabuf *inmp, struct lpfc_dmabuf *bmp, struct lpfc_nodelist *ndlp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), uint32_t rsp_size, uint8_t retry) lpfc_ct_cmd() argument
1906 struct lpfc_dmabuf *mp, *bmp; lpfc_ns_cmd() local
3689 struct lpfc_dmabuf *mp, *bmp; lpfc_vmid_cmd() local
[all...]
/kernel/linux/linux-5.10/drivers/ps3/
H A Dps3-vuart.c104 const struct ports_bmp *bmp, const char *func, int line) in _dump_ports_bmp()
106 pr_debug("%s:%d: ports_bmp: %016llxh\n", func, line, bmp->status); in _dump_ports_bmp()
245 * @bmp: Logical OR of enum vuart_interrupt_mask values. A zero bit disables.
862 struct ports_bmp *bmp; member
886 dump_ports_bmp(bus_priv->bmp); in ps3_vuart_irq_handler()
888 port = (BITS_PER_LONG - 1) - __ilog2(bus_priv->bmp->status); in ps3_vuart_irq_handler()
915 BUG_ON(vuart_bus_priv.bmp); in ps3_vuart_bus_interrupt_get()
917 vuart_bus_priv.bmp = kzalloc(sizeof(struct ports_bmp), GFP_KERNEL); in ps3_vuart_bus_interrupt_get()
919 if (!vuart_bus_priv.bmp) { in ps3_vuart_bus_interrupt_get()
924 result = ps3_vuart_irq_setup(PS3_BINDING_CPU_ANY, vuart_bus_priv.bmp, in ps3_vuart_bus_interrupt_get()
103 _dump_ports_bmp( const struct ports_bmp *bmp, const char *func, int line) _dump_ports_bmp() argument
[all...]

Completed in 16 milliseconds

123