/Linux-v6.6/fs/jfs/ |
D | jfs_imap.c | 51 #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 …]
|
D | super.c | 123 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()
|
/Linux-v6.6/fs/xfs/ |
D | xfs_iomap.c | 37 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() 94 struct xfs_bmbt_irec *imap, in xfs_bmbt_to_iomap() argument 102 if (unlikely(!xfs_valid_startblock(ip, imap->br_startblock))) in xfs_bmbt_to_iomap() 103 return xfs_alert_fsblock_zero(ip, imap); in xfs_bmbt_to_iomap() 105 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap() 108 } else if (imap->br_startblock == DELAYSTARTBLOCK || in xfs_bmbt_to_iomap() [all …]
|
D | xfs_aops.c | 288 struct xfs_bmbt_irec imap; in xfs_map_blocks() local 333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 334 cow_fsb = imap.br_startoff; in xfs_map_blocks() 357 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 358 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 363 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() 364 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 365 imap.br_startoff = offset_fsb; in xfs_map_blocks() 366 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks() 367 imap.br_state = XFS_EXT_NORM; in xfs_map_blocks() [all …]
|
D | xfs_pnfs.c | 121 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local 179 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks() 182 ASSERT(!nimaps || imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks() 185 (!nimaps || imap.br_startblock == HOLESTARTBLOCK)) { in xfs_fs_map_blocks() 188 else if (nimaps && imap.br_startblock == HOLESTARTBLOCK) in xfs_fs_map_blocks() 189 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks() 190 imap.br_blockcount); in xfs_fs_map_blocks() 194 end_fsb - offset_fsb, 0, &imap, &seq); in xfs_fs_map_blocks() 214 error = xfs_bmbt_to_iomap(ip, iomap, &imap, 0, 0, seq); in xfs_fs_map_blocks() 230 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local [all …]
|
D | xfs_reflink.c | 230 struct xfs_bmbt_irec *imap, in xfs_bmap_trim_cow() argument 235 !isnullstartblock(imap->br_startblock)) { in xfs_bmap_trim_cow() 241 return xfs_reflink_trim_around_shared(ip, imap, shared); in xfs_bmap_trim_cow() 311 struct xfs_bmbt_irec *imap, in xfs_find_trim_cow_extent() argument 316 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 317 xfs_filblks_t count_fsb = imap->br_blockcount; in xfs_find_trim_cow_extent() 329 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent() 330 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 331 return xfs_bmap_trim_cow(ip, imap, shared); in xfs_find_trim_cow_extent() 336 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount); in xfs_find_trim_cow_extent() [all …]
|
D | xfs_iomap.h | 16 struct xfs_bmbt_irec *imap, u64 *sequence); 23 struct xfs_bmbt_irec *imap, unsigned int mapping_flags,
|
D | xfs_reflink.h | 21 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-v6.6/arch/sparc/kernel/ |
D | prom_irqtrans.c | 49 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 …]
|
D | starfire.c | 77 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()
|
D | irq_64.c | 209 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 …]
|
D | of_device_64.c | 422 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()
|
D | sbus.c | 205 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-v6.6/drivers/irqchip/ |
D | irq-renesas-rza1.c | 148 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-v6.6/drivers/of/ |
D | irq.c | 118 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-v6.6/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 214 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-v6.6/fs/xfs/scrub/ |
D | ialloc.c | 367 struct xfs_imap imap; in xchk_iallocbt_check_cluster() local 399 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); in xchk_iallocbt_check_cluster() 400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 401 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) << in xchk_iallocbt_check_cluster() 404 if (imap.im_boffset != 0 && cluster_base != 0) { in xchk_iallocbt_check_cluster() 405 ASSERT(imap.im_boffset == 0 || cluster_base == 0); in xchk_iallocbt_check_cluster() 411 imap.im_blkno, imap.im_len, cluster_base, nr_inodes, in xchk_iallocbt_check_cluster() 434 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp); in xchk_iallocbt_check_cluster() 442 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster() 447 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster() [all …]
|
/Linux-v6.6/Documentation/translations/zh_TW/process/ |
D | email-clients.rst | 163 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-v6.6/Documentation/translations/zh_CN/process/ |
D | email-clients.rst | 203 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-v6.6/drivers/misc/sgi-gru/ |
D | grufault.c | 142 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-v6.6/fs/xfs/libxfs/ |
D | xfs_rmap.h | 174 int whichfork, struct xfs_bmbt_irec *imap); 176 int whichfork, struct xfs_bmbt_irec *imap); 179 struct xfs_bmbt_irec *imap);
|
D | xfs_inode_buf.h | 23 struct xfs_imap *imap, struct xfs_buf **bpp);
|
D | xfs_bmap.h | 250 struct xfs_bmbt_irec *imap); 252 struct xfs_bmbt_irec *imap);
|
/Linux-v6.6/arch/sparc/include/asm/ |
D | starfire.h | 17 unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
|
D | irq_64.h | 47 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);
|