Searched refs:bmask (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/usr.sbin/pw/
H A Dbitmap.c59 bm_getmask(int *pos, unsigned char *bmask) argument
61 *bmask = (unsigned char) (1 << (*pos % 8));
68 unsigned char bmask; local
70 bm_getmask(&pos, &bmask);
71 bm->map[pos] |= bmask;
77 unsigned char bmask; local
79 bm_getmask(&pos, &bmask);
80 bm->map[pos] &= ~bmask;
86 unsigned char bmask; local
88 bm_getmask(&pos, &bmask);
101 unsigned char bmask = 1; local
123 unsigned char bmask = 1; local
[all...]
/freebsd-11-stable/sys/fs/udf/
H A Dudf.h48 int bmask; member in struct:udf_mnt
101 (size + udfmp->bmask) & ~udfmp->bmask, bp));
H A Dudf_vnops.c428 #define blkoff(udfmp, loc) ((loc) & (udfmp)->bmask)
1354 adj_size = (*size + off + udfmp->bmask) & ~udfmp->bmask;
1363 *data = (uint8_t *)&bp1->b_data[offset & udfmp->bmask];
/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_lookup.c125 u_long bmask; /* block offset mask */ local
175 bmask = imp->im_bmask;
182 if ((entryoffsetinblock = i_offset & bmask) &&
197 if ((i_offset & bmask) == 0) {
215 (i_offset & ~bmask) + imp->logical_block_size;
306 entryoffsetinblock = saveoffset & bmask;
H A Dcd9660_vnops.c478 u_long bmask; local
487 bmask = imp->im_bmask;
514 if ((entryoffsetinblock = idp->curroff & bmask) &&
527 if ((idp->curroff & bmask) == 0) {
545 (idp->curroff & ~bmask) + imp->logical_block_size;
/freebsd-11-stable/lib/libprocstat/
H A Dudf.c59 int bmask; member in struct:udf_mnt
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dbus_machdep.c330 bus_addr_t baddr, bmask; local
336 bmask = ~(dmat->dt_boundary - 1);
338 baddr = (curaddr + dmat->dt_boundary) & bmask;
356 (segs[seg].ds_addr & bmask) == (curaddr & bmask)))
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_dirhash.c349 doff_t bmask, pos; local
432 bmask = vp->v_mount->mnt_stat.f_iosize - 1;
436 if ((pos & bmask) == 0) {
444 ep = (struct direct *)((char *)bp->b_data + (pos & bmask));
556 doff_t blkoff, bmask, offset, prevoff, seqoff; local
593 bmask = vp->v_mount->mnt_stat.f_iosize - 1;
628 if ((offset & ~bmask) != blkoff) {
631 blkoff = offset & ~bmask;
638 dp = (struct direct *)(bp->b_data + (offset & bmask));
H A Dufs_lookup.c212 u_long bmask; /* block offset mask */ local
235 bmask = VFSTOUFS(vdp->v_mount)->um_mountp->mnt_stat.f_iosize - 1;
306 (i_offset & bmask));
334 if ((entryoffsetinblock = i_offset & bmask) &&
349 if ((i_offset & bmask) == 0) {
/freebsd-11-stable/sys/contrib/ngatm/netnatm/msg/
H A Dtraffic.c54 static const u_int bmask = UNI_TRAFFIC_BPCR0_P | UNI_TRAFFIC_BPCR1_P | variable
193 bt = traffic->h.present & bmask;
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dbusdma_machdep.c668 bus_addr_t baddr, bmask; local
674 bmask = ~(dmat->boundary - 1);
676 baddr = (curaddr + dmat->boundary) & bmask;
694 (segs[seg].ds_addr & bmask) == (curaddr & bmask)))
/freebsd-11-stable/sys/kern/
H A Dsubr_rman.c443 rman_res_t rstart, rend, amask, bmask; local
481 /* If bound is 0, bmask will also be 0 */
482 bmask = ~(bound - 1);
514 if (((rstart ^ (rstart + count - 1)) & bmask) != 0)
515 rstart += bound - (rstart & ~bmask);
617 ((s->r_start ^ s->r_end) & bmask) == 0) {
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_lookup.c321 u_long bmask; /* block offset mask */ local
336 bmask = VFSTOEXT2(vdp->v_mount)->um_mountp->mnt_stat.f_iosize - 1;
375 (i_offset & bmask));
407 if ((entryoffsetinblock = i_offset & bmask) &&
448 (entryoffsetinblock & bmask));
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_sysvec.c511 sigset_t bmask; local
554 linux_to_bsd_sigset(&lmask, &bmask);
555 kern_sigprocmask(td, SIG_SETMASK, &bmask, NULL, 0);
594 sigset_t bmask; local
639 linux_to_bsd_sigset(&uc.uc_sigmask, &bmask);
640 kern_sigprocmask(td, SIG_SETMASK, &bmask, NULL, 0);
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_sysvec.c608 sigset_t bmask; local
649 linux_to_bsd_sigset(&lmask, &bmask);
650 kern_sigprocmask(td, SIG_SETMASK, &bmask, NULL, 0);
688 sigset_t bmask; local
733 linux_to_bsd_sigset(&uc.uc_sigmask, &bmask);
734 kern_sigprocmask(td, SIG_SETMASK, &bmask, NULL, 0);
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table.h183 uint32_t *bmask);
H A Dip_fw_sockopt.c2237 uint32_t *bmask; /* index bitmask of used named objects */ member in struct:dump_args
2281 if ((da->bmask[i / 32] & (1 << (i % 32))) == 0)
2313 da->bmask += IPFW_TABLES_MAX / 32;
2356 ipfw_mark_object_kidx(uint32_t *bmask, uint16_t etlv, uint16_t kidx) argument
2365 if ((bmask[bidx] & (1 << (kidx % 32))) != 0)
2368 bmask[bidx] |= 1 << (kidx % 32);
2373 * Marks every object index used in @rule with bit in @bmask.
2397 if (ipfw_mark_object_kidx(da->bmask, rw->etlv, kidx))
2427 uint32_t hdr_flags, *bmask; local
2435 bmask
[all...]
H A Dip_fw_private.h676 int ipfw_mark_object_kidx(uint32_t *bmask, uint16_t etlv, uint16_t kidx);
/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_tables.h52 uint16_t bmask; member in struct:bwn_nphy_rf_control_override_rev2
/freebsd-11-stable/sys/mips/mips/
H A Dbusdma_machdep.c844 bus_addr_t baddr, bmask; local
850 bmask = ~(dmat->boundary - 1);
852 baddr = (curaddr + dmat->boundary) & bmask;
865 (segs[seg].ds_addr & bmask) == (curaddr & bmask))) {
/freebsd-11-stable/sys/arm/arm/
H A Dbusdma_machdep-v4.c895 bus_addr_t baddr, bmask; local
901 bmask = ~(dmat->boundary - 1);
903 baddr = (curaddr + dmat->boundary) & bmask;
931 (segs[seg].ds_addr & bmask) == (curaddr & bmask))) {
H A Dbusdma_machdep-v6.c954 bus_addr_t baddr, bmask; local
960 bmask = ~(dmat->boundary - 1);
962 baddr = (curaddr + dmat->boundary) & bmask;
980 (segs[seg].ds_addr & bmask) == (curaddr & bmask)))
/freebsd-11-stable/sys/x86/x86/
H A Dbusdma_bounce.c618 bus_addr_t baddr, bmask; local
624 bmask = ~(dmat->common.boundary - 1);
626 baddr = (curaddr + dmat->common.boundary) & bmask;
644 (segs[seg].ds_addr & bmask) == (curaddr & bmask)))
/freebsd-11-stable/sys/arm64/arm64/
H A Dbusdma_bounce.c643 bus_addr_t baddr, bmask; local
649 bmask = ~(dmat->common.boundary - 1);
651 baddr = (curaddr + dmat->common.boundary) & bmask;
669 (segs[seg].ds_addr & bmask) == (curaddr & bmask)))
/freebsd-11-stable/usr.sbin/ctld/
H A Dctld.c435 uint8_t bmask; local
456 bmask = 0xff << (8 - (ap->ap_mask % 8));
457 if ((a[i] & bmask) != (b[i] & bmask))

Completed in 1315 milliseconds

12