Home
last modified time | relevance | path

Searched refs:startbit (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/security/selinux/ss/
Debitmap.c41 (n1->startbit == n2->startbit) && in ebitmap_cmp()
66 new->startbit = n->startbit; in ebitmap_cpy()
129 offset = e_iter->startbit; in ebitmap_netlbl_export()
185 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
190 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
195 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
231 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
232 if (n1->startbit < n2->startbit) { in ebitmap_contains()
239 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + in ebitmap_contains()
269 while (n && (n->startbit <= bit)) { in ebitmap_get_bit()
[all …]
Debitmap.h37 u32 startbit; member
55 return (*n)->startbit + ofs; in ebitmap_start_positive()
71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
73 return ofs + (*n)->startbit; in ebitmap_next_positive()
78 return ofs + (*n)->startbit; in ebitmap_next_positive()
84 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
86 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
/kernel/linux/linux-5.10/lib/
Dpacking.c89 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() argument
102 if (startbit < endbit) in packing()
106 value_width = startbit - endbit + 1; in packing()
129 plogical_first_u8 = startbit / 8; in packing()
145 box_start_bit = startbit % 8; in packing()
/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_kapi.c564 if (offset < iter->startbit) in _netlbl_catmap_getnode()
566 while (iter && offset >= (iter->startbit + NETLBL_CATMAP_SIZE)) { in _netlbl_catmap_getnode()
570 if (iter == NULL || offset < iter->startbit) in _netlbl_catmap_getnode()
585 iter->startbit = offset & ~(NETLBL_CATMAP_SIZE - 1); in _netlbl_catmap_getnode()
618 if (offset > iter->startbit) { in netlbl_catmap_walk()
619 offset -= iter->startbit; in netlbl_catmap_walk()
634 return iter->startbit + in netlbl_catmap_walk()
675 if (offset > iter->startbit) { in netlbl_catmap_walkrng()
676 offset -= iter->startbit; in netlbl_catmap_walkrng()
693 return prev->startbit + NETLBL_CATMAP_SIZE - 1; in netlbl_catmap_walkrng()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpacking.h46 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dsdma.h870 u8 startbit, in sdma_build_ahg_descriptor() argument
874 ((startbit & SDMA_AHG_FIELD_START_MASK) << in sdma_build_ahg_descriptor()
/kernel/linux/linux-5.10/include/net/
Dnetlabel.h155 u32 startbit; member