Home
last modified time | relevance | path

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

123

/openbmc/linux/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
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 …]
/openbmc/linux/fs/xfs/
H A 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()
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 …]
H A Dxfs_aops.c249 struct xfs_bmbt_irec imap; in xfs_map_blocks() local
295 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
296 cow_fsb = imap.br_startoff; in xfs_map_blocks()
319 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
320 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
325 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
326 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
327 imap.br_startoff = offset_fsb; in xfs_map_blocks()
328 imap.br_startblock = HOLESTARTBLOCK; in xfs_map_blocks()
329 imap.br_state = XFS_EXT_NORM; in xfs_map_blocks()
[all …]
H A Dxfs_reflink.c230 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 …]
H A Dxfs_pnfs.c121 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 …]
H A Dxfs_iomap.h16 struct xfs_bmbt_irec *imap, u64 *sequence);
23 struct xfs_bmbt_irec *imap, unsigned int mapping_flags,
H A Dxfs_reflink.h40 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
43 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/
H A D0008-ext-imap-config.m4-fix-include-paths.patch4 Subject: [PATCH 08/11] ext/imap/config.m4: fix include paths
12 ext/imap/config.m4 | 10 ++--------
15 diff --git a/ext/imap/config.m4 b/ext/imap/config.m4
17 --- a/ext/imap/config.m4
18 +++ b/ext/imap/config.m4
20 PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
27 el[]IMAP_INC_CHK(/include/imap)
38 - for lib in c-client4 c-client imap; do
39 + for lib in /usr/lib c-client4 c-client imap; do
/openbmc/linux/arch/sparc/kernel/
H A Dprom_irqtrans.c49 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 …]
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.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 …]
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()
/openbmc/linux/drivers/of/
H A Dirq.c103 const __be32 *of_irq_parse_imap_parent(const __be32 *imap, int len, struct of_phandle_args *out_irq) in of_irq_parse_imap_parent() argument
112 np = of_find_node_by_phandle(be32_to_cpup(imap)); in of_irq_parse_imap_parent()
113 imap++; in of_irq_parse_imap_parent()
145 imap += addrsize + intsize; in of_irq_parse_imap_parent()
149 out_irq->args[i] = be32_to_cpup(imap - intsize + i); in of_irq_parse_imap_parent()
152 return imap; in of_irq_parse_imap_parent()
236 const __be32 *imap, *oldimap, *imask; in of_irq_parse_raw() local
247 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw()
249 (!imap || of_device_compatible_match(ipar, of_irq_imap_abusers))) { in of_irq_parse_raw()
264 if (imap == NULL) { in of_irq_parse_raw()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A Dquote_cctype.patch3 diff -urN imap-2007.orig/Makefile imap-2007/Makefile
4 --- imap-2007.orig/Makefile 2007-12-20 23:11:10.000000000 +0100
5 +++ imap-2007/Makefile 2008-03-19 14:08:47.000000000 +0100
H A Dimap-2007f-format-security.patch9 diff -Naur imap-2007f.orig/src/osdep/unix/flocklnx.c imap-2007f/src/osdep/unix/flocklnx.c
10 --- imap-2007f.orig/src/osdep/unix/flocklnx.c 2011-07-23 02:20:11.000000000 +0200
11 +++ imap-2007f/src/osdep/unix/flocklnx.c 2014-04-14 19:17:46.429000000 +0200
H A Dimap-2007e-shared.patch9 diff -up imap-2007e/src/osdep/unix/Makefile.shared imap-2007e/src/osdep/unix/Makefile
10 --- imap-2007e/src/osdep/unix/Makefile.shared 2009-07-07 19:28:02.909755512 -0500
11 +++ imap-2007e/src/osdep/unix/Makefile 2009-07-07 19:29:35.870006799 -0500
H A Duw-imap-newer-tls.patch4 --- imap-2007f/src/osdep/unix/ssl_unix.c.old 2024-05-08 09:41:06.183450584 +0200
5 +++ imap-2007f/src/osdep/unix/ssl_unix.c 2024-05-08 09:43:38.512931933 +0200
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/
H A Duw-imap_2007f.bb9 SRC_URI = "https://fossies.org/linux/misc/old/imap-${PV}.tar.gz \
11 file://imap-2007e-shared.patch \
12 file://imap-2007f-format-security.patch \
18 file://uw-imap-newer-tls.patch \
19 file://uw-imap-fix-incompatible-pointer-types.patch \
25 S = "${WORKDIR}/imap-${PV}"
/openbmc/linux/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()
/openbmc/qemu/hw/pci-host/
H A Dversatile.c99 uint32_t imap[3]; member
120 offset = s->imap[i] & ~(s->mem_win_size[i] - 1); in pci_vpb_update_window()
123 offset = s->imap[i] << 28; in pci_vpb_update_window()
151 VMSTATE_UINT32_ARRAY(imap, PCIVPBState, 3),
190 s->imap[win] = val; in pci_vpb_reg_write()
226 return s->imap[win]; in pci_vpb_reg_read()
374 s->imap[0] = 0; in pci_vpb_reset()
375 s->imap[1] = 0; in pci_vpb_reset()
376 s->imap[2] = 0; in pci_vpb_reset()
/openbmc/linux/fs/xfs/scrub/
H A Dialloc.c367 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 …]
/openbmc/linux/arch/powerpc/platforms/cell/
H A 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()
/openbmc/linux/Documentation/translations/zh_TW/process/
H A 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"
/openbmc/linux/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"

123