| /freebsd/usr.sbin/pw/ |
| H A D | bitmap.c | 37 struct bitmap bm; in bm_alloc() local 40 bm.size = size; in bm_alloc() 41 bm.map = malloc(szmap); in bm_alloc() 42 if (bm.map) in bm_alloc() 43 memset(bm.map, 0, szmap); in bm_alloc() 44 return bm; in bm_alloc() 48 bm_dealloc(struct bitmap * bm) in bm_dealloc() argument 50 free(bm->map); in bm_dealloc() 61 bm_setbit(struct bitmap * bm, int pos) in bm_setbit() argument 66 bm->map[pos] |= bmask; in bm_setbit() [all …]
|
| H A D | bitmap.h | 42 void bm_dealloc(struct bitmap * bm); 43 void bm_setbit(struct bitmap * bm, int pos); 44 void bm_clrbit(struct bitmap * bm, int pos); 45 int bm_isset(struct bitmap * bm, int pos); 46 int bm_firstunset(struct bitmap * bm); 47 int bm_lastset(struct bitmap * bm);
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bss_mem.c | 195 BUF_MEM *bm = bbm->readp; in mem_read() local 198 bm = bbm->buf; in mem_read() 200 ret = (outl >= 0 && (size_t)outl > bm->length) ? (int)bm->length : outl; in mem_read() 202 memcpy(out, bm->data, ret); in mem_read() 203 bm->length -= ret; in mem_read() 204 bm->max -= ret; in mem_read() 205 bm->data += ret; in mem_read() 206 } else if (bm->length == 0) { in mem_read() 247 BUF_MEM *bm, *bo; /* bio_mem, bio_other */ in mem_ctrl() local 251 bm = bbm->buf; in mem_ctrl() [all …]
|
| /freebsd/sys/contrib/ncsw/inc/Peripherals/ |
| H A D | bm_ext.h | 39 @Description BM API 51 @Description BM API functions, definitions and enums. 68 @Group BM_lib_grp BM common API 70 @Description BM common API functions, definitions and enums. 76 @Description BM Exceptions 87 @Group BM_init_grp BM (common) Initialization Unit 89 @Description BM (common) Initialization Unit 107 @Description structure representing BM initialization parameters 110 uint8_t guestId; /**< BM Partition Id */ 112 uintptr_t baseAddress; /**< Bm base address (virtual). [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | marvell-neta-bm.txt | 1 * Marvell Armada 380/XP Buffer Manager driver (BM) 5 - compatible: should be "marvell,armada-380-neta-bm". 8 - internal-mem: a phandle to BM internal SRAM definition. 22 In order to see how to hook the BM to a given ethernet port, please 29 bm: bm@c8000 { 30 compatible = "marvell,armada-380-neta-bm"; 40 bm_bppi: bm-bppi {
|
| H A D | marvell-armada-370-neta.txt | 28 Documentation/devicetree/bindings/net/marvell-neta-bm.txt 29 - bm,pool-long: ID of a pool, that will accept all packets of a size 33 - bm,pool-short: ID of a pool, that will be used for accepting 47 buffer-manager = <&bm>; 48 bm,pool-long = <0>; 49 bm,pool-short = <1>;
|
| /freebsd/sys/contrib/device-tree/src/arm/marvell/ |
| H A D | armada-385-db-ap.dts | 98 buffer-manager = <&bm>; 99 bm,pool-long = <1>; 100 bm,pool-short = <3>; 108 buffer-manager = <&bm>; 109 bm,pool-long = <2>; 110 bm,pool-short = <3>; 129 buffer-manager = <&bm>; 130 bm,pool-long = <0>; 131 bm,pool-short = <3>; 134 bm@c8000 { [all …]
|
| H A D | armada-xp-openblocks-ax3-4.dts | 114 buffer-manager = <&bm>; 115 bm,pool-long = <0>; 121 buffer-manager = <&bm>; 122 bm,pool-long = <1>; 128 buffer-manager = <&bm>; 129 bm,pool-long = <2>; 135 buffer-manager = <&bm>; 136 bm,pool-long = <3>; 166 bm@c0000 { 171 bm-bppi {
|
| H A D | armada-xp-db.dts | 98 buffer-manager = <&bm>; 99 bm,pool-long = <0>; 105 buffer-manager = <&bm>; 106 bm,pool-long = <1>; 112 buffer-manager = <&bm>; 113 bm,pool-long = <2>; 119 buffer-manager = <&bm>; 120 bm,pool-long = <3>; 123 bm@c0000 { 178 bm-bppi {
|
| H A D | armada-xp-gp.dts | 124 buffer-manager = <&bm>; 125 bm,pool-long = <0>; 131 buffer-manager = <&bm>; 132 bm,pool-long = <1>; 138 buffer-manager = <&bm>; 139 bm,pool-long = <2>; 145 buffer-manager = <&bm>; 146 bm,pool-long = <3>; 159 bm@c0000 { 175 bm-bppi {
|
| H A D | armada-388-db.dts | 59 buffer-manager = <&bm>; 60 bm,pool-long = <2>; 61 bm,pool-short = <3>; 72 buffer-manager = <&bm>; 73 bm,pool-long = <0>; 74 bm,pool-short = <1>; 95 bm@c8000 { 122 bm-bppi {
|
| H A D | armada-385-linksys.dtsi | 91 &bm { 102 buffer-manager = <&bm>; 103 bm,pool-long = <0>; 104 bm,pool-short = <1>; 114 buffer-manager = <&bm>; 115 bm,pool-long = <2>; 116 bm,pool-short = <3>;
|
| H A D | armada-xp-linksys-mamba.dts | 68 buffer-manager = <&bm>; 69 bm,pool-long = <0>; 70 bm,pool-short = <1>; 82 buffer-manager = <&bm>; 83 bm,pool-long = <2>; 84 bm,pool-short = <3>; 165 bm@c8000 { 170 bm-bppi {
|
| H A D | armada-385-clearfog-gtr.dtsi | 333 &bm { 347 buffer-manager = <&bm>; 348 bm,pool-long = <0>; 349 bm,pool-short = <1>; 355 bm,pool-long = <2>; 356 bm,pool-short = <1>; 357 buffer-manager = <&bm>; 370 bm,pool-long = <3>; 371 bm,pool-short = <1>; 372 buffer-manager = <&bm>;
|
| H A D | armada-385-turris-omnia.dts | 156 &bm { 170 buffer-manager = <&bm>; 171 bm,pool-long = <0>; 172 bm,pool-short = <3>; 186 buffer-manager = <&bm>; 187 bm,pool-long = <1>; 188 bm,pool-short = <3>; 212 buffer-manager = <&bm>; 213 bm,pool-long = <2>; 214 bm,pool-short = <3>;
|
| H A D | armada-388-gp.dts | 91 buffer-manager = <&bm>; 92 bm,pool-long = <2>; 93 bm,pool-short = <3>; 113 buffer-manager = <&bm>; 114 bm,pool-long = <0>; 115 bm,pool-short = <1>; 150 bm@c8000 { 208 bm-bppi {
|
| H A D | armada-388-clearfog.dtsi | 93 bm,pool-long = <2>; 94 bm,pool-short = <1>; 95 buffer-manager = <&bm>; 103 bm,pool-long = <3>; 104 bm,pool-short = <1>; 105 buffer-manager = <&bm>;
|
| H A D | armada-38x-solidrun-microsom.dtsi | 35 &bm { 49 buffer-manager = <&bm>; 50 bm,pool-long = <0>; 51 bm,pool-short = <1>;
|
| /freebsd/contrib/bmake/ |
| H A D | bmake.cat1 | 4 bbmmaakkee - maintain program dependencies 7 …bbmmaakkee [--BBeeiikkNNnnqqrrSSssttWWwwXX] [--CC _d_i_r_e_c_t_o_r_… 13 bbmmaakkee is a program designed to simplify the maintenance of other 16 …given, bbmmaakkee looks for the makefiles listed in _._M_A_K_E_._M_A_K_E_F_I_L_… 21 thorough description of bbmmaakkee and makefiles, please refer to _P_M_a_k_e _- _A 24 bbmmaakkee prepends the contents of the MAKEFLAGS environment variable to the 43 Turn on debugging, and specify which portions of bbmmaakkee are to 143 is read. If _m_a_k_e_f_i_l_e starts with the string `.../', bbmmaakkee 165 Specify the maximum number of jobs that bbmmaakkee may have running at 180 total number of jobs running. Each instance of bbmmaakkee will wait [all …]
|
| /freebsd/sys/contrib/ncsw/Peripherals/BM/ |
| H A D | fsl_bman.h | 39 @Description BM header 199 #define bm_isr_status_read(bm) __bm_isr_read(bm, bm_isr_status) argument 200 #define bm_isr_status_clear(bm, m) __bm_isr_write(bm, bm_isr_status, m) argument 201 #define bm_isr_enable_read(bm) __bm_isr_read(bm, bm_isr_enable) argument 202 #define bm_isr_enable_write(bm, v) __bm_isr_write(bm, bm_isr_enable, v) argument 203 #define bm_isr_disable_read(bm) __bm_isr_read(bm, bm_isr_disable) argument 204 #define bm_isr_disable_write(bm, v) __bm_isr_write(bm, bm_isr_disable, v) argument 205 #define bm_isr_inhibit(bm) __bm_isr_write(bm, bm_isr_inhibit, 1) argument 206 #define bm_isr_uninhibit(bm) __bm_isr_write(bm, bm_isr_inhibit, 0) argument
|
| H A D | bman_low.c | 39 @Description BM low-level implementation 91 static __inline__ uint32_t __bm_in(struct bm_addr *bm, uintptr_t offset) in __bm_in() argument 93 uint32_t *tmp = (uint32_t *)ptr_ADD(bm->addr_ci, offset); in __bm_in() 96 static __inline__ void __bm_out(struct bm_addr *bm, uintptr_t offset, uint32_t val) in __bm_out() argument 98 uint32_t *tmp = (uint32_t *)ptr_ADD(bm->addr_ci, offset); in __bm_out() 108 static __inline__ void __bm_cl_touch_ro(struct bm_addr *bm, uintptr_t offset) in __bm_cl_touch_ro() argument 110 dcbt_ro(ptr_ADD(bm->addr_ce, offset)); in __bm_cl_touch_ro() 112 static __inline__ void __bm_cl_touch_rw(struct bm_addr *bm, uintptr_t offset) in __bm_cl_touch_rw() argument 114 dcbt_rw(ptr_ADD(bm->addr_ce, offset)); in __bm_cl_touch_rw() 116 static __inline__ uint32_t __bm_cl_in(struct bm_addr *bm, uintptr_t offset) in __bm_cl_in() argument [all …]
|
| /freebsd/usr.bin/gzip/ |
| H A D | unlz.c | 194 lz_rd_decode_bit(struct lz_range_decoder *rd, int *bm) in lz_rd_decode_bit() argument 197 const uint32_t bound = (rd->range >> BIT_MODEL_TOTAL_BITS) * *bm; in lz_rd_decode_bit() 201 *bm += (BIT_MODEL_TOTAL - *bm) >> BIT_MODEL_MOVE_BITS; in lz_rd_decode_bit() 207 *bm -= *bm >> BIT_MODEL_MOVE_BITS; in lz_rd_decode_bit() 219 lz_rd_decode_tree(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree() argument 224 symbol = (symbol << 1) | lz_rd_decode_bit(rd, &bm[symbol]); in lz_rd_decode_tree() 230 lz_rd_decode_tree_reversed(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree_reversed() argument 232 unsigned symbol = lz_rd_decode_tree(rd, bm, num_bits); in lz_rd_decode_tree_reversed() 244 lz_rd_decode_matched(struct lz_range_decoder *rd, int *bm, int match_byte) in lz_rd_decode_matched() argument 251 &bm[symbol + (match_bit << 8) + 0x100]); in lz_rd_decode_matched() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_bm.c | 37 #include <bm.h> 41 ATF_TC(bm); 42 ATF_TC_HEAD(bm, tc) in ATF_TC_HEAD() argument 44 atf_tc_set_md_var(tc, "descr", "Test bm(3)"); in ATF_TC_HEAD() 72 ATF_TC_BODY(bm, tc) in ATF_TC_BODY() argument 100 ATF_TP_ADD_TC(tp, bm); in ATF_TP_ADD_TCS()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | bm | 3 # $File: bm,v 1.2 2021/03/14 16:56:51 christos Exp $ 4 # bm: file(1) magic for "Birtual Machine", cf. https://github.com/tsoding/bm 6 0 string bm\001\244 Birtual Machine
|
| /freebsd/sys/netlink/route/ |
| H A D | route_var.h | 85 const struct nlattr_bmask *bm, struct nl_pstate *npt); 90 const struct nlattr_bmask *bm, struct nl_pstate *npt) in nl_modify_ifp_generic() argument 92 return (_nl_modify_ifp_generic(ifp, lattrs, bm, npt)); in nl_modify_ifp_generic() 103 const struct nlattr_bmask *bm, struct nl_pstate *npt); 109 const struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt); 111 const struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt);
|