MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bit_set

Function bit_set

freebsd/sys/bitstring.h:145–149  ·  view source on GitHub ↗

Set bit N of bit string. */

Source from the content-addressed store, hash-verified

143
144/* Set bit N of bit string. */
145static inline void
146bit_set(bitstr_t *_bitstr, int _bit)
147{
148 _bitstr[_bit_idx(_bit)] |= _bit_mask(_bit);
149}
150
151/* clear bit N of bit string name */
152static inline void

Callers 15

ip_randomidFunction · 0.85
pmap_init_asidsFunction · 0.85
pmap_reset_asid_setFunction · 0.85
pmap_alloc_asidFunction · 0.85
smmu_asid_allocFunction · 0.85
fork_findpidFunction · 0.85
proc_id_setFunction · 0.85
proc_id_set_condFunction · 0.85
optimize_unrFunction · 0.85
alloc_unrlFunction · 0.85
alloc_unr_specificlFunction · 0.85
tid_allocFunction · 0.85

Calls 2

_bit_idxFunction · 0.85
_bit_maskFunction · 0.85

Tested by

no test coverage detected