Searched refs:log_num (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/net/mlx4/ |
D | profile.c | 80 int log_num; in mlx4_make_profile() member 119 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile() 157 i, res_name[profile[i].type], profile[i].log_num, in mlx4_make_profile() 170 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile() 191 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile() 196 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile() 201 init_hca->log_num_eqs = profile[i].log_num; in mlx4_make_profile() 207 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile() 222 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile() 223 init_hca->log_mc_hash_sz = profile[i].log_num - 1; in mlx4_make_profile()
|
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 74 int log_num; in mthca_make_profile() member 117 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile() 163 i, profile[i].type, profile[i].log_num, in mthca_make_profile() 181 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile() 186 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile() 191 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile() 196 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile() 207 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile() 222 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile() 223 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); in mthca_make_profile() [all …]
|
/linux-2.6.39/drivers/vhost/ |
D | vhost.c | 930 unsigned int log_num, u64 len) in vhost_log_write() argument 936 for (i = 0; i < log_num; ++i) { in vhost_log_write() 1014 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument 1081 log[*log_num].addr = desc.addr; in get_indirect() 1082 log[*log_num].len = desc.len; in get_indirect() 1083 ++*log_num; in get_indirect() 1110 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument 1158 *log_num = 0; in vhost_get_vq_desc() 1183 log, log_num, &desc); in vhost_get_vq_desc() 1204 log[*log_num].addr = desc.addr; in vhost_get_vq_desc() [all …]
|
D | vhost.h | 141 struct vhost_log *log, unsigned int *log_num); 156 unsigned int log_num, u64 len);
|
D | net.c | 241 unsigned *log_num, in get_rx_bufs() argument 257 &in, log, log_num); in get_rx_bufs() 269 nlogs += *log_num; in get_rx_bufs() 270 log += *log_num; in get_rx_bufs() 281 *log_num = nlogs; in get_rx_bufs()
|
/linux-2.6.39/drivers/dma/ |
D | ste_dma40.c | 193 int log_num; member 315 return chan->log_num == D40_PHY_CHAN; in chan_is_physical() 776 d40c->phy_chan->num, d40c->log_num, in d40_channel_execute_command() 1460 int log_num; in d40_allocate_channel() local 1468 log_num = 2 * dev_type; in d40_allocate_channel() 1474 log_num = 2 * dev_type + 1; in d40_allocate_channel() 1505 d40c->log_num = D40_PHY_CHAN; in d40_allocate_channel() 1537 d40c->log_num = log_num; in d40_allocate_channel() 1541 d40c->base->lookup_log_chans[d40c->log_num] = d40c; in d40_allocate_channel() 1626 d40c->base->lookup_log_chans[d40c->log_num] = NULL; in d40_free_dma() [all …]
|