/linux/include/linux/ |
H A D | sbitmap.h | 237 #define SB_NR_TO_INDEX(sb, bitnr) ((bitnr) >> (sb)->shift) argument 238 #define SB_NR_TO_BIT(sb, bitnr) ((bitnr) & ((1U << (sb)->shift) - 1U)) argument 311 unsigned int bitnr) in __sbitmap_word() 318 static inline void sbitmap_set_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_set_bit() 323 static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_clear_bit() 334 static inline void sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_deferred_clear_bit() 345 static inline void sbitmap_put(struct sbitmap *sb, unsigned int bitnr) in sbitmap_put() 353 static inline int sbitmap_test_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_test_bit()
|
/linux/net/xfrm/ |
H A D | xfrm_replay.c | 216 unsigned int bitnr, nr; in xfrm_replay_check_bmp() local 259 unsigned int bitnr, nr, i; in xfrm_replay_advance_bmp() local 454 unsigned int bitnr, nr; in xfrm_replay_check_esn() local 555 unsigned int bitnr, nr, i; in xfrm_replay_advance_esn() local
|
/linux/block/ |
H A D | blk-mq-tag.c | 254 unsigned int bitnr) in blk_mq_find_and_get_req() 267 static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_iter() 339 static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_tags_iter()
|
H A D | kyber-iosched.c | 667 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
|
H A D | blk-mq.c | 1763 static bool flush_busy_ctx(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_ctx() 1796 static bool dispatch_rq_from_ctx(struct sbitmap *sb, unsigned int bitnr, in dispatch_rq_from_ctx()
|
/linux/drivers/hwmon/ |
H A D | gl518sm.c | 451 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local 467 int bitnr = to_sensor_dev_attr(attr)->index; in beep_show() local 477 int bitnr = to_sensor_dev_attr(attr)->index; in beep_store() local
|
H A D | ad7414.c | 152 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | w83791d.c | 434 int bitnr = sensor_attr->index; in show_beep() local 446 int bitnr = sensor_attr->index; in store_beep() local 480 int bitnr = sensor_attr->index; in show_alarm() local
|
H A D | lm77.c | 206 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | gl520sm.c | 671 int bitnr = to_sensor_dev_attr(attr)->index; in beep_show() local 682 int bitnr = to_sensor_dev_attr(attr)->index; in beep_store() local
|
H A D | lm80.c | 443 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | adm1025.c | 337 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | it87.c | 2076 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 2136 int bitnr = to_sensor_dev_attr(attr)->index; in show_beep() local 2147 int bitnr = to_sensor_dev_attr(attr)->index; in set_beep() local
|
H A D | asb100.c | 522 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local
|
H A D | lm87.c | 656 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | lm63.c | 735 int bitnr = attr->index; in show_alarm() local
|
H A D | adm1031.c | 823 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
H A D | adm1026.c | 1121 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
|
/linux/sound/pci/oxygen/ |
H A D | oxygen_mixer.c | 510 unsigned int bitnr = (ctl->private_value >> 8) & 0xff; in ac97_switch_get() local 548 unsigned int bitnr = (ctl->private_value >> 8) & 0xff; in ac97_switch_put() local 729 #define AC97_SWITCH(xname, codec, index, bitnr, invert) { \ argument
|
/linux/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 304 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx() 1391 unsigned long bitnr; in __bm_change_bits_to() local 1581 int drbd_bm_test_bit(struct drbd_device *device, const unsigned long bitnr) in drbd_bm_test_bit() 1617 unsigned long bitnr; in drbd_bm_count_bits() local
|
/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 1049 unsigned int bitnr; in greth_set_hash_filter() local
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 636 u8 lid, lt, ld, bitnr; in npc_scan_kex() local
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 2874 static inline int hash_bit_value(int bitnr, __u8 *addr) in hash_bit_value() 2902 unsigned int bitnr; in macb_sethashtable() local
|