Home
last modified time | relevance | path

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

/linux-4.4.14/security/selinux/ss/
Debitmap.c31 if (e1->highbit != e2->highbit) in ebitmap_cmp()
73 dst->highbit = src->highbit; in ebitmap_cpy()
173 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
203 if (e1->highbit < e2->highbit) in ebitmap_contains()
243 if (e->highbit < bit) in ebitmap_get_bit()
282 e->highbit = prev->startbit in ebitmap_set_bit()
285 e->highbit = 0; in ebitmap_set_bit()
311 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit()
338 e->highbit = 0; in ebitmap_destroy()
358 e->highbit = le32_to_cpu(buf[1]); in ebitmap_read()
[all …]
Debitmap.h41 u32 highbit; /* highest position in the total bitmap */ member
44 #define ebitmap_length(e) ((e)->highbit)
/linux-4.4.14/include/linux/
Dsvga.h15 u8 highbit; member
/linux-4.4.14/drivers/ata/
Dlibata-core.c924 int highbit = fls(xfer_mask) - 1; in ata_xfer_mask2mode() local
928 if (highbit >= ent->shift && highbit < ent->shift + ent->bits) in ata_xfer_mask2mode()
929 return ent->base + highbit - ent->shift; in ata_xfer_mask2mode()
1016 int highbit; in ata_mode_string() local
1018 highbit = fls(xfer_mask) - 1; in ata_mode_string()
1019 if (highbit >= 0 && highbit < ARRAY_SIZE(xfer_mode_str)) in ata_mode_string()
1020 return xfer_mode_str[highbit]; in ata_mode_string()
3135 int quiet, highbit; in ata_down_xfermask_limit() local
3147 highbit = fls(pio_mask) - 1; in ata_down_xfermask_limit()
3148 pio_mask &= ~(1 << highbit); in ata_down_xfermask_limit()
[all …]
/linux-4.4.14/drivers/video/fbdev/core/
Dsvgalib.c30 while (bitnum <= regset->highbit) { in svga_wcrt_multi()
50 while (bitnum <= regset->highbit) { in svga_wseq_multi()
67 count += regset->highbit - regset->lowbit + 1; in svga_regset_size()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-cards.c3260 u32 highbit; in td3116_muxsel() local
3262 highbit = (input & 0x8) >> 3 ; in td3116_muxsel()
3266 value |= ((input & 0x7) << 1) << (4 * highbit); in td3116_muxsel()
3271 value |= ((highbit ^ 0x1) << 4) | highbit; in td3116_muxsel()
/linux-4.4.14/mm/
Dpercpu.c207 int highbit = fls(size); /* size is in bytes */ in __pcpu_size_to_slot() local
208 return max(highbit - PCPU_SLOT_BASE_SHIFT + 2, 1); in __pcpu_size_to_slot()
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcmulti.c684 unsigned short highbit; in vpm_read_address() local
687 highbit = cpld_read_reg(c, 1); in vpm_read_address()
689 addr = addr | (highbit << 8); in vpm_read_address()