Searched refs:rbm (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/gfs2/ |
D | rgrp.c | 64 struct gfs2_rbm rbm; member 76 static int gfs2_rbm_find(struct gfs2_rbm *rbm, u8 state, u32 *minext, 88 static inline void gfs2_setbit(const struct gfs2_rbm *rbm, bool do_clone, in gfs2_setbit() argument 92 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_setbit() 94 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit() 96 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit() 105 rbm->offset, cur_state, new_state); in gfs2_setbit() 107 (unsigned long long)rbm->rgd->rd_addr, bi->bi_start); in gfs2_setbit() 111 gfs2_consist_rgrpd(rbm->rgd); in gfs2_setbit() 117 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit() [all …]
|
D | incore.h | 133 static inline struct gfs2_bitmap *rbm_bi(const struct gfs2_rbm *rbm) in rbm_bi() argument 135 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi() 138 static inline u64 gfs2_rbm_to_block(const struct gfs2_rbm *rbm) in gfs2_rbm_to_block() argument 140 BUG_ON(rbm->offset >= rbm->rgd->rd_data); in gfs2_rbm_to_block() 141 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) + in gfs2_rbm_to_block() 142 rbm->offset; in gfs2_rbm_to_block()
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_req.c | 932 enum drbd_read_balancing rbm) in remote_due_to_read_balancing() argument 937 switch (rbm) { in remote_due_to_read_balancing() 950 stripe_shift = (rbm - RB_32K_STRIPING + 15); in remote_due_to_read_balancing() 1062 enum drbd_read_balancing rbm; in do_remote_read() local 1083 rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; in do_remote_read() 1086 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read() 1089 if (remote_due_to_read_balancing(device, req->i.sector, rbm)) { in do_remote_read()
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | debugfs.c | 1262 struct wil_rx_buff_mgmt *rbm = &wil->rx_buff_mgmt; in wil_rx_buff_mgmt_debugfs_show() local 1266 seq_printf(s, " size = %zu\n", rbm->size); in wil_rx_buff_mgmt_debugfs_show() 1268 rbm->free_list_empty_cnt); in wil_rx_buff_mgmt_debugfs_show() 1272 num_active = wil_print_rx_buff(s, &rbm->active); in wil_rx_buff_mgmt_debugfs_show() 1274 num_free = wil_print_rx_buff(s, &rbm->free); in wil_rx_buff_mgmt_debugfs_show()
|