Searched refs:imap (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/arch/sparc/include/asm/
H A Dstarfire.h17 unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
H A Dirq_64.h47 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);
/linux-master/fs/jfs/
H A Djfs_imap.c48 * 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; local
178 struct inomap *imap = JFS_IP(ipimap)->i_imap; local
299 struct inomap *imap; local
852 struct inomap *imap = JFS_IP(ipimap)->i_imap; local
1329 struct inomap *imap; local
1631 diAllocAG(struct inomap * imap, int agno, bool dir, struct inode *ip) argument
1701 diAllocAny(struct inomap * imap, int agno, bool dir, struct inode *ip) argument
1765 diAllocIno(struct inomap * imap, int agno, struct inode *ip) argument
1889 diAllocExt(struct inomap * imap, int agno, struct inode *ip) argument
2006 diAllocBit(struct inomap * imap, struct iag * iagp, int ino) argument
2152 diNewExt(struct inomap * imap, struct iag * iagp, int extno) argument
2437 diNewIAG(struct inomap * imap, int *iagnop, int agno, struct metapage ** mpp) argument
2660 diIAGRead(struct inomap * imap, int iagno, struct metapage ** mpp) argument
2729 struct inomap *imap; local
2847 struct inomap *imap = JFS_IP(ipimap)->i_imap; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_iomap.c38 xfs_bmbt_irec_t *imap)
45 (unsigned long long)imap->br_startblock,
46 (unsigned long long)imap->br_startoff,
47 (unsigned long long)imap->br_blockcount,
48 imap->br_state);
96 struct xfs_bmbt_irec *imap,
104 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) {
106 return xfs_alert_fsblock_zero(ip, imap);
109 if (imap->br_startblock == HOLESTARTBLOCK) {
112 } else if (imap
36 xfs_alert_fsblock_zero( xfs_inode_t *ip, xfs_bmbt_irec_t *imap) argument
93 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) argument
240 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) argument
565 xfs_bmbt_irec_t imap; local
674 imap_needs_alloc( struct inode *inode, unsigned flags, struct xfs_bmbt_irec *imap, int nimaps) argument
694 imap_needs_cow( struct xfs_inode *ip, unsigned int flags, struct xfs_bmbt_irec *imap, int nimaps) argument
769 imap_spans_range( struct xfs_bmbt_irec *imap, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb) argument
792 struct xfs_bmbt_irec imap, cmap; local
968 struct xfs_bmbt_irec imap, cmap; local
1249 struct xfs_bmbt_irec imap; local
1298 struct xfs_bmbt_irec imap, cmap; local
1384 struct xfs_bmbt_irec imap; local
[all...]
H A Dxfs_pnfs.c121 struct xfs_bmbt_irec imap; local
179 &imap, &nimaps, bmapi_flags);
182 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK);
185 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) {
188 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK)
189 end_fsb = min(end_fsb, imap.br_startoff +
190 imap.br_blockcount);
194 end_fsb - offset_fsb, 0, &imap, &seq);
214 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0, seq);
230 struct xfs_bmbt_irec imap; local
[all...]
H A Dxfs_aops.c289 struct xfs_bmbt_irec imap; local
334 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap))
335 cow_fsb = imap.br_startoff;
358 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap))
359 imap.br_startoff = end_fsb; /* fake a hole past EOF */
364 if (imap.br_startoff > offset_fsb) {
365 imap.br_blockcount = imap.br_startoff - offset_fsb;
366 imap.br_startoff = offset_fsb;
367 imap
[all...]
H A Dxfs_reflink.c231 struct xfs_bmbt_irec *imap,
236 !isnullstartblock(imap->br_startblock)) {
242 return xfs_reflink_trim_around_shared(ip, imap, shared);
312 struct xfs_bmbt_irec *imap,
317 xfs_fileoff_t offset_fsb = imap->br_startoff;
318 xfs_filblks_t count_fsb = imap->br_blockcount;
330 xfs_trim_extent(imap, imap->br_startoff,
331 cmap->br_startoff - imap->br_startoff);
332 return xfs_bmap_trim_cow(ip, imap, share
229 xfs_bmap_trim_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, bool *shared) argument
310 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) argument
348 xfs_reflink_convert_unwritten( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool convert_now) argument
381 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) argument
449 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) argument
520 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) argument
1362 struct xfs_bmbt_irec imap; local
[all...]
H A Dxfs_iomap.h16 struct xfs_bmbt_irec *imap, u64 *sequence);
23 struct xfs_bmbt_irec *imap, unsigned int mapping_flags,
H A Dxfs_reflink.h21 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
24 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
/linux-master/arch/sparc/kernel/
H A Dstarfire.c77 unsigned int starfire_translate(unsigned long imap, argument
84 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f;
89 prom_printf("XFIRE: Cannot find irqinfo for imap %016lx\n",
90 ((unsigned long)imap));
94 if (p->imap_slots[i] == imap ||
102 p->imap_slots[i] = imap;
H A Dprom_irqtrans.c49 unsigned long imap, iclr; local
63 imap = controller_regs + imap_off;
71 return build_irq(inofixup, iclr, imap);
229 unsigned long imap, iclr; local
244 imap = controller_regs + imap_off;
252 irq = build_irq(inofixup, iclr, imap);
291 * imap/iclr registers are per-PBM.
385 unsigned long imap, iclr; local
393 imap = schizo_ino_to_imap(pbm_regs, ino);
414 irq = build_irq(ign_fixup, iclr, imap);
517 unsigned long imap, iclr; local
643 sysio_imap_to_iclr(unsigned long imap) argument
655 unsigned long imap, iclr; local
726 unsigned long imap, iclr; local
[all...]
H A Dirq_64.c209 unsigned long imap; member in struct:irq_handler_data
314 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) argument
319 tid = starfire_translate(imap, cpuid);
378 unsigned long cpuid, imap, val; local
383 imap = handler_data->imap;
385 tid = sun4u_compute_tid(imap, cpuid);
387 val = upa_readq(imap);
391 upa_writeq(val, imap);
403 unsigned long cpuid, imap, va local
613 build_irq(int inofixup, unsigned long iclr, unsigned long imap) argument
[all...]
H A Dof_device_64.c422 const u32 *imap, int imlen, const u32 *imask,
445 if ((reg[j] & imask[j]) != imap[j])
448 if (imap[na] == irq) {
449 handle = imap[na + 1];
450 irq = imap[na + 2];
455 imap += (na + 3);
568 const void *imap, *imsk; local
571 imap = of_get_property(pp, "interrupt-map", &imlen);
573 if (imap && imsk) {
578 imap, imle
421 apply_interrupt_map(struct device_node *dp, struct device_node *pp, const u32 *imap, int imlen, const u32 *imask, unsigned int *irq_p) argument
[all...]
H A Dsbus.c205 static unsigned long sysio_imap_to_iclr(unsigned long imap) argument
208 return imap + diff;
215 unsigned long imap, iclr; local
218 imap = sysio_irq_offsets[ino];
219 if (imap == ((unsigned long)-1)) {
224 imap += reg_base;
231 iclr = sysio_imap_to_iclr(imap);
255 return build_irq(sbus_level, iclr, imap);
/linux-master/drivers/irqchip/
H A Dirq-renesas-rza1.c148 const __be32 *imap; local
151 imap = of_get_property(dev->of_node, "interrupt-map", &imaplen);
152 if (!imap)
160 if (be32_to_cpup(imap) != i)
163 ipar = of_find_node_by_phandle(be32_to_cpup(imap + 2));
169 imap += 3;
182 priv->map[i].args[j] = be32_to_cpup(imap++);
/linux-master/arch/powerpc/platforms/cell/
H A Dspider-pic.c214 const u32 *imap, *tmp; local
233 imap = of_get_property(of_node, "interrupt-map", &imaplen);
234 if (imap == NULL || imaplen < (intsize + 1))
236 iic = of_find_node_by_phandle(imap[intsize]);
239 imap += intsize + 1;
247 unit = imap[intsize - 1];
/linux-master/drivers/of/
H A Dirq.c118 const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; local
188 imap = of_get_property(ipar, "interrupt-map", &imaplen);
190 (!imap || of_device_compatible_match(ipar, of_irq_imap_abusers))) {
205 if (imap == NULL) {
223 match &= !((match_array[i] ^ *imap++) & imask[i]);
231 newpar = of_find_node_by_phandle(be32_to_cpup(imap));
232 imap++;
237 pr_debug(" -> imap parent not found !\n");
266 imap += newaddrsize + newintsize;
290 match_array = imap
[all...]
/linux-master/fs/xfs/scrub/
H A Dialloc.c367 struct xfs_imap imap; local
399 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno);
400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster);
401 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) <<
404 if (imap.im_boffset != 0 && cluster_base != 0) {
405 ASSERT(imap.im_boffset == 0 || cluster_base == 0);
411 imap.im_blkno, imap.im_len, cluster_base, nr_inodes,
434 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp);
442 if (imap
[all...]
H A Drepair.h98 int xrep_setup_inode(struct xfs_scrub *sc, const struct xfs_imap *imap);
192 #define xrep_setup_inode(sc, imap) ((void)0)
H A Dialloc_repair.c292 struct xfs_imap imap; local
310 imap.im_blkno = XFS_AGB_TO_DADDR(mp, sc->sa.pag->pag_agno, cluster_bno);
311 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster);
312 imap.im_boffset = 0;
313 error = xfs_imap_to_bp(mp, sc->tp, &imap, &cluster_bp);
/linux-master/fs/xfs/libxfs/
H A Dxfs_inode_buf.h23 struct xfs_imap *imap, struct xfs_buf **bpp);
H A Dxfs_rmap.h174 int whichfork, struct xfs_bmbt_irec *imap);
176 int whichfork, struct xfs_bmbt_irec *imap);
179 struct xfs_bmbt_irec *imap);
H A Dxfs_ialloc.h47 * Return the location of the inode in imap, for mapping it into a buffer.
54 struct xfs_imap *imap, /* location map structure */
H A Dxfs_bmap.h250 int whichfork, struct xfs_bmbt_irec *imap);
252 int whichfork, struct xfs_bmbt_irec *imap);
/linux-master/drivers/misc/sgi-gru/
H A Dgrufault.c142 struct gru_tlb_fault_map *imap,
154 imap->fault_bits[i] = k;
522 struct gru_tlb_fault_map imap, dmap; local
536 get_clear_fault_map(gru, &imap, &dmap);
538 "cpu %d, chiplet %d, gid %d, imap %016lx %016lx, dmap %016lx %016lx\n",
540 imap.fault_bits[0], imap.fault_bits[1],
552 for_each_cbr_in_tfm(cbrnum, imap.fault_bits) {
141 get_clear_fault_map(struct gru_state *gru, struct gru_tlb_fault_map *imap, struct gru_tlb_fault_map *dmap) argument

Completed in 484 milliseconds

12