Home
last modified time | relevance | path

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

/linux-2.6.39/security/selinux/ss/
Debitmap.c37 (n1->startbit == n2->startbit) && in ebitmap_cmp()
62 new->startbit = n->startbit; in ebitmap_cpy()
112 c_iter->startbit = e_iter->startbit & ~(NETLBL_CATMAP_SIZE - 1); in ebitmap_netlbl_export()
118 e_startbit = e_iter->startbit + i * EBITMAP_UNIT_SIZE; in ebitmap_netlbl_export()
119 c_endbit = c_iter->startbit + NETLBL_CATMAP_SIZE; in ebitmap_netlbl_export()
126 c_iter->startbit in ebitmap_netlbl_export()
129 delta = e_startbit - c_iter->startbit; in ebitmap_netlbl_export()
178 c_pos = c_iter->startbit in ebitmap_netlbl_import()
181 || c_pos >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
185 e_iter->startbit in ebitmap_netlbl_import()
[all …]
Debitmap.h30 u32 startbit; member
48 return (*n)->startbit + ofs; in ebitmap_start_positive()
64 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
66 return ofs + (*n)->startbit; in ebitmap_next_positive()
71 return ofs + (*n)->startbit; in ebitmap_next_positive()
77 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
79 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
/linux-2.6.39/net/netlabel/
Dnetlabel_kapi.c417 if (offset > iter->startbit) { in netlbl_secattr_catmap_walk()
418 while (offset >= (iter->startbit + NETLBL_CATMAP_SIZE)) { in netlbl_secattr_catmap_walk()
423 node_idx = (offset - iter->startbit) / NETLBL_CATMAP_MAPSIZE; in netlbl_secattr_catmap_walk()
424 node_bit = offset - iter->startbit - in netlbl_secattr_catmap_walk()
438 return iter->startbit + in netlbl_secattr_catmap_walk()
475 if (offset > iter->startbit) { in netlbl_secattr_catmap_walk_rng()
476 while (offset >= (iter->startbit + NETLBL_CATMAP_SIZE)) { in netlbl_secattr_catmap_walk_rng()
481 node_idx = (offset - iter->startbit) / NETLBL_CATMAP_MAPSIZE; in netlbl_secattr_catmap_walk_rng()
482 node_bit = offset - iter->startbit - in netlbl_secattr_catmap_walk_rng()
498 return iter->startbit + in netlbl_secattr_catmap_walk_rng()
[all …]
/linux-2.6.39/Documentation/i2c/
Di2c-protocol60 we do not generate Addr, but we do generate the startbit S. This will
/linux-2.6.39/include/net/
Dnetlabel.h167 u32 startbit; member
/linux-2.6.39/security/smack/
Dsmack_lsm.c1782 sap->attr.mls.cat->startbit = 0; in smack_set_catset()