| /freebsd-14.2/usr.sbin/makefs/ffs/ |
| H A D | ffs_balloc.c | 96 if (bpp != NULL) { in ffs_balloc_ufs1() 97 *bpp = NULL; in ffs_balloc_ufs1() 140 brelse(*bpp); in ffs_balloc_ufs1() 166 brelse(*bpp); in ffs_balloc_ufs1() 197 *bpp = bp; in ffs_balloc_ufs1() 311 *bpp = nbp; in ffs_balloc_ufs1() 330 *bpp = nbp; in ffs_balloc_ufs1() 354 *bpp = NULL; in ffs_balloc_ufs2() 454 *bpp = bp; in ffs_balloc_ufs2() 568 *bpp = nbp; in ffs_balloc_ufs2() [all …]
|
| H A D | buf.c | 59 struct m_buf **bpp) in bread() argument 65 assert (bpp != NULL); in bread() 70 *bpp = getblk(vp, blkno, size, 0, 0, 0); in bread() 74 (long long)(*bpp)->b_blkno, (long long) offset, in bread() 75 (*bpp)->b_bcount); in bread() 76 if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1) in bread() 79 rv = read((*bpp)->b_fs->fd, (*bpp)->b_data, (size_t)(*bpp)->b_bcount); in bread() 82 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread() 85 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread() 86 else if (rv != (*bpp)->b_bcount) /* short read */ in bread() [all …]
|
| /freebsd-14.2/lib/libc/net/ |
| H A D | map_v4v6.c | 87 _map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) { in _map_v4v6_hostent() argument 95 int i = (u_long)*bpp % sizeof(align); in _map_v4v6_hostent() 100 if ((ep - *bpp) < (i + IN6ADDRSZ)) { in _map_v4v6_hostent() 105 *bpp += i; in _map_v4v6_hostent() 106 _map_v4v6_address(*ap, *bpp); in _map_v4v6_hostent() 107 *ap = *bpp; in _map_v4v6_hostent() 108 *bpp += IN6ADDRSZ; in _map_v4v6_hostent()
|
| /freebsd-14.2/sys/dev/dpaa/ |
| H A D | bman.c | 201 t_BmPoolParam bpp; in bman_pool_create() local 213 memset(&bpp, 0, sizeof(bpp)); in bman_pool_create() 214 bpp.h_Bm = sc->sc_bh; in bman_pool_create() 215 bpp.h_BmPortal = portal; in bman_pool_create() 216 bpp.h_App = h_BufferPool; in bman_pool_create() 217 bpp.numOfBuffers = allocBuffers; in bman_pool_create() 219 bpp.bufferPoolInfo.h_BufferPool = h_BufferPool; in bman_pool_create() 220 bpp.bufferPoolInfo.f_GetBuf = f_GetBuf; in bman_pool_create() 221 bpp.bufferPoolInfo.f_PutBuf = f_PutBuf; in bman_pool_create() 224 bpp.bufferPoolInfo.bufferSize = bufferSize; in bman_pool_create() [all …]
|
| H A D | bman_portals.c | 115 t_BmPortalParam bpp; in bman_portal_setup() local 149 bpp.ceBaseAddress = rman_get_bushandle(sc->sc_rres[0]); in bman_portal_setup() 150 bpp.ciBaseAddress = rman_get_bushandle(sc->sc_rres[1]); in bman_portal_setup() 151 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup() 152 bpp.swPortalId = cpu; in bman_portal_setup() 153 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires; in bman_portal_setup() 155 portal = BM_PORTAL_Config(&bpp); in bman_portal_setup()
|
| /freebsd-14.2/contrib/byacc/ |
| H A D | symtab.c | 65 bucket *bp, **bpp; in lookup() local 67 bpp = symbol_table + hash(name); in lookup() 68 bp = *bpp; in lookup() 74 bpp = &bp->link; in lookup() 75 bp = *bpp; in lookup() 78 *bpp = bp = make_bucket(name); in lookup()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_ipc.c | 133 bpp->key = lpp->key; in linux_to_bsd_ipc_perm() 134 bpp->uid = lpp->uid; in linux_to_bsd_ipc_perm() 135 bpp->gid = lpp->gid; in linux_to_bsd_ipc_perm() 136 bpp->cuid = lpp->cuid; in linux_to_bsd_ipc_perm() 137 bpp->cgid = lpp->cgid; in linux_to_bsd_ipc_perm() 138 bpp->mode = lpp->mode; in linux_to_bsd_ipc_perm() 139 bpp->seq = lpp->seq; in linux_to_bsd_ipc_perm() 146 lpp->key = bpp->key; in bsd_to_linux_ipc_perm() 147 lpp->uid = bpp->uid; in bsd_to_linux_ipc_perm() 148 lpp->gid = bpp->gid; in bsd_to_linux_ipc_perm() [all …]
|
| /freebsd-14.2/sys/fs/ext2fs/ |
| H A D | ext2_balloc.c | 59 struct ucred *cred, struct buf **bpp, int flags) in ext2_ext_balloc() argument 89 *bpp = bp; in ext2_ext_balloc() 101 struct buf **bpp, int flags) in ext2_balloc() argument 112 *bpp = NULL; in ext2_balloc() 129 return (ext2_ext_balloc(ip, lbn, size, cred, bpp, flags)); in ext2_balloc() 147 *bpp = bp; in ext2_balloc() 170 *bpp = bp; in ext2_balloc() 298 *bpp = nbp; in ext2_balloc() 320 *bpp = nbp; in ext2_balloc()
|
| /freebsd-14.2/sys/dev/fb/ |
| H A D | splash_pcx.c | 66 int bpp; member 98 pcx_info.bpp, pcx_info.planes); in pcx_start() 114 && info.vi_depth == pcx_info.bpp in pcx_start() 154 uint8_t bpp; member 182 hdr->bpp != 8 || in pcx_init() 191 pcx_info.bpp = hdr->bpp; in pcx_init()
|
| /freebsd-14.2/contrib/pnglite/ |
| H A D | pnglite.c | 74 int bpp; in png_get_bpp() local 78 bpp = 1; break; in png_get_bpp() 80 bpp = 3; break; in png_get_bpp() 82 bpp = 1; break; in png_get_bpp() 84 bpp = 2; break; in png_get_bpp() 86 bpp = 4; break; in png_get_bpp() 91 bpp *= png->depth / 8; in png_get_bpp() 93 return (bpp); in png_get_bpp() 201 png->bpp = (uint8_t)result; in png_open() 359 png->bpp + png->height; in png_process_chunk() [all …]
|
| /freebsd-14.2/usr.sbin/makefs/msdos/ |
| H A D | msdosfs_lookup.c | 200 struct m_buf **bpp, struct direntry **epp) in m_readep() argument 212 bpp)) != 0) { in m_readep() 213 *bpp = NULL; in m_readep() 217 *epp = bptoep(pmp, *bpp, diroffset); in m_readep() 227 m_readde(struct denode *dep, struct m_buf **bpp, struct direntry **epp) in m_readde() argument 231 bpp, epp)); in m_readde()
|
| /freebsd-14.2/usr.sbin/makefs/ |
| H A D | msdos.h | 62 int m_readde(struct denode *dep, struct m_buf **bpp, struct direntry **epp); 64 struct m_buf **bpp, struct direntry **epp); 65 int m_extendfile(struct denode *dep, u_long count, struct m_buf **bpp,
|
| /freebsd-14.2/sys/arm/freescale/imx/ |
| H A D | imx51_ipuv3.c | 103 int bpp; member 248 va_sc->depth = va_sc->bpp * 8; in ipu3_fb_init() 524 sc->bpp = 2; in ipu3fb_configure() 525 sc->stride = sc->width * sc->bpp; in ipu3fb_configure() 809 int col, row, bpp; in ipu3fb_putc() local 816 bpp = sc->bpp; in ipu3fb_putc() 825 + bpp * (col + sc->xmargin); in ipu3fb_putc() 827 if (bpp == 2) { in ipu3fb_putc() 830 } else if (bpp == 3) { in ipu3fb_putc() 844 for (b = 0; b < bpp; b ++) in ipu3fb_putc() [all …]
|
| /freebsd-14.2/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fbd.c | 88 if (fb->bpp < FB_DEPTH) { in bcm_fb_init() 90 fb->bpp, FB_DEPTH); in bcm_fb_init() 91 fb->bpp = FB_DEPTH; in bcm_fb_init() 94 fb->bpp); in bcm_fb_init() 126 sc->info.fb_bpp = sc->info.fb_depth = fb.bpp; in bcm_fb_setup_fbd() 163 fb.vxres, fb.vyres, fb.xoffset, fb.yoffset, fb.bpp); in bcm_fb_setup_fbd()
|
| H A D | bcm2835_mbox_prop.h | 318 uint32_t bpp; member 321 uint32_t bpp; member 424 uint32_t bpp; member 440 struct bcm2835_mbox_tag_depth bpp; member
|
| H A D | bcm2835_mbox.c | 538 BCM2835_MBOX_INIT_TAG(&msg.bpp, GET_DEPTH); in bcm2835_mbox_fb_get_bpp() 539 msg.bpp.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_bpp() 544 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp() 568 msg.depth.body.req.bpp = fb->bpp; in bcm2835_mbox_fb_init()
|
| /freebsd-14.2/stand/common/ |
| H A D | gfx_fb.c | 289 if (bpp == 2) in gfx_fb_color_map() 294 if (bpp == 2) in gfx_fb_color_map() 299 if (bpp == 2) in gfx_fb_color_map() 455 switch (bpp) { in gfxfb_blt_fill() 478 off += bpp; in gfxfb_blt_fill() 531 bgra = bpp == 4 && in gfxfb_blt_video_to_buffer() 551 switch (bpp) { in gfxfb_blt_video_to_buffer() 568 if (bpp == 1) { in gfxfb_blt_video_to_buffer() 660 off = x * bpp; in gfxfb_blt_buffer_to_video() 661 switch (bpp) { in gfxfb_blt_buffer_to_video() [all …]
|
| /freebsd-14.2/sys/arm/nvidia/drm2/ |
| H A D | tegra_fb.c | 119 u_int bpp, size; in tegra_fb_probe() local 137 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 143 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 272 int width, height, size, bpp; in tegra_drm_fb_create() local 295 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_drm_fb_create() 297 width * bpp + cmd->offsets[i]; in tegra_drm_fb_create()
|
| /freebsd-14.2/sys/geom/eli/ |
| H A D | g_eli.c | 1041 eli_metadata_softc(sc, md, bpp->sectorsize, bpp->mediasize); in g_eli_create() 1056 error = g_attach(cp, bpp); in g_eli_create() 1060 bpp->name, error); in g_eli_create() 1063 bpp->name, error); in g_eli_create() 1079 bpp->name, error); in g_eli_create() 1082 bpp->name, error); in g_eli_create() 1101 bpp->name, i); in g_eli_create() 1114 "for %s (error=%d).", bpp->name, error); in g_eli_create() 1117 "for %s (error=%d).", bpp->name, error); in g_eli_create() 1123 "g_eli[%u] %s", i, bpp->name); in g_eli_create() [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | buf.h | 544 #define bread(vp, blkno, size, cred, bpp) \ argument 546 NULL, bpp) 547 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \ argument 549 gbflags, NULL, bpp) 550 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \ argument 552 0, NULL, bpp) 573 int slpflag, int slptimeo, int flags, struct buf **bpp);
|
| /freebsd-14.2/sys/kern/ |
| H A D | vfs_cluster.c | 94 struct buf **bpp) in cluster_read() argument 126 *bpp = NULL; in cluster_read() 131 *bpp = reqbp = bp; in cluster_read() 329 *bpp = NULL; in cluster_read() 697 struct buf **bpp, **endbp; in cluster_write() local 721 for (bpp = buflist->bs_children; in cluster_write() 722 bpp < endbp; bpp++) in cluster_write() 723 brelse(*bpp); in cluster_write() 734 for (bpp = buflist->bs_children; in cluster_write() 735 bpp <= endbp; bpp++) in cluster_write() [all …]
|
| /freebsd-14.2/sys/ufs/ffs/ |
| H A D | ffs_balloc.c | 123 *bpp = NULL; in ffs_balloc_ufs1() 189 *bpp = bp; in ffs_balloc_ufs1() 238 *bpp = bp; in ffs_balloc_ufs1() 393 *bpp = bp; in ffs_balloc_ufs1() 460 *bpp = nbp; in ffs_balloc_ufs1() 486 *bpp = nbp; in ffs_balloc_ufs1() 626 *bpp = NULL; in ffs_balloc_ufs2() 748 *bpp = bp; in ffs_balloc_ufs2() 858 *bpp = bp; in ffs_balloc_ufs2() 1015 *bpp = bp; in ffs_balloc_ufs2() [all …]
|
| /freebsd-14.2/sys/dev/vt/hw/fb/ |
| H A D | vt_fb.c | 277 int bpp, bpl, xi, yi; in vt_fb_bitblt_bitmap() local 281 bpp = FBTYPE_GET_BYTESPP(info); in vt_fb_bitblt_bitmap() 309 o = (y + yi) * info->fb_stride + (x + xi) * bpp; in vt_fb_bitblt_bitmap() 313 switch(bpp) { in vt_fb_bitblt_bitmap() 345 int bpp, xi, yi; in vt_fb_bitblt_argb() local 348 bpp = FBTYPE_GET_BYTESPP(info); in vt_fb_bitblt_argb() 349 if (bpp != 4) in vt_fb_bitblt_argb() 370 o = (y + yi) * info->fb_stride + (x + (xi / 4)) * bpp; in vt_fb_bitblt_argb()
|
| /freebsd-14.2/sys/contrib/xen/io/ |
| H A D | displif.h | 518 uint32_t bpp; member 720 uint32_t bpp; member
|
| /freebsd-14.2/sys/fs/msdosfs/ |
| H A D | msdosfs_lookup.c | 928 struct buf **bpp, struct direntry **epp) in readep() argument 939 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep() 940 brelse(*bpp); in readep() 941 *bpp = NULL; in readep() 945 *epp = bptoep(pmp, *bpp, diroffset); in readep() 955 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument 959 bpp, epp)); in readde()
|