/Linux-v4.19/fs/jfs/ |
D | jfs_imap.c | 64 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) argument 65 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) argument 66 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) argument 69 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) argument 70 #define AG_LOCK(imap,agno) mutex_lock(&imap->im_aglock[agno]) argument 71 #define AG_UNLOCK(imap,agno) mutex_unlock(&imap->im_aglock[agno]) argument 86 static int diIAGRead(struct inomap * imap, int, struct metapage **); 109 struct inomap *imap; in diMount() local 118 imap = kmalloc(sizeof(struct inomap), GFP_KERNEL); in diMount() 119 if (imap == NULL) { in diMount() [all …]
|
D | super.c | 154 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs() local 171 maxinodes = min((s64) atomic_read(&imap->im_numinos) + in jfs_statfs() 172 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs() 175 buf->f_ffree = maxinodes - (atomic_read(&imap->im_numinos) - in jfs_statfs() 176 atomic_read(&imap->im_numfree)); in jfs_statfs()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_iomap.c | 42 struct xfs_bmbt_irec *imap) in xfs_bmbt_to_iomap() argument 46 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap() 49 } else if (imap->br_startblock == DELAYSTARTBLOCK) { in xfs_bmbt_to_iomap() 53 iomap->addr = BBTOB(xfs_fsb_to_db(ip, imap->br_startblock)); in xfs_bmbt_to_iomap() 54 if (imap->br_state == XFS_EXT_UNWRITTEN) in xfs_bmbt_to_iomap() 59 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 60 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 129 xfs_bmbt_irec_t *imap) in xfs_alert_fsblock_zero() argument 136 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero() 137 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() [all …]
|
D | xfs_aops.c | 30 struct xfs_bmbt_irec imap; member 315 struct xfs_bmbt_irec imap; in xfs_map_blocks() local 332 xfs_trim_extent_eof(&wpc->imap, ip); in xfs_map_blocks() 349 imap_valid = offset_fsb >= wpc->imap.br_startoff && in xfs_map_blocks() 350 offset_fsb < wpc->imap.br_startoff + wpc->imap.br_blockcount; in xfs_map_blocks() 380 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 381 cow_fsb = imap.br_startoff; in xfs_map_blocks() 418 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 419 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 422 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() [all …]
|
D | xfs_reflink.c | 253 struct xfs_bmbt_irec *imap, in xfs_reflink_reserve_cow() argument 271 if (!xfs_iext_lookup_extent(ip, ifp, imap->br_startoff, &icur, &got)) in xfs_reflink_reserve_cow() 273 if (!eof && got.br_startoff <= imap->br_startoff) { in xfs_reflink_reserve_cow() 274 trace_xfs_reflink_cow_found(ip, imap); in xfs_reflink_reserve_cow() 275 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_reflink_reserve_cow() 282 error = xfs_reflink_trim_around_shared(ip, imap, shared, &trimmed); in xfs_reflink_reserve_cow() 298 error = xfs_bmapi_reserve_delalloc(ip, XFS_COW_FORK, imap->br_startoff, in xfs_reflink_reserve_cow() 299 imap->br_blockcount, 0, &got, &icur, eof); in xfs_reflink_reserve_cow() 301 trace_xfs_reflink_cow_enospc(ip, imap); in xfs_reflink_reserve_cow() 313 struct xfs_bmbt_irec *imap, in xfs_reflink_convert_cow_extent() argument [all …]
|
D | xfs_pnfs.c | 94 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local 151 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks() 160 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks() 162 if (!nimaps || imap.br_startblock == HOLESTARTBLOCK) { in xfs_fs_map_blocks() 169 &imap, nimaps); in xfs_fs_map_blocks() 188 xfs_bmbt_to_iomap(ip, iomap, &imap); in xfs_fs_map_blocks() 204 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local 210 &imap, &nimaps, 0); in xfs_pnfs_validate_isize() 215 if (imap.br_startblock == HOLESTARTBLOCK || in xfs_pnfs_validate_isize() 216 imap.br_startblock == DELAYSTARTBLOCK || in xfs_pnfs_validate_isize() [all …]
|
D | xfs_reflink.h | 16 struct xfs_bmbt_irec *imap, bool *shared); 18 struct xfs_bmbt_irec *imap, bool *shared, uint *lockmode);
|
D | xfs_bmap_util.c | 789 struct xfs_bmbt_irec imap; in xfs_free_eofblocks() local 804 error = xfs_bmapi_read(ip, end_fsb, map_len, &imap, &nimaps, 0); in xfs_free_eofblocks() 812 (imap.br_startblock != HOLESTARTBLOCK || in xfs_free_eofblocks() 1052 struct xfs_bmbt_irec imap; in xfs_adjust_extent_unmap_boundaries() local 1057 error = xfs_bmapi_read(ip, *startoffset_fsb, 1, &imap, &nimap, 0); in xfs_adjust_extent_unmap_boundaries() 1061 if (nimap && imap.br_startblock != HOLESTARTBLOCK) { in xfs_adjust_extent_unmap_boundaries() 1062 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_adjust_extent_unmap_boundaries() 1063 div_u64_rem(imap.br_startblock, mp->m_sb.sb_rextsize, &mod); in xfs_adjust_extent_unmap_boundaries() 1069 error = xfs_bmapi_read(ip, *endoffset_fsb - 1, 1, &imap, &nimap, 0); in xfs_adjust_extent_unmap_boundaries() 1073 if (nimap && imap.br_startblock != HOLESTARTBLOCK) { in xfs_adjust_extent_unmap_boundaries() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | prom_irqtrans.c | 48 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 …]
|
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 | 208 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 …]
|
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 | 203 static unsigned long sysio_imap_to_iclr(unsigned long imap) in sysio_imap_to_iclr() argument 206 return imap + diff; in sysio_imap_to_iclr() 213 unsigned long imap, iclr; in sbus_build_irq() local 216 imap = sysio_irq_offsets[ino]; in sbus_build_irq() 217 if (imap == ((unsigned long)-1)) { in sbus_build_irq() 222 imap += reg_base; in sbus_build_irq() 229 iclr = sysio_imap_to_iclr(imap); in sbus_build_irq() 253 return build_irq(sbus_level, iclr, imap); in sbus_build_irq()
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 231 const u32 *imap, *tmp; in spider_find_cascade_and_node() local 250 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 251 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node() 253 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node() 256 imap += intsize + 1; in spider_find_cascade_and_node() 264 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
|
/Linux-v4.19/drivers/of/ |
D | irq.c | 99 const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; in of_irq_parse_raw() local 178 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw() 180 if (imap == NULL) { in of_irq_parse_raw() 198 match &= !((match_array[i] ^ *imap++) & imask[i]); in of_irq_parse_raw() 206 newpar = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_raw() 207 imap++; in of_irq_parse_raw() 241 imap += newaddrsize + newintsize; in of_irq_parse_raw() 253 match_array = imap - newaddrsize - newintsize; in of_irq_parse_raw() 255 out_irq->args[i] = be32_to_cpup(imap - newintsize + i); in of_irq_parse_raw()
|
/Linux-v4.19/drivers/misc/sgi-gru/ |
D | grufault.c | 155 struct gru_tlb_fault_map *imap, in get_clear_fault_map() argument 167 imap->fault_bits[i] = k; in get_clear_fault_map() 535 struct gru_tlb_fault_map imap, dmap; in gru_intr() local 549 get_clear_fault_map(gru, &imap, &dmap); in gru_intr() 553 imap.fault_bits[0], imap.fault_bits[1], in gru_intr() 565 for_each_cbr_in_tfm(cbrnum, imap.fault_bits) { in gru_intr()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | ialloc.c | 190 struct xfs_imap imap; in xchk_iallocbt_check_freemask() local 241 imap.im_blkno = XFS_AGB_TO_DADDR(mp, bs->cur->bc_private.a.agno, in xchk_iallocbt_check_freemask() 243 imap.im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xchk_iallocbt_check_freemask() 244 imap.im_boffset = 0; in xchk_iallocbt_check_freemask() 246 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, in xchk_iallocbt_check_freemask()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_rmap.h | 189 int whichfork, struct xfs_bmbt_irec *imap); 191 int whichfork, struct xfs_bmbt_irec *imap); 194 struct xfs_bmbt_irec *imap);
|
D | xfs_bmap.h | 259 struct xfs_bmbt_irec *imap); 261 struct xfs_bmbt_irec *imap);
|
D | xfs_ialloc.c | 2289 struct xfs_imap *imap, /* location map structure */ in xfs_imap() argument 2366 imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno); in xfs_imap() 2367 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap() 2368 imap->im_boffset = (unsigned short)(offset << in xfs_imap() 2395 imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, cluster_agbno); in xfs_imap() 2396 imap->im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xfs_imap() 2397 imap->im_boffset = (unsigned short)(offset << mp->m_sb.sb_inodelog); in xfs_imap() 2405 if ((imap->im_blkno + imap->im_len) > in xfs_imap() 2409 __func__, (unsigned long long) imap->im_blkno, in xfs_imap() 2410 (unsigned long long) imap->im_len, in xfs_imap()
|
D | xfs_ialloc.h | 95 struct xfs_imap *imap, /* location map structure */
|
D | xfs_inode_buf.c | 174 struct xfs_imap *imap, in xfs_imap_to_bp() argument 184 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp() 185 (int)imap->im_len, buf_flags, &bp, in xfs_imap_to_bp() 198 *dipp = xfs_buf_offset(bp, imap->im_boffset); in xfs_imap_to_bp()
|
/Linux-v4.19/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);
|
/Linux-v4.19/Documentation/process/ |
D | email-clients.rst | 219 set spoolfile = imaps://imap.gmail.com/INBOX 220 set folder = imaps://imap.gmail.com/ 221 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" 222 set postponed="imaps://imap.gmail.com/[Gmail]/Drafts" 223 set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
|