/Linux-v4.19/kernel/sched/ |
D | wait_bit.c | 26 wait_bit->key.bit_nr != key->bit_nr || in wake_bit_function() 27 test_bit(key->bit_nr, key->flags)) in wake_bit_function() 47 if (test_bit(wbq_entry->key.bit_nr, wbq_entry->key.flags)) in __wait_on_bit() 49 } while (test_bit(wbq_entry->key.bit_nr, wbq_entry->key.flags) && !ret); in __wait_on_bit() 88 if (test_bit(wbq_entry->key.bit_nr, wbq_entry->key.flags)) { in __wait_on_bit_lock() 99 if (!test_and_set_bit(wbq_entry->key.bit_nr, wbq_entry->key.flags)) { in __wait_on_bit_lock() 167 wbq_entry->key.bit_nr != key->bit_nr) in var_wake_function() 178 .bit_nr = -1, in init_wait_var_entry()
|
/Linux-v4.19/drivers/input/keyboard/ |
D | bcm-keypad.c | 72 #define BIT_TO_ROW_SSRN(bit_nr, reg_n) (((bit_nr) >> 3) + 4 * (reg_n)) argument 73 #define BIT_TO_COL(bit_nr) ((bit_nr) % 8) argument 106 int bit_nr; in bcm_kp_report_keys() local 118 for_each_set_bit(bit_nr, &change, BITS_PER_LONG) { in bcm_kp_report_keys() 119 key_press = state & BIT(bit_nr); in bcm_kp_report_keys() 122 row = BIT_TO_ROW_SSRN(bit_nr, reg_num); in bcm_kp_report_keys() 123 col = BIT_TO_COL(bit_nr); in bcm_kp_report_keys()
|
D | st-keyscan.c | 47 int bit_nr; in keyscan_isr() local 53 for_each_set_bit(bit_nr, &change, BITS_PER_LONG) in keyscan_isr() 55 keycode[bit_nr], state & BIT(bit_nr)); in keyscan_isr()
|
/Linux-v4.19/virt/kvm/arm/vgic/ |
D | vgic-v3.c | 326 int byte_offset, bit_nr; in vgic_v3_lpi_sync_pending_status() local 341 bit_nr = irq->intid % BITS_PER_BYTE; in vgic_v3_lpi_sync_pending_status() 348 status = val & (1 << bit_nr); in vgic_v3_lpi_sync_pending_status() 360 val &= ~(1 << bit_nr); in vgic_v3_lpi_sync_pending_status() 381 int byte_offset, bit_nr; in vgic_v3_save_pending_tables() local 393 bit_nr = irq->intid % BITS_PER_BYTE; in vgic_v3_save_pending_tables() 403 stored = val & (1U << bit_nr); in vgic_v3_save_pending_tables() 408 val |= 1 << bit_nr; in vgic_v3_save_pending_tables() 410 val &= ~(1 << bit_nr); in vgic_v3_save_pending_tables()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac100_core.c | 131 int bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26; in dwmac100_set_filter() local 136 mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in dwmac100_set_filter()
|
D | dwmac1000_core.c | 190 int bit_nr = bitrev32(~crc32_le(~0, ha->addr, in dwmac1000_set_filter() local 197 mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in dwmac1000_set_filter()
|
D | dwmac4_core.c | 429 int bit_nr = in dwmac4_set_filter() local 435 mc_filter[bit_nr >> 5] |= (1 << (bit_nr & 0x1F)); in dwmac4_set_filter()
|
/Linux-v4.19/mm/ |
D | filemap.c | 983 int bit_nr; member 989 int bit_nr; member 1003 if (wait_page->bit_nr != key->bit_nr) in wake_page_function() 1007 if (test_bit(key->bit_nr, &key->page->flags)) in wake_page_function() 1013 static void wake_up_page_bit(struct page *page, int bit_nr) in wake_up_page_bit() argument 1021 key.bit_nr = bit_nr; in wake_up_page_bit() 1075 struct page *page, int bit_nr, int state, bool lock) in wait_on_page_bit_common() argument 1085 wait_page.bit_nr = bit_nr; in wait_on_page_bit_common() 1099 if (likely(test_bit(bit_nr, &page->flags))) { in wait_on_page_bit_common() 1104 if (!test_and_set_bit_lock(bit_nr, &page->flags)) in wait_on_page_bit_common() [all …]
|
/Linux-v4.19/include/linux/ |
D | wait_bit.h | 12 int bit_nr; member 22 { .flags = word, .bit_nr = bit, }
|
D | pagemap.h | 517 extern void wait_on_page_bit(struct page *page, int bit_nr); 518 extern int wait_on_page_bit_killable(struct page *page, int bit_nr);
|
/Linux-v4.19/arch/openrisc/kernel/ |
D | setup.c | 235 short bit_nr, short width) in extract_value_bits() argument 237 return (reg >> bit_nr) & (0 << width); in extract_value_bits()
|
/Linux-v4.19/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 1305 u32 bit_nr = ~ether_crc(ETH_ALEN, ha->addr) >> 23; in xgmac_set_rx_mode() local 1310 hash_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in xgmac_set_rx_mode() 1330 u32 bit_nr = ~ether_crc(ETH_ALEN, ha->addr) >> 23; in xgmac_set_rx_mode() local 1335 hash_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in xgmac_set_rx_mode()
|
/Linux-v4.19/drivers/staging/vt6656/ |
D | main_usb.c | 750 u32 bit_nr = 0; in vnt_prepare_multicast() local 753 bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26; in vnt_prepare_multicast() 755 mc_filter |= 1ULL << (bit_nr & 0x3f); in vnt_prepare_multicast()
|
/Linux-v4.19/drivers/net/wireless/admtek/ |
D | adm8211.c | 1336 unsigned int bit_nr; in adm8211_prepare_multicast() local 1343 bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26; in adm8211_prepare_multicast() 1345 bit_nr &= 0x3F; in adm8211_prepare_multicast() 1346 mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in adm8211_prepare_multicast()
|
/Linux-v4.19/fs/cachefiles/ |
D | rdwr.c | 38 key->flags, key->bit_nr); in cachefiles_read_waiter() 41 key->bit_nr != PG_locked) in cachefiles_read_waiter()
|
/Linux-v4.19/drivers/s390/virtio/ |
D | virtio_ccw.c | 94 u64 bit_nr; member 115 int bit_nr; member 592 &thinint_area->bit_nr, in virtio_ccw_register_adapter_ind()
|
/Linux-v4.19/drivers/net/ethernet/smsc/ |
D | epic100.c | 1364 unsigned int bit_nr = in set_rx_mode() local 1366 mc_filter[bit_nr >> 3] |= (1 << bit_nr); in set_rx_mode()
|
/Linux-v4.19/drivers/net/ethernet/sis/ |
D | sis900.c | 2333 unsigned int bit_nr; in set_rx_mode() local 2335 bit_nr = sis900_mcast_bitnr(ha->addr, in set_rx_mode() 2337 mc_filter[bit_nr >> 4] |= (1 << (bit_nr & 0xf)); in set_rx_mode()
|
D | sis190.c | 856 int bit_nr = in sis190_set_rx_mode() local 858 mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in sis190_set_rx_mode()
|
/Linux-v4.19/fs/reiserfs/ |
D | journal.c | 216 unsigned int bit_nr = block % (sb->s_blocksize << 3); in set_bit_in_list_bitmap() local 221 set_bit(bit_nr, (unsigned long *)jb->bitmaps[bmap_nr]->data); in set_bit_in_list_bitmap() 462 unsigned int bmap_nr, int bit_nr, int search_all, in reiserfs_in_journal() argument 485 test_bit(bit_nr, in reiserfs_in_journal() 493 bit_nr + 1); in reiserfs_in_journal() 499 bl = bmap_nr * (sb->s_blocksize << 3) + bit_nr; in reiserfs_in_journal()
|
/Linux-v4.19/drivers/hwmon/ |
D | gl520sm.c | 680 int bit_nr = to_sensor_dev_attr(attr)->index; in get_alarm() local 683 return sprintf(buf, "%d\n", (data->alarms >> bit_nr) & 1); in get_alarm()
|
/Linux-v4.19/drivers/staging/vt6655/ |
D | device_main.c | 1496 u32 bit_nr = 0; in vnt_prepare_multicast() local 1499 bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26; in vnt_prepare_multicast() 1501 mc_filter |= 1ULL << (bit_nr & 0x3f); in vnt_prepare_multicast()
|
/Linux-v4.19/drivers/hid/ |
D | hid-core.c | 1108 unsigned int bit_nr = 0; in __extract() local 1115 value |= ((u32)report[idx] >> bit_shift) << bit_nr; in __extract() 1117 bit_nr += bits_to_copy; in __extract()
|
/Linux-v4.19/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1825 int bit_nr = ether_crc_le(ETH_ALEN, ha->addr) >> 23; in set_rx_mode() local 1826 __le32 *fptr = (__le32 *) &mc_filter[(bit_nr >> 4) & ~1]; in set_rx_mode() 1828 *fptr |= cpu_to_le32(1 << (bit_nr & 31)); in set_rx_mode()
|
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 1870 int bit_nr = bitrev32(~crc32_le(~0, ha->addr, 6)) >> 26; in sxgbe_set_rx_mode() local 1876 mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31); in sxgbe_set_rx_mode()
|