/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_imap.c | 48 * imap locks 51 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) 52 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) 53 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) 56 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) 57 #define AG_LOCK(imap,agn 96 struct inomap *imap; diMount() local 180 struct inomap *imap = JFS_IP(ipimap)->i_imap; diUnmount() local 301 struct inomap *imap; diRead() local 854 struct inomap *imap = JFS_IP(ipimap)->i_imap; diFree() local 1331 struct inomap *imap; diAlloc() local 1633 diAllocAG(struct inomap * imap, int agno, bool dir, struct inode *ip) diAllocAG() argument 1703 diAllocAny(struct inomap * imap, int agno, bool dir, struct inode *ip) diAllocAny() argument 1767 diAllocIno(struct inomap * imap, int agno, struct inode *ip) diAllocIno() argument 1891 diAllocExt(struct inomap * imap, int agno, struct inode *ip) diAllocExt() argument 2008 diAllocBit(struct inomap * imap, struct iag * iagp, int ino) diAllocBit() argument 2154 diNewExt(struct inomap * imap, struct iag * iagp, int extno) diNewExt() argument 2439 diNewIAG(struct inomap * imap, int *iagnop, int agno, struct metapage ** mpp) diNewIAG() argument 2662 diIAGRead(struct inomap * imap, int iagno, struct metapage ** mpp) diIAGRead() argument 2731 struct inomap *imap; diUpdatePMap() local 2849 struct inomap *imap = JFS_IP(ipimap)->i_imap; diExtendFS() local [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_imap.c | 48 * imap locks 51 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) 52 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) 53 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) 56 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) 57 #define AG_LOCK(imap,agn 96 struct inomap *imap; diMount() local 178 struct inomap *imap = JFS_IP(ipimap)->i_imap; diUnmount() local 299 struct inomap *imap; diRead() local 852 struct inomap *imap = JFS_IP(ipimap)->i_imap; diFree() local 1329 struct inomap *imap; diAlloc() local 1631 diAllocAG(struct inomap * imap, int agno, bool dir, struct inode *ip) diAllocAG() argument 1701 diAllocAny(struct inomap * imap, int agno, bool dir, struct inode *ip) diAllocAny() argument 1765 diAllocIno(struct inomap * imap, int agno, struct inode *ip) diAllocIno() argument 1889 diAllocExt(struct inomap * imap, int agno, struct inode *ip) diAllocExt() argument 2006 diAllocBit(struct inomap * imap, struct iag * iagp, int ino) diAllocBit() argument 2152 diNewExt(struct inomap * imap, struct iag * iagp, int extno) diNewExt() argument 2437 diNewIAG(struct inomap * imap, int *iagnop, int agno, struct metapage ** mpp) diNewIAG() argument 2660 diIAGRead(struct inomap * imap, int iagno, struct metapage ** mpp) diIAGRead() argument 2729 struct inomap *imap; diUpdatePMap() local 2847 struct inomap *imap = JFS_IP(ipimap)->i_imap; diExtendFS() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_iomap.c | 37 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() 44 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero() 45 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() 46 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero() 47 imap->br_state); in xfs_alert_fsblock_zero() 94 struct xfs_bmbt_irec *imap, in xfs_bmbt_to_iomap() 102 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_bmbt_to_iomap() 103 return xfs_alert_fsblock_zero(ip, imap); in xfs_bmbt_to_iomap() 105 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap() 108 } else if (imap in xfs_bmbt_to_iomap() 35 xfs_alert_fsblock_zero( xfs_inode_t *ip, xfs_bmbt_irec_t *imap) xfs_alert_fsblock_zero() argument 91 xfs_bmbt_to_iomap( struct xfs_inode *ip, struct iomap *iomap, struct xfs_bmbt_irec *imap, unsigned int mapping_flags, u16 iomap_flags, u64 sequence_cookie) xfs_bmbt_to_iomap() argument 236 xfs_iomap_write_direct( struct xfs_inode *ip, xfs_fileoff_t offset_fsb, xfs_fileoff_t count_fsb, unsigned int flags, struct xfs_bmbt_irec *imap, u64 *seq) xfs_iomap_write_direct() argument 559 xfs_bmbt_irec_t imap; xfs_iomap_write_unwritten() local 666 imap_needs_alloc( struct inode *inode, unsigned flags, struct xfs_bmbt_irec *imap, int nimaps) imap_needs_alloc() argument 686 imap_needs_cow( struct xfs_inode *ip, unsigned int flags, struct xfs_bmbt_irec *imap, int nimaps) imap_needs_cow() argument 761 imap_spans_range( struct xfs_bmbt_irec *imap, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb) imap_spans_range() argument 784 struct xfs_bmbt_irec imap, cmap; xfs_direct_write_iomap_begin() local 960 struct xfs_bmbt_irec imap, cmap; xfs_buffered_write_iomap_begin() local 1240 struct xfs_bmbt_irec imap; xfs_read_iomap_begin() local 1289 struct xfs_bmbt_irec imap, cmap; xfs_seek_iomap_begin() local 1375 struct xfs_bmbt_irec imap; xfs_xattr_iomap_begin() local [all...] |
H A D | xfs_aops.c | 288 struct xfs_bmbt_irec imap; in xfs_map_blocks() local 333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 334 cow_fsb = imap.br_startoff; in xfs_map_blocks() 357 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 358 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 363 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() 364 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 365 imap.br_startoff = offset_fsb; in xfs_map_blocks() 366 imap in xfs_map_blocks() [all...] |
H A D | xfs_pnfs.c | 121 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local 179 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks() 182 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks() 185 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks() 188 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks() 189 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks() 190 imap.br_blockcount); in xfs_fs_map_blocks() 194 end_fsb - offset_fsb, 0, &imap, &seq); in xfs_fs_map_blocks() 214 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0, seq); in xfs_fs_map_blocks() 230 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local [all...] |
H A D | xfs_reflink.c | 230 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() 235 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow() 241 return xfs_reflink_trim_around_shared(ip, imap, shared); in xfs_bmap_trim_cow() 311 struct xfs_bmbt_irec *imap, in xfs_find_trim_cow_extent() 316 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 317 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() 329 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent() 330 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 331 return xfs_bmap_trim_cow(ip, imap, share in xfs_find_trim_cow_extent() 228 xfs_bmap_trim_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, bool *shared) xfs_bmap_trim_cow() argument 309 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) xfs_find_trim_cow_extent() argument 347 xfs_reflink_convert_unwritten( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool convert_now) xfs_reflink_convert_unwritten() argument 380 xfs_reflink_fill_cow_hole( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_fill_cow_hole() argument 448 xfs_reflink_fill_delalloc( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_fill_delalloc() argument 519 xfs_reflink_allocate_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_allocate_cow() argument 1359 struct xfs_bmbt_irec imap; xfs_reflink_remap_blocks() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_iomap.c | 38 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() 45 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero() 46 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() 47 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero() 48 imap->br_state); in xfs_alert_fsblock_zero() 56 struct xfs_bmbt_irec *imap, in xfs_bmbt_to_iomap() 62 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_bmbt_to_iomap() 63 return xfs_alert_fsblock_zero(ip, imap); in xfs_bmbt_to_iomap() 65 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap() 68 } else if (imap in xfs_bmbt_to_iomap() 36 xfs_alert_fsblock_zero( xfs_inode_t *ip, xfs_bmbt_irec_t *imap) xfs_alert_fsblock_zero() argument 53 xfs_bmbt_to_iomap( struct xfs_inode *ip, struct iomap *iomap, struct xfs_bmbt_irec *imap, u16 flags) xfs_bmbt_to_iomap() argument 187 xfs_iomap_write_direct( struct xfs_inode *ip, xfs_fileoff_t offset_fsb, xfs_fileoff_t count_fsb, struct xfs_bmbt_irec *imap) xfs_iomap_write_direct() argument 512 xfs_bmbt_irec_t imap; xfs_iomap_write_unwritten() local 619 imap_needs_alloc( struct inode *inode, unsigned flags, struct xfs_bmbt_irec *imap, int nimaps) imap_needs_alloc() argument 639 imap_needs_cow( struct xfs_inode *ip, unsigned int flags, struct xfs_bmbt_irec *imap, int nimaps) imap_needs_cow() argument 714 imap_spans_range( struct xfs_bmbt_irec *imap, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb) imap_spans_range() argument 737 struct xfs_bmbt_irec imap, cmap; xfs_direct_write_iomap_begin() local 866 struct xfs_bmbt_irec imap, cmap; xfs_buffered_write_iomap_begin() local 1154 struct xfs_bmbt_irec imap; xfs_read_iomap_begin() local 1200 struct xfs_bmbt_irec imap, cmap; xfs_seek_iomap_begin() local 1284 struct xfs_bmbt_irec imap; xfs_xattr_iomap_begin() local [all...] |
H A D | xfs_pnfs.c | 87 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local 144 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks() 146 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks() 149 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks() 152 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks() 153 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks() 154 imap.br_blockcount); in xfs_fs_map_blocks() 158 end_fsb - offset_fsb, &imap); in xfs_fs_map_blocks() 178 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0); in xfs_fs_map_blocks() 194 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local [all...] |
H A D | xfs_aops.c | 329 struct xfs_bmbt_irec imap; in xfs_map_blocks() local 373 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 374 cow_fsb = imap.br_startoff; in xfs_map_blocks() 397 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 398 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 403 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() 404 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 405 imap.br_startoff = offset_fsb; in xfs_map_blocks() 406 imap in xfs_map_blocks() [all...] |
H A D | xfs_reflink.c | 227 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() 232 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow() 238 return xfs_reflink_trim_around_shared(ip, imap, shared); in xfs_bmap_trim_cow() 308 struct xfs_bmbt_irec *imap, in xfs_find_trim_cow_extent() 313 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 314 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() 326 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent() 327 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 328 return xfs_bmap_trim_cow(ip, imap, share in xfs_find_trim_cow_extent() 225 xfs_bmap_trim_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, bool *shared) xfs_bmap_trim_cow() argument 306 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) xfs_find_trim_cow_extent() argument 345 xfs_reflink_allocate_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) xfs_reflink_allocate_cow() argument 1166 struct xfs_bmbt_irec imap; xfs_reflink_remap_blocks() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | prom_irqtrans.c | 48 unsigned long imap, iclr; in psycho_irq_build() local 62 imap = controller_regs + imap_off; in psycho_irq_build() 70 return build_irq(inofixup, iclr, imap); in psycho_irq_build() 228 unsigned long imap, iclr; in sabre_irq_build() local 243 imap = controller_regs + imap_off; in sabre_irq_build() 251 irq = build_irq(inofixup, iclr, imap); in sabre_irq_build() 290 * imap/iclr registers are per-PBM. 384 unsigned long imap, iclr; in schizo_irq_build() local 392 imap = schizo_ino_to_imap(pbm_regs, ino); in schizo_irq_build() 413 irq = build_irq(ign_fixup, iclr, imap); in schizo_irq_build() 516 unsigned long imap, iclr; fire_irq_build() local 642 sysio_imap_to_iclr(unsigned long imap) sysio_imap_to_iclr() argument 654 unsigned long imap, iclr; sbus_of_build_irq() local 725 unsigned long imap, iclr; central_build_irq() local [all...] |
H A D | starfire.c | 77 unsigned int starfire_translate(unsigned long imap, in starfire_translate() argument 84 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f; in starfire_translate() 89 prom_printf("XFIRE: Cannot find irqinfo for imap %016lx\n", in starfire_translate() 90 ((unsigned long)imap)); in starfire_translate() 94 if (p->imap_slots[i] == imap || in starfire_translate() 102 p->imap_slots[i] = imap; in starfire_translate()
|
H A D | irq_64.c | 208 unsigned long imap; member 313 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid() argument 318 tid = starfire_translate(imap, cpuid); in sun4u_compute_tid() 377 unsigned long cpuid, imap, val; in sun4u_irq_enable() local 382 imap = handler_data->imap; in sun4u_irq_enable() 384 tid = sun4u_compute_tid(imap, cpuid); in sun4u_irq_enable() 386 val = upa_readq(imap); in sun4u_irq_enable() 390 upa_writeq(val, imap); in sun4u_irq_enable() 402 unsigned long cpuid, imap, va in sun4u_set_affinity() local 612 build_irq(int inofixup, unsigned long iclr, unsigned long imap) build_irq() argument [all...] |
H A D | of_device_64.c | 422 const u32 *imap, int imlen, const u32 *imask, in apply_interrupt_map() 445 if ((reg[j] & imask[j]) != imap[j]) in apply_interrupt_map() 448 if (imap[na] == irq) { in apply_interrupt_map() 449 handle = imap[na + 1]; in apply_interrupt_map() 450 irq = imap[na + 2]; in apply_interrupt_map() 455 imap += (na + 3); in apply_interrupt_map() 568 const void *imap, *imsk; in build_one_device_irq() local 571 imap = of_get_property(pp, "interrupt-map", &imlen); in build_one_device_irq() 573 if (imap && imsk) { in build_one_device_irq() 578 imap, imle in build_one_device_irq() 421 apply_interrupt_map(struct device_node *dp, struct device_node *pp, const u32 *imap, int imlen, const u32 *imask, unsigned int *irq_p) apply_interrupt_map() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | prom_irqtrans.c | 49 unsigned long imap, iclr; in psycho_irq_build() local 63 imap = controller_regs + imap_off; in psycho_irq_build() 71 return build_irq(inofixup, iclr, imap); in psycho_irq_build() 229 unsigned long imap, iclr; in sabre_irq_build() local 244 imap = controller_regs + imap_off; in sabre_irq_build() 252 irq = build_irq(inofixup, iclr, imap); in sabre_irq_build() 291 * imap/iclr registers are per-PBM. 385 unsigned long imap, iclr; in schizo_irq_build() local 393 imap = schizo_ino_to_imap(pbm_regs, ino); in schizo_irq_build() 414 irq = build_irq(ign_fixup, iclr, imap); in schizo_irq_build() 517 unsigned long imap, iclr; fire_irq_build() local 643 sysio_imap_to_iclr(unsigned long imap) sysio_imap_to_iclr() argument 655 unsigned long imap, iclr; sbus_of_build_irq() local 726 unsigned long imap, iclr; central_build_irq() local [all...] |
H A D | starfire.c | 77 unsigned int starfire_translate(unsigned long imap, in starfire_translate() argument 84 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f; in starfire_translate() 89 prom_printf("XFIRE: Cannot find irqinfo for imap %016lx\n", in starfire_translate() 90 ((unsigned long)imap)); in starfire_translate() 94 if (p->imap_slots[i] == imap || in starfire_translate() 102 p->imap_slots[i] = imap; in starfire_translate()
|
H A D | irq_64.c | 209 unsigned long imap; member 314 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid() argument 319 tid = starfire_translate(imap, cpuid); in sun4u_compute_tid() 378 unsigned long cpuid, imap, val; in sun4u_irq_enable() local 383 imap = handler_data->imap; in sun4u_irq_enable() 385 tid = sun4u_compute_tid(imap, cpuid); in sun4u_irq_enable() 387 val = upa_readq(imap); in sun4u_irq_enable() 391 upa_writeq(val, imap); in sun4u_irq_enable() 403 unsigned long cpuid, imap, va in sun4u_set_affinity() local 613 build_irq(int inofixup, unsigned long iclr, unsigned long imap) build_irq() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | ialloc.c | 213 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local 246 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); in xchk_iallocbt_check_cluster() 247 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 248 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster() 251 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster() 252 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster() 258 imap.im_blkno, imap.im_len, cluster_base, nr_inodes, in xchk_iallocbt_check_cluster() 281 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &dip, &cluster_bp, 0); in xchk_iallocbt_check_cluster() 289 if (imap in xchk_iallocbt_check_cluster() [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | irq.c | 118 const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; in of_irq_parse_raw() local 188 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw() 190 (!imap || of_device_compatible_match(ipar, of_irq_imap_abusers))) { in of_irq_parse_raw() 205 if (imap == NULL) { in of_irq_parse_raw() 223 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw() 231 newpar = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_raw() 232 imap++; in of_irq_parse_raw() 237 pr_debug(" -> imap parent not found !\n"); in of_irq_parse_raw() 266 imap += newaddrsize + newintsize; in of_irq_parse_raw() 290 match_array = imap in of_irq_parse_raw() [all...] |
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-renesas-rza1.c | 148 const __be32 *imap; in rza1_irqc_parse_map() local 151 imap = of_get_property(dev->of_node, "interrupt-map", &imaplen); in rza1_irqc_parse_map() 152 if (!imap) in rza1_irqc_parse_map() 160 if (be32_to_cpup(imap) != i) in rza1_irqc_parse_map() 163 ipar = of_find_node_by_phandle(be32_to_cpup(imap + 2)); in rza1_irqc_parse_map() 169 imap += 3; in rza1_irqc_parse_map() 182 priv->map[i].args[j] = be32_to_cpup(imap++); in rza1_irqc_parse_map()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-renesas-rza1.c | 148 const __be32 *imap; in rza1_irqc_parse_map() local 151 imap = of_get_property(dev->of_node, "interrupt-map", &imaplen); in rza1_irqc_parse_map() 152 if (!imap) in rza1_irqc_parse_map() 160 if (be32_to_cpup(imap) != i) in rza1_irqc_parse_map() 163 ipar = of_find_node_by_phandle(be32_to_cpup(imap + 2)); in rza1_irqc_parse_map() 169 imap += 3; in rza1_irqc_parse_map() 182 priv->map[i].args[j] = be32_to_cpup(imap++); in rza1_irqc_parse_map()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | ialloc.c | 367 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local 399 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); in xchk_iallocbt_check_cluster() 400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 401 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster() 404 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster() 405 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster() 411 imap.im_blkno, imap.im_len, cluster_base, nr_inodes, in xchk_iallocbt_check_cluster() 434 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp); in xchk_iallocbt_check_cluster() 442 if (imap in xchk_iallocbt_check_cluster() [all...] |
/kernel/linux/linux-5.10/drivers/of/ |
H A D | irq.c | 98 const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; in of_irq_parse_raw() local 177 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw() 179 if (imap == NULL) { in of_irq_parse_raw() 197 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw() 205 newpar = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_raw() 206 imap++; in of_irq_parse_raw() 211 pr_debug(" -> imap parent not found !\n"); in of_irq_parse_raw() 240 imap += newaddrsize + newintsize; in of_irq_parse_raw() 252 match_array = imap - newaddrsize - newintsize; in of_irq_parse_raw() 254 out_irq->args[i] = be32_to_cpup(imap in of_irq_parse_raw() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | spider-pic.c | 218 const u32 *imap, *tmp; in spider_find_cascade_and_node() local 237 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 238 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node() 240 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node() 243 imap += intsize + 1; in spider_find_cascade_and_node() 251 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | spider-pic.c | 214 const u32 *imap, *tmp; in spider_find_cascade_and_node() local 233 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 234 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node() 236 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node() 239 imap += intsize + 1; in spider_find_cascade_and_node() 247 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
|