Home
last modified time | relevance | path

Searched defs:bitnr (Results 1 – 23 of 23) sorted by relevance

/linux/include/linux/
H A Dsbitmap.h237 #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 Dxfrm_replay.c216 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 Dblk-mq-tag.c254 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 Dkyber-iosched.c667 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
H A Dblk-mq.c1763 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 Dgl518sm.c451 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 Dad7414.c152 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dw83791d.c434 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 Dlm77.c206 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dgl520sm.c671 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 Dlm80.c443 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dadm1025.c337 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dit87.c2076 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 Dasb100.c522 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local
H A Dlm87.c656 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dlm63.c735 int bitnr = attr->index; in show_alarm() local
H A Dadm1031.c823 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
H A Dadm1026.c1121 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() local
/linux/sound/pci/oxygen/
H A Doxygen_mixer.c510 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 Ddrbd_bitmap.c304 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 Dgreth.c1049 unsigned int bitnr; in greth_set_hash_filter() local
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c636 u8 lid, lt, ld, bitnr; in npc_scan_kex() local
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c2874 static inline int hash_bit_value(int bitnr, __u8 *addr) in hash_bit_value()
2902 unsigned int bitnr; in macb_sethashtable() local