Home
last modified time | relevance | path

Searched refs:log_num (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/mtd/parsers/
H A Dsharpslpart.c169 int i, ret, log_num; in sharpsl_nand_init_ftl() local
204 log_num = sharpsl_nand_get_logical_num(oob); in sharpsl_nand_init_ftl()
207 if (log_num > 0 && log_num < ftl->logmax) { in sharpsl_nand_init_ftl()
208 if (ftl->log2phy[log_num] == UINT_MAX) in sharpsl_nand_init_ftl()
209 ftl->log2phy[log_num] = block_num; in sharpsl_nand_init_ftl()
233 unsigned int log_num, final_log_num; in sharpsl_nand_read_laddr() local
240 log_num = mtd_div_by_eb((u32)from, mtd); in sharpsl_nand_read_laddr()
243 if (len <= 0 || log_num >= ftl->logmax || final_log_num > log_num) in sharpsl_nand_read_laddr()
[all...]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c72 int log_num; in mthca_make_profile() member
114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
157 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
175 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile()
180 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile()
185 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile()
190 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile()
201 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile()
216 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile()
217 init_hca->mc_hash_sz = 1 << (profile[i].log_num in mthca_make_profile()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c80 int log_num; in mlx4_make_profile() member
139 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile()
173 profile[i].log_num, in mlx4_make_profile()
186 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile()
207 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile()
212 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile()
232 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile()
246 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile()
252 profile[i].log_num - 1; in mlx4_make_profile()
/linux/drivers/vhost/
H A Dscsi.c379 unsigned int log_num) in vhost_scsi_copy_cmd_log() argument
391 memcpy(cmd->tvc_log, log, sizeof(*cmd->tvc_log) * log_num); in vhost_scsi_copy_cmd_log()
392 cmd->tvc_log_num = log_num; in vhost_scsi_copy_cmd_log()
399 unsigned int log_num) in vhost_scsi_log_write() argument
404 if (likely(!log_num || !log)) in vhost_scsi_log_write()
412 vhost_log_write(vq, log, log_num, U64_MAX, NULL, 0); in vhost_scsi_log_write()
575 unsigned int log_num; in vhost_scsi_do_evt_work() local
591 * Reset 'log_num' since vhost_get_vq_desc() may reset it only in vhost_scsi_do_evt_work()
594 log_num = 0; in vhost_scsi_do_evt_work()
598 vq_log, &log_num); in vhost_scsi_do_evt_work()
1141 vhost_scsi_get_desc(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int * log_num) vhost_scsi_get_desc() argument
1301 unsigned int log_num; vhost_scsi_handle_vq() local
1588 vhost_scsi_handle_tmf(struct vhost_scsi * vs,struct vhost_scsi_tpg * tpg,struct vhost_virtqueue * vq,struct virtio_scsi_ctrl_tmf_req * vtmf,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int log_num) vhost_scsi_handle_tmf() argument
1680 unsigned int log_num; vhost_scsi_ctl_handle_vq() local
[all...]
H A Dvhost.h232 struct vhost_log *log, unsigned int *log_num);
253 unsigned int log_num, u64 len,
H A Dvhost.c2526 * @log_num: Size of vhost_log arrary.
2536 unsigned int log_num, u64 len, struct iovec *iov, int count) in vhost_log_write() argument
2553 for (i = 0; i < log_num; ++i) { in vhost_log_write()
2705 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument
2777 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect()
2778 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect()
2779 ++*log_num; in get_indirect()
2806 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument
2849 *log_num = 0; in vhost_get_vq_desc()
2874 log, log_num, in vhost_get_vq_desc()
[all...]
/linux/drivers/dma/
H A Dste_dma40.c457 * @log_num: The logical number, if any of this channel.
487 int log_num; member
633 return chan->log_num == D40_PHY_CHAN; in chan_is_physical()
1119 d40c->phy_chan->num, d40c->log_num, in __d40_execute_command_phy()
1225 d40c->log_num, status); in __d40_config_set_event()
1862 int log_num; in d40_allocate_channel() local
1871 log_num = 2 * dev_type; in d40_allocate_channel()
1876 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1916 d40c->log_num = D40_PHY_CHAN; in d40_allocate_channel()
1969 d40c->log_num in d40_allocate_channel()
[all...]