Home
last modified time | relevance | path

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

/Linux-v6.1/security/selinux/ss/
Debitmap.c41 (n1->startbit == n2->startbit) && in ebitmap_cmp()
67 new->startbit = n->startbit; in ebitmap_cpy()
130 offset = e_iter->startbit; in ebitmap_netlbl_export()
186 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
191 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
196 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
232 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
233 if (n1->startbit < n2->startbit) { in ebitmap_contains()
240 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + in ebitmap_contains()
270 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)
/Linux-v6.1/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()
/Linux-v6.1/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 …]
/Linux-v6.1/include/linux/
Dpacking.h46 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dsdma.h829 u8 startbit, in sdma_build_ahg_descriptor() argument
833 ((startbit & SDMA_AHG_FIELD_START_MASK) << in sdma_build_ahg_descriptor()
/Linux-v6.1/drivers/dma/
Dapple-admac.c329 u32 startbit = 1 << (adchan->no / 2); in admac_start_chan() local
338 writel_relaxed(startbit, ad->base + REG_TX_START); in admac_start_chan()
341 writel_relaxed(startbit, ad->base + REG_RX_START); in admac_start_chan()
/Linux-v6.1/include/net/
Dnetlabel.h155 u32 startbit; member