Home
last modified time | relevance | path

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

12

/linux-6.15/fs/jfs/
H A Djfs_imap.c51 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) argument
52 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) argument
53 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) argument
56 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) argument
57 #define AG_LOCK(imap,agno) mutex_lock(&imap->im_aglock[agno]) argument
58 #define AG_UNLOCK(imap,agno) mutex_unlock(&imap->im_aglock[agno]) argument
96 struct inomap *imap; in diMount() local
106 if (imap == NULL) in diMount()
115 kfree(imap); in diMount()
195 kfree(imap); in diUnmount()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_iomap.c42 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() argument
52 imap->br_state); in xfs_alert_fsblock_zero()
325 imap, &nimaps); in xfs_iomap_write_direct()
611 xfs_bmbt_irec_t imap; in xfs_iomap_write_unwritten() local
796 if (imap->br_startoff + imap->br_blockcount < end_fsb) in imap_spans_range()
880 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_direct_write_iomap_begin()
937 end_fsb = min(end_fsb, imap.br_startoff + imap.br_blockcount); in xfs_direct_write_iomap_begin()
941 flags, &imap, &seq); in xfs_direct_write_iomap_begin()
1620 &imap); in xfs_buffered_write_iomap_begin()
1634 &imap); in xfs_buffered_write_iomap_begin()
[all …]
H A Dxfs_aops.c292 struct xfs_bmbt_irec imap; in xfs_map_blocks() local
339 cow_fsb = imap.br_startoff; in xfs_map_blocks()
369 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
370 imap.br_startoff = offset_fsb; in xfs_map_blocks()
372 imap.br_state = XFS_EXT_NORM; in xfs_map_blocks()
382 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks()
383 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
565 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_zoned_map_blocks()
568 imap.br_state = XFS_EXT_NORM; in xfs_zoned_map_blocks()
573 end_fsb = min(end_fsb, imap.br_startoff + imap.br_blockcount); in xfs_zoned_map_blocks()
[all …]
H A Dxfs_pnfs.c120 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local
178 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks()
188 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks()
189 imap.br_blockcount); in xfs_fs_map_blocks()
193 end_fsb - offset_fsb, 0, &imap, &seq); in xfs_fs_map_blocks()
213 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0, seq); in xfs_fs_map_blocks()
229 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local
235 &imap, &nimaps, 0); in xfs_pnfs_validate_isize()
240 if (imap.br_startblock == HOLESTARTBLOCK || in xfs_pnfs_validate_isize()
241 imap.br_startblock == DELAYSTARTBLOCK || in xfs_pnfs_validate_isize()
[all …]
H A Dxfs_reflink.c282 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() argument
363 struct xfs_bmbt_irec *imap, in xfs_find_trim_cow_extent() argument
381 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent()
401 struct xfs_bmbt_irec *imap, in xfs_reflink_convert_unwritten() argument
434 struct xfs_bmbt_irec *imap, in xfs_reflink_fill_cow_hole() argument
479 error = xfs_bmapi_write(tp, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_fill_cow_hole()
501 struct xfs_bmbt_irec *imap, in xfs_reflink_fill_delalloc() argument
565 struct xfs_bmbt_irec *imap, in xfs_reflink_allocate_cow() argument
1451 struct xfs_bmbt_irec imap; in xfs_reflink_remap_blocks() local
1494 imap.br_startoff = destoff; in xfs_reflink_remap_blocks()
[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,
/linux-6.15/fs/xfs/scrub/
H A Dreap.c961 struct xfs_bmbt_irec *imap, in xreap_bmapi_select() argument
1000 imap->br_blockcount = len; in xreap_bmapi_select()
1044 struct xfs_bmbt_irec *imap) in xreap_bmapi_binval() argument
1076 off = imap->br_startoff + imap->br_blockcount; in xreap_bmapi_binval()
1142 imap->br_blockcount); in xreap_bmapi_binval()
1155 struct xfs_bmbt_irec *imap, in xrep_reap_bmapi_iter() argument
1171 imap->br_blockcount); in xrep_reap_bmapi_iter()
1194 imap->br_blockcount); in xrep_reap_bmapi_iter()
1228 struct xfs_bmbt_irec *imap) in xreap_ifork_extent() argument
1288 struct xfs_bmbt_irec imap; in xrep_reap_ifork() local
[all …]
H A Dialloc.c366 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local
397 imap.im_blkno = xfs_agbno_to_daddr(to_perag(bs->cur->bc_group), agbno); in xchk_iallocbt_check_cluster()
398 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()
399 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster()
402 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster()
403 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster()
409 irec->ir_startino, imap.im_blkno, imap.im_len, in xchk_iallocbt_check_cluster()
432 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp); in xchk_iallocbt_check_cluster()
440 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
445 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster()
[all …]
H A Dialloc_repair.c290 struct xfs_imap imap; in xrep_ibt_process_cluster() local
308 imap.im_blkno = xfs_agbno_to_daddr(sc->sa.pag, cluster_bno); in xrep_ibt_process_cluster()
309 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xrep_ibt_process_cluster()
310 imap.im_boffset = 0; in xrep_ibt_process_cluster()
311 error = xfs_imap_to_bp(mp, sc->tp, &imap, &cluster_bp); in xrep_ibt_process_cluster()
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()
1563 ri->imap.im_blkno, ri->imap.im_len, 0, &bp, NULL); in xrep_dinode_core()
1572 dip = xfs_buf_offset(bp, ri->imap.im_boffset); in xrep_dinode_core()
1588 xfs_trans_log_buf(sc->tp, bp, ri->imap.im_boffset, in xrep_dinode_core()
1589 ri->imap.im_boffset + sc->mp->m_sb.sb_inodesize - 1); in xrep_dinode_core()
/linux-6.15/arch/sparc/kernel/
H A Dprom_irqtrans.c49 unsigned long imap, iclr; in psycho_irq_build() local
229 unsigned long imap, iclr; in sabre_irq_build() local
385 unsigned long imap, iclr; in schizo_irq_build() local
517 unsigned long imap, iclr; in fire_irq_build() local
646 return imap + diff; in sysio_imap_to_iclr()
655 unsigned long imap, iclr; in sbus_of_build_irq() local
674 imap += reg_base; in sbus_of_build_irq()
726 unsigned long imap, iclr; in central_build_irq() local
739 imap = res->start + 0x00UL; in central_build_irq()
746 tmp = upa_readl(imap); in central_build_irq()
[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 Dirq_64.c208 unsigned long imap; member
373 unsigned long cpuid, imap, val; in sun4u_irq_enable() local
378 imap = handler_data->imap; in sun4u_irq_enable()
382 val = upa_readq(imap); in sun4u_irq_enable()
386 upa_writeq(val, imap); in sun4u_irq_enable()
398 unsigned long cpuid, imap, val; in sun4u_set_affinity() local
402 imap = handler_data->imap; in sun4u_set_affinity()
406 val = upa_readq(imap); in sun4u_set_affinity()
410 upa_writeq(val, imap); in sun4u_set_affinity()
638 handler_data->imap = imap; in build_irq()
[all …]
H A Dof_device_64.c422 const u32 *imap, int imlen, const u32 *imask, in apply_interrupt_map() argument
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, 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-6.15/drivers/of/
H A Dirq.c117 np = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_imap_parent()
118 imap++; 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()
243 const __be32 *imap, *oldimap, *imask; in of_irq_parse_raw() local
271 if (imap == NULL) { in of_irq_parse_raw()
293 oldimap = imap; in of_irq_parse_raw()
295 if (!imap) in of_irq_parse_raw()
303 imaplen -= imap - oldimap; in of_irq_parse_raw()
[all …]
H A Dproperty.c1442 const __be32 *imap, *imap_end; in parse_interrupt_map() local
1457 imap = of_get_property(np, "interrupt-map", &imaplen); in parse_interrupt_map()
1458 if (!imap) in parse_interrupt_map()
1460 imaplen /= sizeof(*imap); in parse_interrupt_map()
1462 imap_end = imap + imaplen; in parse_interrupt_map()
1464 for (int i = 0; imap + addrcells + intcells + 1 < imap_end; i++) { in parse_interrupt_map()
1465 imap += addrcells + intcells; in parse_interrupt_map()
1467 imap = of_irq_parse_imap_parent(imap, imap_end - imap, &sup_args); in parse_interrupt_map()
1468 if (!imap) in parse_interrupt_map()
/linux-6.15/drivers/irqchip/
H A Dirq-renesas-rza1.c148 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()
/linux-6.15/Documentation/translations/zh_CN/process/
H A Demail-clients.rst203 set spoolfile = imaps://imap.gmail.com/INBOX
204 set folder = imaps://imap.gmail.com/
205 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
206 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
207 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux-6.15/Documentation/translations/zh_TW/process/
H A Demail-clients.rst204 set spoolfile = imaps://imap.gmail.com/INBOX
205 set folder = imaps://imap.gmail.com/
206 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
207 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
208 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux-6.15/drivers/misc/sgi-gru/
H A Dgrufault.c142 struct gru_tlb_fault_map *imap, in get_clear_fault_map() argument
154 imap->fault_bits[i] = k; in get_clear_fault_map()
522 struct gru_tlb_fault_map imap, dmap; in gru_intr() local
536 get_clear_fault_map(gru, &imap, &dmap); in gru_intr()
540 imap.fault_bits[0], imap.fault_bits[1], in gru_intr()
552 for_each_cbr_in_tfm(cbrnum, imap.fault_bits) { in gru_intr()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rmap.h183 int whichfork, struct xfs_bmbt_irec *imap);
185 int whichfork, struct xfs_bmbt_irec *imap);
188 struct xfs_bmbt_irec *imap);
H A Dxfs_ialloc.c1069 struct xfs_imap imap; in xfs_dialloc_check_ino() local
1073 error = xfs_imap(pag, tp, ino, &imap, 0); in xfs_dialloc_check_ino()
1077 error = xfs_imap_to_bp(pag_mount(pag), tp, &imap, &bp); in xfs_dialloc_check_ino()
2459 struct xfs_imap *imap, /* location map structure */ in xfs_imap() argument
2529 imap->im_blkno = xfs_agbno_to_daddr(pag, agbno); in xfs_imap()
2530 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap()
2531 imap->im_boffset = (unsigned short)(offset << in xfs_imap()
2559 imap->im_blkno = xfs_agbno_to_daddr(pag, cluster_agbno); in xfs_imap()
2569 if ((imap->im_blkno + imap->im_len) > in xfs_imap()
2573 __func__, (unsigned long long) imap->im_blkno, in xfs_imap()
[all …]
/linux-6.15/arch/sparc/include/asm/
H A Dstarfire.h17 unsigned int starfire_translate(unsigned long imap, unsigned int upaid);

12