| /freebsd-13.1/usr.sbin/makefs/ffs/ |
| H A D | ffs_balloc.c | 97 if (bpp != NULL) { in ffs_balloc_ufs1() 98 *bpp = NULL; in ffs_balloc_ufs1() 139 NULL, bpp); in ffs_balloc_ufs1() 141 brelse(*bpp); in ffs_balloc_ufs1() 197 *bpp = bp; in ffs_balloc_ufs1() 308 *bpp = nbp; in ffs_balloc_ufs1() 326 *bpp = nbp; in ffs_balloc_ufs1() 349 *bpp = NULL; in ffs_balloc_ufs2() 448 *bpp = bp; in ffs_balloc_ufs2() 559 *bpp = nbp; in ffs_balloc_ufs2() [all …]
|
| H A D | buf.c | 61 struct buf **bpp) in bread() argument 67 assert (bpp != NULL); in bread() 72 *bpp = getblk(vp, blkno, size, 0, 0, 0); in bread() 76 (long long)(*bpp)->b_blkno, (long long) offset, in bread() 77 (*bpp)->b_bcount); in bread() 78 if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1) in bread() 81 rv = read((*bpp)->b_fs->fd, (*bpp)->b_data, (*bpp)->b_bcount); in bread() 84 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread() 87 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread() 88 else if (rv != (*bpp)->b_bcount) /* short read */ in bread() [all …]
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | map_v4v6.c | 90 _map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) { in _map_v4v6_hostent() argument 98 int i = (u_long)*bpp % sizeof(align); in _map_v4v6_hostent() 103 if ((ep - *bpp) < (i + IN6ADDRSZ)) { in _map_v4v6_hostent() 108 *bpp += i; in _map_v4v6_hostent() 109 _map_v4v6_address(*ap, *bpp); in _map_v4v6_hostent() 110 *ap = *bpp; in _map_v4v6_hostent() 111 *bpp += IN6ADDRSZ; in _map_v4v6_hostent()
|
| /freebsd-13.1/sys/dev/dpaa/ |
| H A D | bman.c | 205 t_BmPoolParam bpp; in bman_pool_create() local 217 memset(&bpp, 0, sizeof(bpp)); in bman_pool_create() 218 bpp.h_Bm = sc->sc_bh; in bman_pool_create() 219 bpp.h_BmPortal = portal; in bman_pool_create() 220 bpp.h_App = h_BufferPool; in bman_pool_create() 221 bpp.numOfBuffers = allocBuffers; in bman_pool_create() 223 bpp.bufferPoolInfo.h_BufferPool = h_BufferPool; in bman_pool_create() 224 bpp.bufferPoolInfo.f_GetBuf = f_GetBuf; in bman_pool_create() 225 bpp.bufferPoolInfo.f_PutBuf = f_PutBuf; in bman_pool_create() 228 bpp.bufferPoolInfo.bufferSize = bufferSize; in bman_pool_create() [all …]
|
| H A D | bman_portals.c | 117 t_BmPortalParam bpp; in bman_portal_setup() local 152 bpp.ceBaseAddress = rman_get_bushandle(sc->sc_rres[0]); in bman_portal_setup() 153 bpp.ciBaseAddress = rman_get_bushandle(sc->sc_rres[1]); in bman_portal_setup() 154 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup() 155 bpp.swPortalId = cpu; in bman_portal_setup() 156 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires; in bman_portal_setup() 158 portal = BM_PORTAL_Config(&bpp); in bman_portal_setup()
|
| /freebsd-13.1/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-13.1/sys/compat/linux/ |
| H A D | linux_ipc.c | 137 bpp->key = lpp->key; in linux_to_bsd_ipc_perm() 138 bpp->uid = lpp->uid; in linux_to_bsd_ipc_perm() 139 bpp->gid = lpp->gid; in linux_to_bsd_ipc_perm() 140 bpp->cuid = lpp->cuid; in linux_to_bsd_ipc_perm() 141 bpp->cgid = lpp->cgid; in linux_to_bsd_ipc_perm() 142 bpp->mode = lpp->mode; in linux_to_bsd_ipc_perm() 143 bpp->seq = lpp->seq; in linux_to_bsd_ipc_perm() 150 lpp->key = bpp->key; in bsd_to_linux_ipc_perm() 151 lpp->uid = bpp->uid; in bsd_to_linux_ipc_perm() 152 lpp->gid = bpp->gid; in bsd_to_linux_ipc_perm() [all …]
|
| /freebsd-13.1/sys/fs/ext2fs/ |
| H A D | ext2_balloc.c | 60 struct ucred *cred, struct buf **bpp, int flags) in ext2_ext_balloc() argument 90 *bpp = bp; in ext2_ext_balloc() 102 struct buf **bpp, int flags) in ext2_balloc() argument 113 *bpp = NULL; in ext2_balloc() 130 return (ext2_ext_balloc(ip, lbn, size, cred, bpp, flags)); in ext2_balloc() 148 *bpp = bp; in ext2_balloc() 171 *bpp = bp; in ext2_balloc() 299 *bpp = nbp; in ext2_balloc() 321 *bpp = nbp; in ext2_balloc()
|
| /freebsd-13.1/usr.sbin/makefs/msdos/ |
| H A D | msdosfs_lookup.c | 204 struct buf **bpp, struct direntry **epp) in readep() argument 215 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep() 216 brelse(*bpp); in readep() 217 *bpp = NULL; in readep() 221 *epp = bptoep(pmp, *bpp, diroffset); in readep() 231 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument 235 bpp, epp)); in readde()
|
| /freebsd-13.1/sys/dev/fb/ |
| H A D | splash_pcx.c | 68 int bpp; member 100 pcx_info.bpp, pcx_info.planes); in pcx_start() 116 && info.vi_depth == pcx_info.bpp in pcx_start() 156 uint8_t bpp; member 184 hdr->bpp != 8 || in pcx_init() 193 pcx_info.bpp = hdr->bpp; in pcx_init()
|
| /freebsd-13.1/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-13.1/sys/arm/freescale/imx/ |
| H A D | imx51_ipuv3.c | 105 int bpp; member 250 va_sc->depth = va_sc->bpp * 8; in ipu3_fb_init() 528 sc->bpp = 2; in ipu3fb_configure() 529 sc->stride = sc->width * sc->bpp; in ipu3fb_configure() 813 int col, row, bpp; in ipu3fb_putc() local 820 bpp = sc->bpp; in ipu3fb_putc() 829 + bpp * (col + sc->xmargin); in ipu3fb_putc() 831 if (bpp == 2) { in ipu3fb_putc() 834 } else if (bpp == 3) { in ipu3fb_putc() 848 for (b = 0; b < bpp; b ++) in ipu3fb_putc() [all …]
|
| /freebsd-13.1/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fbd.c | 90 if (fb->bpp < FB_DEPTH) { in bcm_fb_init() 92 fb->bpp, FB_DEPTH); in bcm_fb_init() 93 fb->bpp = FB_DEPTH; in bcm_fb_init() 96 fb->bpp); in bcm_fb_init() 128 sc->info.fb_bpp = sc->info.fb_depth = fb.bpp; in bcm_fb_setup_fbd() 165 fb.vxres, fb.vyres, fb.xoffset, fb.yoffset, fb.bpp); in bcm_fb_setup_fbd()
|
| H A D | bcm2835_mbox_prop.h | 320 uint32_t bpp; member 323 uint32_t bpp; member 426 uint32_t bpp; member 442 struct bcm2835_mbox_tag_depth bpp; member
|
| H A D | bcm2835_mbox.c | 542 BCM2835_MBOX_INIT_TAG(&msg.bpp, GET_DEPTH); in bcm2835_mbox_fb_get_bpp() 543 msg.bpp.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_bpp() 548 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp() 572 msg.depth.body.req.bpp = fb->bpp; in bcm2835_mbox_fb_init()
|
| /freebsd-13.1/stand/common/ |
| H A D | gfx_fb.c | 288 if (bpp == 2) in gfx_fb_color_map() 293 if (bpp == 2) in gfx_fb_color_map() 298 if (bpp == 2) in gfx_fb_color_map() 454 switch (bpp) { in gfxfb_blt_fill() 477 off += bpp; in gfxfb_blt_fill() 530 bgra = bpp == 4 && in gfxfb_blt_video_to_buffer() 550 switch (bpp) { in gfxfb_blt_video_to_buffer() 567 if (bpp == 1) { in gfxfb_blt_video_to_buffer() 659 off = x * bpp; in gfxfb_blt_buffer_to_video() 660 switch (bpp) { in gfxfb_blt_buffer_to_video() [all …]
|
| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli.c | 875 eli_metadata_softc(sc, md, bpp->sectorsize, bpp->mediasize); in g_eli_create() 888 error = g_attach(cp, bpp); in g_eli_create() 892 bpp->name, error); in g_eli_create() 895 bpp->name, error); in g_eli_create() 911 bpp->name, error); in g_eli_create() 914 bpp->name, error); in g_eli_create() 933 bpp->name, i); in g_eli_create() 946 "for %s (error=%d).", bpp->name, error); in g_eli_create() 949 "for %s (error=%d).", bpp->name, error); in g_eli_create() 955 "g_eli[%u] %s", i, bpp->name); in g_eli_create() [all …]
|
| /freebsd-13.1/sys/arm/nvidia/drm2/ |
| H A D | tegra_fb.c | 121 u_int bpp, size; in tegra_fb_probe() local 139 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 145 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 274 int width, height, size, bpp; in tegra_drm_fb_create() local 297 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_drm_fb_create() 299 width * bpp + cmd->offsets[i]; in tegra_drm_fb_create()
|
| /freebsd-13.1/sys/sys/ |
| H A D | buf.h | 533 #define bread(vp, blkno, size, cred, bpp) \ argument 535 NULL, bpp) 536 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \ argument 538 gbflags, NULL, bpp) 539 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \ argument 541 0, NULL, bpp) 562 int slpflag, int slptimeo, int flags, struct buf **bpp);
|
| /freebsd-13.1/sys/kern/ |
| H A D | vfs_cluster.c | 96 struct buf **bpp) in cluster_read() argument 128 *bpp = NULL; in cluster_read() 133 *bpp = reqbp = bp; in cluster_read() 331 *bpp = NULL; in cluster_read() 699 struct buf **bpp, **endbp; in cluster_write() local 722 for (bpp = buflist->bs_children; in cluster_write() 723 bpp < endbp; bpp++) in cluster_write() 724 brelse(*bpp); in cluster_write() 735 for (bpp = buflist->bs_children; in cluster_write() 736 bpp <= endbp; bpp++) in cluster_write() [all …]
|
| /freebsd-13.1/sys/ufs/ffs/ |
| H A D | ffs_balloc.c | 125 *bpp = NULL; in ffs_balloc_ufs1() 191 *bpp = bp; in ffs_balloc_ufs1() 240 *bpp = bp; in ffs_balloc_ufs1() 395 *bpp = bp; in ffs_balloc_ufs1() 462 *bpp = nbp; in ffs_balloc_ufs1() 488 *bpp = nbp; in ffs_balloc_ufs1() 628 *bpp = NULL; in ffs_balloc_ufs2() 750 *bpp = bp; in ffs_balloc_ufs2() 860 *bpp = bp; in ffs_balloc_ufs2() 1017 *bpp = bp; in ffs_balloc_ufs2() [all …]
|
| /freebsd-13.1/sys/fs/cd9660/ |
| H A D | cd9660_lookup.c | 437 cd9660_blkatoff(vp, offset, res, bpp) in cd9660_blkatoff() argument 441 struct buf **bpp; 457 *bpp = NULL; 476 *bpp = bp;
|
| /freebsd-13.1/sys/xen/interface/io/ |
| H A D | displif.h | 505 uint32_t bpp; member 706 uint32_t bpp; member
|
| /freebsd-13.1/sys/fs/msdosfs/ |
| H A D | msdosfs_lookup.c | 929 struct buf **bpp, struct direntry **epp) in readep() argument 940 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep() 941 brelse(*bpp); in readep() 942 *bpp = NULL; in readep() 946 *epp = bptoep(pmp, *bpp, diroffset); in readep() 956 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument 960 bpp, epp)); in readde()
|
| /freebsd-13.1/sys/arm/ti/am335x/ |
| H A D | am335x_lcd.c | 506 "bpp", &panel->bpp); in am335x_read_panel_info() 645 dma_size = round_page(sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8); in am335x_lcd_configure() 683 sc->sc_fb_size = sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8; in am335x_lcd_configure() 789 if (sc->sc_panel.bpp >= 24) in am335x_lcd_configure() 791 if (sc->sc_panel.bpp == 32) in am335x_lcd_configure() 818 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = sc->sc_panel.bpp; in am335x_lcd_configure() 819 sc->sc_fb_info.fb_stride = sc->sc_panel.panel_width*sc->sc_panel.bpp / 8; in am335x_lcd_configure() 989 sc->sc_panel.bpp = 16; in am335x_lcd_attach()
|