Home
last modified time | relevance | path

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

12

/linux-5.19.10/fs/jfs/
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
73 static int diIAGRead(struct inomap * imap, int, struct metapage **);
96 struct inomap *imap; in diMount() local
105 imap = kmalloc(sizeof(struct inomap), GFP_KERNEL); in diMount()
106 if (imap == NULL) in diMount()
[all …]
/linux-5.19.10/fs/xfs/
Dxfs_iomap.c37 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() argument
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()
55 struct xfs_bmbt_irec *imap, in xfs_bmbt_to_iomap() argument
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->br_startblock == DELAYSTARTBLOCK || in xfs_bmbt_to_iomap()
[all …]
Dxfs_pnfs.c121 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local
178 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks()
180 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks()
183 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks()
186 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks()
187 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks()
188 imap.br_blockcount); in xfs_fs_map_blocks()
192 end_fsb - offset_fsb, 0, &imap); in xfs_fs_map_blocks()
212 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0); in xfs_fs_map_blocks()
228 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local
[all …]
Dxfs_aops.c281 struct xfs_bmbt_irec imap; in xfs_map_blocks() local
324 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
325 cow_fsb = imap.br_startoff; in xfs_map_blocks()
348 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
349 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
354 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
355 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
356 imap.br_startoff = offset_fsb; in xfs_map_blocks()
357 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
358 imap.br_state = XFS_EXT_NORM; in xfs_map_blocks()
[all …]
Dxfs_reflink.c227 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() argument
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() argument
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, shared); in xfs_find_trim_cow_extent()
333 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent()
[all …]
Dxfs_iomap.h16 struct xfs_bmbt_irec *imap);
22 struct xfs_bmbt_irec *imap, unsigned int mapping_flags,
Dxfs_reflink.h24 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
27 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
/linux-5.19.10/arch/sparc/kernel/
Dprom_irqtrans.c48 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()
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; in fire_irq_build() local
[all …]
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()
Dirq_64.c209 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, val; in sun4u_set_affinity() local
407 imap = handler_data->imap; in sun4u_set_affinity()
[all …]
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()
Dsbus.c204 static unsigned long sysio_imap_to_iclr(unsigned long imap) in sysio_imap_to_iclr() argument
207 return imap + diff; in sysio_imap_to_iclr()
214 unsigned long imap, iclr; in sbus_build_irq() local
217 imap = sysio_irq_offsets[ino]; in sbus_build_irq()
218 if (imap == ((unsigned long)-1)) { in sbus_build_irq()
223 imap += reg_base; in sbus_build_irq()
230 iclr = sysio_imap_to_iclr(imap); in sbus_build_irq()
254 return build_irq(sbus_level, iclr, imap); in sbus_build_irq()
/linux-5.19.10/drivers/irqchip/
Dirq-realtek-rtl.c108 const __be32 *imap; in map_interrupts() local
122 imap = of_get_property(node, "interrupt-map", &imaplen); in map_interrupts()
123 if (!imap || imaplen % 3) in map_interrupts()
129 soc_int = be32_to_cpup(imap); in map_interrupts()
133 cpu_ictl = of_find_node_by_phandle(be32_to_cpup(imap + 1)); in map_interrupts()
141 cpu_int = be32_to_cpup(imap + 2); in map_interrupts()
153 imap += 3; in map_interrupts()
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-5.19.10/fs/xfs/scrub/
Dialloc.c213 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local
245 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); in xchk_iallocbt_check_cluster()
246 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()
247 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster()
250 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster()
251 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster()
257 imap.im_blkno, imap.im_len, cluster_base, nr_inodes, in xchk_iallocbt_check_cluster()
280 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp); in xchk_iallocbt_check_cluster()
288 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
293 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster()
[all …]
/linux-5.19.10/drivers/of/
Dirq.c118 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()
266 imap += newaddrsize + newintsize; in of_irq_parse_raw()
290 match_array = imap - newaddrsize - newintsize; in of_irq_parse_raw()
292 out_irq->args[i] = be32_to_cpup(imap - newintsize + i); in of_irq_parse_raw()
/linux-5.19.10/arch/powerpc/platforms/cell/
Dspider-pic.c214 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()
/linux-5.19.10/Documentation/translations/zh_CN/process/
Demail-clients.rst160 set spoolfile = imaps://imap.gmail.com/INBOX
161 set folder = imaps://imap.gmail.com/
162 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
163 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
164 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux-5.19.10/Documentation/translations/zh_TW/process/
Demail-clients.rst163 set spoolfile = imaps://imap.gmail.com/INBOX
164 set folder = imaps://imap.gmail.com/
165 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
166 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
167 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
/linux-5.19.10/drivers/misc/sgi-gru/
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-5.19.10/fs/xfs/libxfs/
Dxfs_rmap.h169 int whichfork, struct xfs_bmbt_irec *imap);
171 int whichfork, struct xfs_bmbt_irec *imap);
174 struct xfs_bmbt_irec *imap);
Dxfs_bmap.h242 struct xfs_bmbt_irec *imap);
244 struct xfs_bmbt_irec *imap);
Dxfs_inode_buf.h23 struct xfs_imap *imap, struct xfs_buf **bpp);
/linux-5.19.10/arch/sparc/include/asm/
Dstarfire.h17 unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
Dirq_64.h47 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);

12