Home
last modified time | relevance | path

Searched refs:cmd_count (Results 1 – 19 of 19) sorted by relevance

/drivers/crypto/ccp/
Dccp-crypto-main.c56 unsigned int cmd_count; member
136 req_queue.cmd_count--; in ccp_crypto_cmd_complete()
221 if (req_queue.cmd_count >= CCP_CRYPTO_MAX_QLEN) { in ccp_crypto_enqueue_cmd()
246 if (req_queue.cmd_count >= CCP_CRYPTO_MAX_QLEN) { in ccp_crypto_enqueue_cmd()
253 req_queue.cmd_count++; in ccp_crypto_enqueue_cmd()
416 req_queue.cmd_count = 0; in ccp_crypto_init()
Dccp-dev.c312 if (ccp->cmd_count >= MAX_CMD_QLEN) { in ccp_enqueue_cmd()
321 ccp->cmd_count++; in ccp_enqueue_cmd()
356 ccp->cmd_count++; in ccp_do_cmd_backlog()
394 if (ccp->cmd_count) { in ccp_dequeue_cmd()
400 ccp->cmd_count--; in ccp_dequeue_cmd()
Dccp-debugfs.c61 oboff += OSCNPRINTF(" # Cmds: %d\n", ccp->cmd_count); in ccp5_debugfs_info_read()
Dccp-dev.h373 unsigned int cmd_count; member
/drivers/target/iscsi/
Discsi_target_erl2.c213 return --cr->cmd_count; in iscsit_remove_cmd_from_connection_recovery()
251 if (!cr->cmd_count) { in iscsit_discard_cr_cmds_by_expstatsn()
309 u32 cmd_count = 0; in iscsit_prepare_cmds_for_reallegiance() local
374 cmd_count++; in iscsit_prepare_cmds_for_reallegiance()
411 cr->cmd_count = cmd_count; in iscsit_prepare_cmds_for_reallegiance()
/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c445 u32 cmd_count; in isst_if_exec_multi_cmd() local
451 if (copy_from_user(&cmd_count, argp, sizeof(cmd_count))) in isst_if_exec_multi_cmd()
454 if (!cmd_count || cmd_count > ISST_IF_CMD_LIMIT) in isst_if_exec_multi_cmd()
464 for (i = 0; i < cmd_count; ++i) { in isst_if_exec_multi_cmd()
/drivers/w1/
Dw1_netlink.c498 static void w1_list_count_cmds(struct w1_netlink_msg *msg, int *cmd_count, in w1_list_count_cmds() argument
515 ++*cmd_count; in w1_list_count_cmds()
546 int cmd_count = 0; in w1_cn_callback() local
572 w1_list_count_cmds(msg, &cmd_count, &slave_len); in w1_cn_callback()
585 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
/drivers/firmware/arm_scmi/
Dbase.c302 r->cmd_count = ERROR_CMD_COUNT(le32_to_cpu(p->error_status)); in scmi_base_fill_custom_report()
303 for (i = 0; i < r->cmd_count; i++) in scmi_base_fill_custom_report()
/drivers/usb/serial/
Dcypress_m8.c96 int cmd_count; /* used for statistics */ member
409 ++priv->cmd_count; in cypress_serial_control()
597 priv->cmd_count = 0; in cypress_open()
654 priv->bytes_in, priv->bytes_out, priv->cmd_count); in cypress_close()
729 priv->cmd_count++; in cypress_send()
/drivers/scsi/lpfc/
Dlpfc_scsi.h130 uint32_t cmd_count; member
Dlpfc_scsi.c187 pnode->lat_data[i].cmd_count++; in lpfc_update_stats()
Dlpfc_attr.c4450 ndlp->lat_data[i].cmd_count); in sysfs_drvr_stat_data_read()
/drivers/target/
Dtarget_core_transport.c216 struct se_session *sess = container_of(ref, typeof(*sess), cmd_count); in target_release_sess_cmd_refcnt()
234 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
241 percpu_ref_exit(&se_sess->cmd_count); in transport_uninit_session()
2857 percpu_ref_get(&se_sess->cmd_count); in target_get_sess_cmd()
2899 percpu_ref_put(&se_sess->cmd_count); in target_release_cmd_kref()
3030 percpu_ref_kill(&se_sess->cmd_count); in target_sess_cmd_list_set_waiting()
3047 percpu_ref_is_zero(&se_sess->cmd_count), in target_wait_for_sess_cmds()
/drivers/i2c/busses/
Di2c-jz4780.c413 int cmd_count, in jz4780_i2c_send_rcmd() argument
418 for (i = 0; i < cmd_count - 1; i++) in jz4780_i2c_send_rcmd()
/drivers/scsi/
Dqlogicpti.h349 int cmd_count[MAX_TARGETS]; member
Dqlogicpti.c879 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()
961 qpti->cmd_count[Cmnd->device->id]++; in load_cmd()
1193 qpti->cmd_count[Cmnd->device->id]--; in qlogicpti_intr_handler()
/drivers/hid/
Dhid-lg4ff.c107 const u8 cmd_count; /* Number of commands to send */ member
785 for (i = 0; i < s->cmd_count; i++) { in lg4ff_switch_compatibility_mode()
/drivers/block/
Dfloppy.c1073 raw_cmd->fullcmd, raw_cmd->cmd_count, false); in setup_DMA()
1517 for (i = 0; i < raw_cmd->cmd_count; i++) in setup_rw_floppy()
2154 raw_cmd->cmd_count = NR_F; in setup_format_params()
2580 raw_cmd->cmd_count = NR_RW; in make_raw_rw_request()
2984 raw_cmd->cmd_count = 0; in poll_drive()
3195 if (ptr->cmd_count > FD_RAW_CMD_FULLSIZE) in raw_cmd_copyin()
/drivers/scsi/qla2xxx/
Dqla_target.c908 int cmd_count; member
924 tmp->cmd_count += logo->cmd_count; in qlt_send_first_logo()
943 logo->cmd_count, res); in qlt_send_first_logo()
974 logo.cmd_count = 0; in qlt_free_session_done()
6127 logo.cmd_count = 1; in qlt_make_local_sess()