Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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 …]
Dsuper.c123 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs() local
140 maxinodes = min((s64) atomic_read(&imap->im_numinos) + in jfs_statfs()
141 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs()
144 buf->f_ffree = maxinodes - (atomic_read(&imap->im_numinos) - in jfs_statfs()
145 atomic_read(&imap->im_numfree)); in jfs_statfs()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iomap.c38 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() argument
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() 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.c87 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()
176 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0); in xfs_fs_map_blocks()
192 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local
[all …]
Dxfs_aops.c351 struct xfs_bmbt_irec imap; in xfs_map_blocks() local
395 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
396 cow_fsb = imap.br_startoff; in xfs_map_blocks()
419 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
420 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
425 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
426 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
427 imap.br_startoff = offset_fsb; in xfs_map_blocks()
428 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
429 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_reflink.h25 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
28 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
Dxfs_iomap.h15 xfs_fileoff_t count_fsb, struct xfs_bmbt_irec *imap);
/kernel/linux/linux-5.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.c208 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, val; in sun4u_set_affinity() local
406 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()
/kernel/linux/linux-5.10/drivers/irqchip/
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()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dialloc.c213 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.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
294 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspider-pic.c218 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-5.10/drivers/of/
Dirq.c98 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()
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 - newintsize + i); in of_irq_parse_raw()
/kernel/linux/linux-5.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"
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rmap.h166 int whichfork, struct xfs_bmbt_irec *imap);
168 int whichfork, struct xfs_bmbt_irec *imap);
171 struct xfs_bmbt_irec *imap);
Dxfs_bmap.h271 struct xfs_bmbt_irec *imap);
273 struct xfs_bmbt_irec *imap);
Dxfs_inode_buf.c137 struct xfs_imap *imap, in xfs_imap_to_bp() argument
146 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp()
147 (int)imap->im_len, buf_flags, &bp, in xfs_imap_to_bp()
156 *dipp = xfs_buf_offset(bp, imap->im_boffset); in xfs_imap_to_bp()
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.10/Documentation/process/
Demail-clients.rst222 set spoolfile = imaps://imap.gmail.com/INBOX
223 set folder = imaps://imap.gmail.com/
224 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
225 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
226 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"

12