Home
last modified time | relevance | path

Searched refs:imap (Results 1 – 24 of 24) sorted by relevance

/linux/fs/xfs/
H A Dxfs_iomap.c42 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() argument
49 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero()
50 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero()
51 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero()
52 imap->br_state); in xfs_alert_fsblock_zero()
103 struct xfs_bmbt_irec *imap, in xfs_bmbt_to_iomap() argument
111 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) { in xfs_bmbt_to_iomap()
113 return xfs_alert_fsblock_zero(ip, imap); in xfs_bmbt_to_iomap()
117 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap()
120 } else if (imap->br_startblock == DELAYSTARTBLOCK || in xfs_bmbt_to_iomap()
[all …]
H A Dxfs_aops.c171 struct xfs_bmbt_irec imap; in xfs_map_blocks() local
217 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
218 cow_fsb = imap.br_startoff; in xfs_map_blocks()
241 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
242 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
247 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
248 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
249 imap.br_startoff = offset_fsb; in xfs_map_blocks()
250 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
251 imap.br_state = XFS_EXT_NORM; in xfs_map_blocks()
[all …]
H A Dxfs_reflink.c282 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() argument
287 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow()
293 return xfs_reflink_trim_around_shared(ip, imap, shared); in xfs_bmap_trim_cow()
363 struct xfs_bmbt_irec *imap, in xfs_find_trim_cow_extent() argument
368 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
369 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent()
381 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent()
382 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent()
383 return xfs_bmap_trim_cow(ip, imap, shared); in xfs_find_trim_cow_extent()
388 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent()
[all …]
H A Dxfs_iomap.h17 struct xfs_bmbt_irec *imap, u64 *sequence);
24 struct xfs_bmbt_irec *imap, unsigned int mapping_flags,
H A Dxfs_reflink.h30 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
33 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
H A Dxfs_bmap_util.c510 struct xfs_bmbt_irec imap; in xfs_can_free_eofblocks() local
564 xfs_iext_lookup_extent(ip, &ip->i_df, end_fsb, &icur, &imap)) in xfs_can_free_eofblocks()
/linux/arch/sparc/kernel/
H A Dprom_irqtrans.c49 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()
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; in fire_irq_build() local
[all …]
H A Dstarfire.c77 unsigned int starfire_translate(unsigned long imap, in starfire_translate() argument
84 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f; 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 Dof_device_64.c421 const u32 *imap, int imlen, const u32 *imask, in apply_interrupt_map() argument
444 if ((reg[j] & imask[j]) != imap[j]) in apply_interrupt_map()
447 if (imap[na] == irq) { in apply_interrupt_map()
448 handle = imap[na + 1]; in apply_interrupt_map()
449 irq = imap[na + 2]; in apply_interrupt_map()
454 imap += (na + 3); in apply_interrupt_map()
567 const void *imap, *imsk; in build_one_device_irq() local
570 imap = of_get_property(pp, "interrupt-map", &imlen); in build_one_device_irq()
572 if (imap && imsk) { in build_one_device_irq()
577 imap, imlen, imsk, in build_one_device_irq()
H A Dsbus.c205 static unsigned long sysio_imap_to_iclr(unsigned long imap) in sysio_imap_to_iclr() argument
208 return imap + diff; in sysio_imap_to_iclr()
215 unsigned long imap, iclr; in sbus_build_irq() local
218 imap = sysio_irq_offsets[ino]; in sbus_build_irq()
219 if (imap == ((unsigned long)-1)) { in sbus_build_irq()
224 imap += reg_base; in sbus_build_irq()
231 iclr = sysio_imap_to_iclr(imap); in sbus_build_irq()
255 return build_irq(sbus_level, iclr, imap); in sbus_build_irq()
/linux/drivers/of/
H A Dirq.c108 const __be32 *of_irq_parse_imap_parent(const __be32 *imap, int len, struct of_phandle_args *out_irq) in of_irq_parse_imap_parent() argument
117 np = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_imap_parent()
118 imap++; in of_irq_parse_imap_parent()
123 pr_debug(" -> imap parent not found !\n"); in of_irq_parse_imap_parent()
150 imap += addrsize + intsize; in of_irq_parse_imap_parent()
154 out_irq->args[i] = be32_to_cpup(imap - intsize + i); in of_irq_parse_imap_parent()
157 return imap; in of_irq_parse_imap_parent()
187 parser->imap = of_get_property(node, "interrupt-map", &imaplen); in of_imap_parser_init()
188 if (!parser->imap) in of_imap_parser_init()
191 imaplen /= sizeof(*parser->imap); in of_imap_parser_init()
313 const __be32 *imap, *oldimap, *imask; of_irq_parse_raw() local
[all...]
H A Dproperty.c1492 const __be32 *imap, *imap_end; in parse_interrupt_map() local
1507 imap = of_get_property(np, "interrupt-map", &imaplen); in parse_interrupt_map()
1508 if (!imap) in parse_interrupt_map()
1510 imaplen /= sizeof(*imap); in parse_interrupt_map()
1512 imap_end = imap + imaplen; in parse_interrupt_map()
1514 for (int i = 0; imap + addrcells + intcells + 1 < imap_end; i++) { in parse_interrupt_map()
1515 imap += addrcells + intcells; in parse_interrupt_map()
1517 imap = of_irq_parse_imap_parent(imap, imap_end - imap, &sup_args); in parse_interrupt_map()
1518 if (!imap) in parse_interrupt_map()
/linux/fs/xfs/scrub/
H A Dreap.c1234 struct xfs_bmbt_irec *imap, in xreap_bmapi_select() argument
1246 agbno = XFS_FSB_TO_AGBNO(sc->mp, imap->br_startblock); in xreap_bmapi_select()
1247 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_select()
1252 xfs_rmap_inode_owner(&oinfo, rs->ip, rs->whichfork, imap->br_startoff); in xreap_bmapi_select()
1274 imap->br_blockcount = len; in xreap_bmapi_select()
1316 struct xfs_bmbt_irec *imap) in xreap_bmapi_binval() argument
1334 agbno = bno = XFS_FSB_TO_AGBNO(sc->mp, imap->br_startblock); in xreap_bmapi_binval()
1335 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_binval()
1348 off = imap->br_startoff + imap->br_blockcount; in xreap_bmapi_binval()
1368 scan_blocks = off - imap->br_startoff; in xreap_bmapi_binval()
[all …]
H A Dialloc.c371 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local
402 imap.im_agbno = agbno; in xchk_iallocbt_check_cluster()
403 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster()
406 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster()
407 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster()
412 trace_xchk_iallocbt_check_cluster(pag, irec->ir_startino, imap.im_agbno, in xchk_iallocbt_check_cluster()
436 error = xfs_read_icluster(pag, bs->cur->bc_tp, imap.im_agbno, in xchk_iallocbt_check_cluster()
445 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
450 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster()
455 imap.im_boffset += mp->m_sb.sb_inodesize; in xchk_iallocbt_check_cluster()
H A Drepair.h101 int xrep_setup_inode(struct xfs_scrub *sc, const struct xfs_imap *imap);
242 #define xrep_setup_inode(sc, imap) ((void)0) argument
H A Dinode_repair.c105 struct xfs_imap imap; member
150 const struct xfs_imap *imap) in xrep_setup_inode() argument
159 memcpy(&ri->imap, imap, sizeof(struct xfs_imap)); in xrep_setup_inode()
1565 ri->imap.im_agbno), in xrep_dinode_core()
1576 dip = xfs_buf_offset(bp, ri->imap.im_boffset); in xrep_dinode_core()
1592 xfs_trans_log_buf(sc->tp, bp, ri->imap.im_boffset, in xrep_dinode_core()
1593 ri->imap.im_boffset + mp->m_sb.sb_inodesize - 1); in xrep_dinode_core()
H A Dinode.c92 struct xfs_imap imap; in xchk_setup_inode() local
195 error = xfs_imap(pag, sc->tp, sc->sm->sm_ino, &imap, in xchk_setup_inode()
215 xrep_setup_inode(sc, &imap); in xchk_setup_inode()
/linux/arch/sparc/include/asm/
H A Dirq_64.h47 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);
/linux/fs/xfs/libxfs/
H A Dxfs_ialloc.h56 struct xfs_imap *imap, /* location map structure */
H A Dxfs_exchmaps.c87 struct xfs_bmbt_irec *imap, in xfs_exchmaps_update_size() argument
96 len = min(XFS_FSB_TO_B(mp, imap->br_startoff + imap->br_blockcount), in xfs_exchmaps_update_size()
/linux/Documentation/translations/pt_BR/process/
H A Demail-clients.rst218 set spoolfile = imaps://imap.gmail.com/INBOX
219 set folder = imaps://imap.gmail.com/
220 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
221 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
222 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux/Documentation/translations/it_IT/process/
H A Demail-clients.rst234 set spoolfile = imaps://imap.gmail.com/INBOX
235 set folder = imaps://imap.gmail.com/
236 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
237 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
238 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux/sound/usb/
H A Dmixer.c1831 const struct usbmix_name_map *imap, in __build_feature_ctl() argument
1850 map = find_map(imap, unitid, control); in __build_feature_ctl()
2047 const struct usbmix_name_map *imap, in build_connector_control() argument
2054 map = find_map(imap, term->id, 0); in build_connector_control()
/linux/
H A DCREDITS3700 E: tilman@imap.cc