/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 66 ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp) in ffs_balloc() argument 69 return ffs_balloc_ufs2(ip, offset, bufsize, bpp); in ffs_balloc() 71 return ffs_balloc_ufs1(ip, offset, bufsize, bpp); in ffs_balloc() 76 struct m_buf **bpp) in ffs_balloc_ufs1() argument 93 if (bpp != NULL) { in ffs_balloc_ufs1() 94 *bpp = NULL; in ffs_balloc_ufs1() 133 if (bpp != NULL) { in ffs_balloc_ufs1() 135 fs->fs_bsize, NULL, bpp); in ffs_balloc_ufs1() 137 brelse(*bpp); in ffs_balloc_ufs1() 159 if (bpp != NULL) { in ffs_balloc_ufs1() [all …]
|
H A D | buf.c | 58 struct m_buf **bpp) in bread() argument 64 assert (bpp != NULL); in bread() 69 *bpp = getblk(vp, blkno, size, 0, 0, 0); in bread() 70 offset = (off_t)(*bpp)->b_blkno * fs->sectorsize + fs->offset; in bread() 73 (long long)(*bpp)->b_blkno, (long long) offset, in bread() 74 (*bpp)->b_bcount); in bread() 75 if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1) in bread() 77 (long long)(*bpp)->b_blkno, (long long)offset); in bread() 78 rv = read((*bpp)->b_fs->fd, (*bpp)->b_data, (size_t)(*bpp)->b_bcount); in bread() 81 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread() [all …]
|
/freebsd/lib/libc/net/ |
H A D | map_v4v6.c | 84 _map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) { in _map_v4v6_hostent() argument 92 int i = (u_long)*bpp % sizeof(align); in _map_v4v6_hostent() 97 if ((ep - *bpp) < (i + IN6ADDRSZ)) { in _map_v4v6_hostent() 102 *bpp += i; in _map_v4v6_hostent() 103 _map_v4v6_address(*ap, *bpp); in _map_v4v6_hostent() 104 *ap = *bpp; in _map_v4v6_hostent() 105 *bpp += IN6ADDRSZ; in _map_v4v6_hostent()
|
/freebsd/sys/dev/dpaa/ |
H A D | bman.c | 200 t_BmPoolParam bpp; in bman_pool_create() local 212 memset(&bpp, 0, sizeof(bpp)); in bman_pool_create() 213 bpp.h_Bm = sc->sc_bh; in bman_pool_create() 214 bpp.h_BmPortal = portal; in bman_pool_create() 215 bpp.h_App = h_BufferPool; in bman_pool_create() 216 bpp.numOfBuffers = allocBuffers; in bman_pool_create() 218 bpp.bufferPoolInfo.h_BufferPool = h_BufferPool; in bman_pool_create() 219 bpp.bufferPoolInfo.f_GetBuf = f_GetBuf; in bman_pool_create() 220 bpp.bufferPoolInfo.f_PutBuf = f_PutBuf; in bman_pool_create() 221 bpp.bufferPoolInfo.f_PhysToVirt = f_PhysToVirt; in bman_pool_create() [all …]
|
H A D | bman_portals.c | 116 t_BmPortalParam bpp; in bman_portal_setup() local 150 bpp.ceBaseAddress = rman_get_bushandle(sc->sc_rres[0]); in bman_portal_setup() 151 bpp.ciBaseAddress = rman_get_bushandle(sc->sc_rres[1]); in bman_portal_setup() 152 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup() 153 bpp.swPortalId = cpu; in bman_portal_setup() 154 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires; in bman_portal_setup() 156 portal = BM_PORTAL_Config(&bpp); in bman_portal_setup()
|
/freebsd/sys/compat/linux/ |
H A D | linux_ipc.c | 107 bsd_to_linux_shminfo( struct shminfo *bpp, struct l_shminfo64 *lpp) in bsd_to_linux_shminfo() argument 110 lpp->shmmax = bpp->shmmax; in bsd_to_linux_shminfo() 111 lpp->shmmin = bpp->shmmin; in bsd_to_linux_shminfo() 112 lpp->shmmni = bpp->shmmni; in bsd_to_linux_shminfo() 113 lpp->shmseg = bpp->shmseg; in bsd_to_linux_shminfo() 114 lpp->shmall = bpp->shmall; in bsd_to_linux_shminfo() 118 bsd_to_linux_shm_info( struct shm_info *bpp, struct l_shm_info *lpp) in bsd_to_linux_shm_info() argument 121 lpp->used_ids = bpp->used_ids; in bsd_to_linux_shm_info() 122 lpp->shm_tot = bpp->shm_tot; in bsd_to_linux_shm_info() 123 lpp->shm_rss = bpp->shm_rss; in bsd_to_linux_shm_info() [all …]
|
/freebsd/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/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 57 struct ucred *cred, struct buf **bpp, int flags) in ext2_ext_balloc() argument 87 *bpp = bp; in ext2_ext_balloc() 99 struct buf **bpp, int flags) in ext2_balloc() argument 110 *bpp = NULL; in ext2_balloc() 127 return (ext2_ext_balloc(ip, lbn, size, cred, bpp, flags)); in ext2_balloc() 145 *bpp = bp; in ext2_balloc() 168 *bpp = bp; in ext2_balloc() 296 *bpp = nbp; in ext2_balloc() 318 *bpp = nbp; in ext2_balloc()
|
H A D | ext2_subr.c | 64 ext2_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp) in ext2_blkatoff() argument 89 *bpp = bp; in ext2_blkatoff()
|
/freebsd/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/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() 208 uint64_t size = png->width * png->height * png->bpp; in png_open() [all …]
|
/freebsd/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/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 | 317 uint32_t bpp; member 320 uint32_t bpp; member 423 uint32_t bpp; member 439 struct bcm2835_mbox_tag_depth bpp; member
|
H A D | bcm2835_mbox.c | 537 BCM2835_MBOX_INIT_TAG(&msg.bpp, GET_DEPTH); in bcm2835_mbox_fb_get_bpp() 538 msg.bpp.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_bpp() 543 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp() 567 msg.depth.body.req.bpp = fb->bpp; in bcm2835_mbox_fb_init()
|
/freebsd/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/stand/common/ |
H A D | gfx_fb.c | 292 int roff, goff, boff, bpp; in gfx_fb_color_map() local 297 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfx_fb_color_map() 299 if (bpp == 2) in gfx_fb_color_map() 304 if (bpp == 2) in gfx_fb_color_map() 309 if (bpp == 2) in gfx_fb_color_map() 423 uint32_t data, bpp, pitch, y, x; in gfxfb_blt_fill() local 457 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfxfb_blt_fill() 458 pitch = gfx_state.tg_fb.fb_stride * bpp; in gfxfb_blt_fill() 463 off = y * pitch + DestinationX * bpp; in gfxfb_blt_fill() 465 switch (bpp) { in gfxfb_blt_fill() [all …]
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_fb.c | 118 u_int bpp, size; in tegra_fb_probe() local 136 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 142 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 271 int width, height, size, bpp; in tegra_drm_fb_create() local 294 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_drm_fb_create() 296 width * bpp + cmd->offsets[i]; in tegra_drm_fb_create()
|
/freebsd/sys/geom/eli/ |
H A D | g_eli.c | 1004 g_eli_create(struct gctl_req *req, struct g_class *mp, struct g_provider *bpp, in g_eli_create() argument 1016 G_ELI_DEBUG(1, "Creating device %s%s.", bpp->name, G_ELI_SUFFIX); in g_eli_create() 1018 ("%s: unsupported crypto for %s", __func__, bpp->name)); in g_eli_create() 1020 gp = g_new_geomf(mp, "%s%s", bpp->name, G_ELI_SUFFIX); in g_eli_create() 1040 eli_metadata_softc(sc, md, bpp->sectorsize, bpp->mediasize); in g_eli_create() 1055 error = g_attach(cp, bpp); in g_eli_create() 1059 bpp->name, error); in g_eli_create() 1062 bpp->name, error); in g_eli_create() 1078 bpp->name, error); in g_eli_create() 1081 bpp->name, error); in g_eli_create() [all …]
|
/freebsd/sys/kern/ |
H A D | vfs_cluster.c | 91 struct buf **bpp) in cluster_read() argument 123 *bpp = NULL; in cluster_read() 128 *bpp = reqbp = bp; in cluster_read() 326 *bpp = NULL; in cluster_read() 694 struct buf **bpp, **endbp; in cluster_write() local 718 for (bpp = buflist->bs_children; in cluster_write() 719 bpp < endbp; bpp++) in cluster_write() 720 brelse(*bpp); in cluster_write() 731 for (bpp = buflist->bs_children; in cluster_write() 732 bpp <= endbp; bpp++) in cluster_write() [all …]
|
/freebsd/sys/sys/ |
H A D | buf.h | 549 #define bread(vp, blkno, size, cred, bpp) \ argument 551 NULL, bpp) 552 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \ argument 554 gbflags, NULL, bpp) 555 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \ argument 557 0, NULL, bpp) 578 int slpflag, int slptimeo, int flags, struct buf **bpp);
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 90 struct ucred *cred, int flags, struct buf **bpp) in ffs_balloc_ufs1() argument 120 *bpp = NULL; in ffs_balloc_ufs1() 186 *bpp = bp; in ffs_balloc_ufs1() 235 *bpp = bp; in ffs_balloc_ufs1() 390 *bpp = bp; in ffs_balloc_ufs1() 457 *bpp = nbp; in ffs_balloc_ufs1() 483 *bpp = nbp; in ffs_balloc_ufs1() 595 struct ucred *cred, int flags, struct buf **bpp) in ffs_balloc_ufs2() argument 623 *bpp = NULL; in ffs_balloc_ufs2() 692 *bpp = bp; in ffs_balloc_ufs2() [all …]
|
/freebsd/sys/contrib/xen/io/ |
H A D | displif.h | 518 uint32_t bpp; member 720 uint32_t bpp; member
|
/freebsd/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()
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_lcd.c | 504 "bpp", &panel->bpp); in am335x_read_panel_info() 643 dma_size = round_page(sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8); in am335x_lcd_configure() 681 sc->sc_fb_size = sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8; in am335x_lcd_configure() 787 if (sc->sc_panel.bpp >= 24) in am335x_lcd_configure() 789 if (sc->sc_panel.bpp == 32) in am335x_lcd_configure() 816 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = sc->sc_panel.bpp; in am335x_lcd_configure() 817 sc->sc_fb_info.fb_stride = sc->sc_panel.panel_width*sc->sc_panel.bpp / 8; in am335x_lcd_configure() 987 sc->sc_panel.bpp = 16; in am335x_lcd_attach()
|