| /linux/drivers/md/ |
| H A D | dm-clone-metadata.c | 273 static inline int superblock_read_lock(struct dm_clone_metadata *cmd, in superblock_read_lock() argument 276 return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_read_lock() 279 static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, in superblock_write_lock_zero() argument 282 return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_write_lock_zero() 285 static int __copy_sm_root(struct dm_clone_metadata *cmd) in __copy_sm_root() argument 290 r = dm_sm_root_size(cmd->sm, &root_size); in __copy_sm_root() 294 return dm_sm_copy_root(cmd->sm, &cmd->metadata_space_map_root, root_size); in __copy_sm_root() 298 static void __prepare_superblock(struct dm_clone_metadata *cmd, in __prepare_superblock() argument 310 memcpy(&sb->metadata_space_map_root, &cmd->metadata_space_map_root, in __prepare_superblock() 311 sizeof(cmd->metadata_space_map_root)); in __prepare_superblock() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_erl1.c | 90 struct iscsit_cmd *cmd, in iscsit_send_recovery_r2t_for_snack() argument 98 spin_lock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 100 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 104 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 106 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_send_recovery_r2t_for_snack() 112 struct iscsit_cmd *cmd, in iscsit_handle_r2t_snack() argument 124 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_handle_r2t_snack() 125 (begrun <= cmd->acked_data_sn)) { in iscsit_handle_r2t_snack() 129 " protocol error.\n", cmd->init_task_tag, begrun, in iscsit_handle_r2t_snack() 130 (begrun + runlength), cmd->acked_data_sn); in iscsit_handle_r2t_snack() [all …]
|
| H A D | iscsi_target_erl0.c | 32 struct iscsit_cmd *cmd) in iscsit_set_dataout_sequence_values() argument 34 struct iscsit_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() 39 if (cmd->unsolicited_data) { in iscsit_set_dataout_sequence_values() 40 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values() 41 cmd->seq_end_offset = min(cmd->se_cmd.data_length, in iscsit_set_dataout_sequence_values() 49 if (!cmd->seq_start_offset && !cmd->seq_end_offset) { in iscsit_set_dataout_sequence_values() 50 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values() 51 cmd->seq_end_offset = (cmd->se_cmd.data_length > in iscsit_set_dataout_sequence_values() 53 (cmd->write_data_done + in iscsit_set_dataout_sequence_values() 54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values() [all …]
|
| H A D | iscsi_target_seq_pdu_list.c | 21 static void iscsit_dump_seq_list(struct iscsit_cmd *cmd) in iscsit_dump_seq_list() argument 27 cmd->init_task_tag); in iscsit_dump_seq_list() 29 for (i = 0; i < cmd->seq_count; i++) { in iscsit_dump_seq_list() 30 seq = &cmd->seq_list[i]; in iscsit_dump_seq_list() 39 static void iscsit_dump_pdu_list(struct iscsit_cmd *cmd) in iscsit_dump_pdu_list() argument 45 cmd->init_task_tag); in iscsit_dump_pdu_list() 47 for (i = 0; i < cmd->pdu_count; i++) { in iscsit_dump_pdu_list() 48 pdu = &cmd->pdu_list[i]; in iscsit_dump_pdu_list() 55 static void iscsit_dump_seq_list(struct iscsit_cmd *cmd) {} in iscsit_dump_seq_list() argument 56 static void iscsit_dump_pdu_list(struct iscsit_cmd *cmd) {} in iscsit_dump_pdu_list() argument [all …]
|
| /linux/tools/lib/subcmd/ |
| H A D | run-command.c | 31 int start_command(struct child_process *cmd) in start_command() argument 42 need_in = !cmd->no_stdin && cmd->in < 0; in start_command() 45 if (cmd->out > 0) in start_command() 46 close(cmd->out); in start_command() 49 cmd->in = fdin[1]; in start_command() 52 need_out = !cmd->no_stdout in start_command() 53 && !cmd->stdout_to_stderr in start_command() 54 && cmd->out < 0; in start_command() 59 else if (cmd->in) in start_command() 60 close(cmd->in); in start_command() [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | cmd.c | 18 struct wl18xx_cmd_channel_switch *cmd; in wl18xx_cmd_channel_switch() local 25 cmd = kzalloc_obj(*cmd); in wl18xx_cmd_channel_switch() 26 if (!cmd) { in wl18xx_cmd_channel_switch() 31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch() 32 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch() 33 cmd->switch_time = ch_switch->count; in wl18xx_cmd_channel_switch() 34 cmd->stop_tx = ch_switch->block_tx; in wl18xx_cmd_channel_switch() 38 cmd->band = WLCORE_BAND_2_4GHZ; in wl18xx_cmd_channel_switch() 41 cmd->band = WLCORE_BAND_5GHZ; in wl18xx_cmd_channel_switch() 58 cmd->local_supported_rates = cpu_to_le32(supported_rates); in wl18xx_cmd_channel_switch() [all …]
|
| H A D | scan.c | 12 static void wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd, in wl18xx_adjust_channels() argument 15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels() 16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels() 17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels() 18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels() 20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels() 21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels() 22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels() 23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels() 30 struct wl18xx_cmd_scan_params *cmd; in wl18xx_scan_send() local [all …]
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | sdio.c | 66 static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) in wilc_sdio_cmd52() argument 74 func->num = cmd->function; in wilc_sdio_cmd52() 75 if (cmd->read_write) { /* write */ in wilc_sdio_cmd52() 76 if (cmd->raw) { in wilc_sdio_cmd52() 77 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 78 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 79 cmd->data = data; in wilc_sdio_cmd52() 81 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 84 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 85 cmd->data = data; in wilc_sdio_cmd52() [all …]
|
| /linux/net/ncsi/ |
| H A D | ncsi-cmd.c | 66 struct ncsi_cmd_pkt *cmd; in ncsi_cmd_handler_default() local 68 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_default() 69 ncsi_cmd_build_header(&cmd->cmd.common, nca); in ncsi_cmd_handler_default() 77 struct ncsi_cmd_sp_pkt *cmd; in ncsi_cmd_handler_sp() local 79 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_sp() 80 cmd->hw_arbitration = nca->bytes[0]; in ncsi_cmd_handler_sp() 81 ncsi_cmd_build_header(&cmd->cmd.common, nca); in ncsi_cmd_handler_sp() 89 struct ncsi_cmd_dc_pkt *cmd; in ncsi_cmd_handler_dc() local 91 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_dc() 92 cmd->ald = nca->bytes[0]; in ncsi_cmd_handler_dc() [all …]
|
| /linux/drivers/macintosh/ |
| H A D | smu.c | 69 u8 cmd; member 114 struct smu_cmd *cmd; in smu_start_cmd() local 120 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd() 121 smu->cmd_cur = cmd; in smu_start_cmd() 122 list_del(&cmd->link); in smu_start_cmd() 124 DPRINTK("SMU: starting cmd %x, %d bytes data\n", cmd->cmd, in smu_start_cmd() 125 cmd->data_len); in smu_start_cmd() 126 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd() 129 smu->cmd_buf->cmd = cmd->cmd; in smu_start_cmd() 130 smu->cmd_buf->length = cmd->data_len; in smu_start_cmd() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | cmd.c | 43 struct wl1271_cmd_header *cmd; in __wlcore_cmd_send() local 54 if (WARN_ON_ONCE(len < sizeof(*cmd))) in __wlcore_cmd_send() 57 cmd = buf; in __wlcore_cmd_send() 58 cmd->id = cpu_to_le16(id); in __wlcore_cmd_send() 59 cmd->status = 0; in __wlcore_cmd_send() 103 ret = wlcore_read(wl, wl->cmd_box_addr, cmd, res_len, false); in __wlcore_cmd_send() 107 status = le16_to_cpu(cmd->status); in __wlcore_cmd_send() 226 struct wl12xx_cmd_role_enable *cmd; in wl12xx_cmd_role_enable() local 234 cmd = kzalloc_obj(*cmd); in wl12xx_cmd_role_enable() 235 if (!cmd) { in wl12xx_cmd_role_enable() [all …]
|
| /linux/drivers/mmc/core/ |
| H A D | sd_ops.c | 34 struct mmc_command *cmd; member 40 struct mmc_command cmd = {}; in mmc_app_cmd() local 54 cmd.opcode = MMC_APP_CMD; in mmc_app_cmd() 57 cmd.arg = card->rca << 16; in mmc_app_cmd() 58 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC; in mmc_app_cmd() 60 cmd.arg = 0; in mmc_app_cmd() 61 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_BCR; in mmc_app_cmd() 64 err = mmc_wait_for_cmd(host, &cmd, 0); in mmc_app_cmd() 69 if (!mmc_host_is_spi(host) && !(cmd.resp[0] & R1_APP_CMD)) in mmc_app_cmd() 77 struct mmc_command *cmd) in mmc_wait_for_app_cmd() argument [all …]
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | pfunc_core.c | 96 static u32 pmf_next32(struct pmf_cmd *cmd) in pmf_next32() argument 99 if ((cmd->cmdend - cmd->cmdptr) < 4) { in pmf_next32() 100 cmd->error = 1; in pmf_next32() 103 value = *((u32 *)cmd->cmdptr); in pmf_next32() 104 cmd->cmdptr += 4; in pmf_next32() 108 static const void* pmf_next_blob(struct pmf_cmd *cmd, int count) in pmf_next_blob() argument 111 if ((cmd->cmdend - cmd->cmdptr) < count) { in pmf_next_blob() 112 cmd->error = 1; in pmf_next_blob() 115 value = cmd->cmdptr; in pmf_next_blob() 116 cmd->cmdptr += count; in pmf_next_blob() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | cmd.c | 68 static u8 is_command_allowed_in_ps(u16 cmd) in is_command_allowed_in_ps() argument 70 switch (cmd) { in is_command_allowed_in_ps() 91 struct cmd_ds_get_hw_spec cmd; in lbs_update_hw_spec() local 95 memset(&cmd, 0, sizeof(cmd)); in lbs_update_hw_spec() 96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_update_hw_spec() 97 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN); in lbs_update_hw_spec() 98 ret = lbs_cmd_with_response(priv, CMD_GET_HW_SPEC, &cmd); in lbs_update_hw_spec() 102 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo); in lbs_update_hw_spec() 106 priv->fwrelease = le32_to_cpu(cmd.fwrelease); in lbs_update_hw_spec() 115 cmd.permanentaddr, in lbs_update_hw_spec() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | gic_v3_its.c | 106 static inline void its_fixup_cmd(struct its_cmd_block *cmd) in its_fixup_cmd() argument 109 cmd->raw_cmd_le[0] = cpu_to_le64(cmd->raw_cmd[0]); in its_fixup_cmd() 110 cmd->raw_cmd_le[1] = cpu_to_le64(cmd->raw_cmd[1]); in its_fixup_cmd() 111 cmd->raw_cmd_le[2] = cpu_to_le64(cmd->raw_cmd[2]); in its_fixup_cmd() 112 cmd->raw_cmd_le[3] = cpu_to_le64(cmd->raw_cmd[3]); in its_fixup_cmd() 122 static void its_encode_cmd(struct its_cmd_block *cmd, u8 cmd_nr) in its_encode_cmd() argument 124 its_mask_encode(&cmd->raw_cmd[0], cmd_nr, 7, 0); in its_encode_cmd() 127 static void its_encode_devid(struct its_cmd_block *cmd, u32 devid) in its_encode_devid() argument 129 its_mask_encode(&cmd->raw_cmd[0], devid, 63, 32); in its_encode_devid() 132 static void its_encode_event_id(struct its_cmd_block *cmd, u32 id) in its_encode_event_id() argument [all …]
|
| /linux/drivers/cdx/controller/ |
| H A D | mcdi.c | 31 static void cdx_mcdi_cancel_cmd(struct cdx_mcdi *cdx, struct cdx_mcdi_cmd *cmd); 34 struct cdx_mcdi_cmd *cmd, 39 struct cdx_mcdi_cmd *cmd); 41 struct cdx_mcdi_cmd *cmd, 46 struct cdx_mcdi_cmd *cmd, 50 static void _cdx_mcdi_display_error(struct cdx_mcdi *cdx, unsigned int cmd, 53 static bool cdx_cmd_cancelled(struct cdx_mcdi_cmd *cmd) in cdx_cmd_cancelled() argument 55 return cmd->state == MCDI_STATE_RUNNING_CANCELLED; in cdx_cmd_cancelled() 63 static unsigned int cdx_mcdi_cmd_handle(struct cdx_mcdi_cmd *cmd) in cdx_mcdi_cmd_handle() argument 65 return cmd->handle; in cdx_mcdi_cmd_handle() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
| H A D | dcn31_panel_cntl.c | 41 static bool dcn31_query_backlight_info(struct panel_cntl *panel_cntl, union dmub_rb_cmd *cmd) in dcn31_query_backlight_info() argument 49 memset(cmd, 0, sizeof(*cmd)); in dcn31_query_backlight_info() 50 cmd->panel_cntl.header.type = DMUB_CMD__PANEL_CNTL; in dcn31_query_backlight_info() 51 cmd->panel_cntl.header.sub_type = DMUB_CMD__PANEL_CNTL_QUERY_BACKLIGHT_INFO; in dcn31_query_backlight_info() 52 cmd->panel_cntl.header.payload_bytes = sizeof(cmd->panel_cntl.data); in dcn31_query_backlight_info() 53 cmd->panel_cntl.data.pwrseq_inst = dcn31_panel_cntl->base.pwrseq_inst; in dcn31_query_backlight_info() 55 return dc_wake_and_execute_dmub_cmd(dc_dmub_srv->ctx, cmd, DM_DMUB_WAIT_TYPE_WAIT_WITH_REPLY); in dcn31_query_backlight_info() 60 union dmub_rb_cmd cmd; in dcn31_get_16_bit_backlight_from_pwm() local 62 if (!dcn31_query_backlight_info(panel_cntl, &cmd)) in dcn31_get_16_bit_backlight_from_pwm() 65 return cmd.panel_cntl.data.current_backlight; in dcn31_get_16_bit_backlight_from_pwm() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | power.c | 23 struct iwl_beacon_filter_cmd *cmd) in iwl_mvm_beacon_filter_send_cmd() argument 28 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd() 30 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd() 32 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd() 34 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd() 36 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd() 38 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd() 40 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd() 42 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd() 44 le32_to_cpu(cmd->bf_temp_threshold)); in iwl_mvm_beacon_filter_send_cmd() [all …]
|
| /linux/include/linux/ |
| H A D | fcntl.h | 29 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument 30 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument 31 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument 32 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument 33 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument 34 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument 36 #define IS_GETLK32(cmd) (0) argument 37 #define IS_SETLK32(cmd) (0) argument 38 #define IS_SETLKW32(cmd) (0) argument 39 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpni.c | 100 struct fsl_mc_command cmd = { 0 }; in dpni_open() local 106 cmd.header = mc_encode_cmd_header(DPNI_CMDID_OPEN, in dpni_open() 109 cmd_params = (struct dpni_cmd_open *)cmd.params; in dpni_open() 113 err = mc_send_command(mc_io, &cmd); in dpni_open() 118 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 138 struct fsl_mc_command cmd = { 0 }; in dpni_close() local 141 cmd.header = mc_encode_cmd_header(DPNI_CMDID_CLOSE, in dpni_close() 146 return mc_send_command(mc_io, &cmd); in dpni_close() 166 struct fsl_mc_command cmd = { 0 }; in dpni_set_pools() local 171 cmd.header = mc_encode_cmd_header(DPNI_CMDID_SET_POOLS, in dpni_set_pools() [all …]
|
| H A D | dpsw.c | 41 struct fsl_mc_command cmd = { 0 }; in dpsw_open() local 46 cmd.header = mc_encode_cmd_header(DPSW_CMDID_OPEN, in dpsw_open() 49 cmd_params = (struct dpsw_cmd_open *)cmd.params; in dpsw_open() 53 err = mc_send_command(mc_io, &cmd); in dpsw_open() 58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 76 struct fsl_mc_command cmd = { 0 }; in dpsw_close() local 79 cmd.header = mc_encode_cmd_header(DPSW_CMDID_CLOSE, in dpsw_close() 84 return mc_send_command(mc_io, &cmd); in dpsw_close() 97 struct fsl_mc_command cmd = { 0 }; in dpsw_enable() local 100 cmd.header = mc_encode_cmd_header(DPSW_CMDID_ENABLE, in dpsw_enable() [all …]
|
| /linux/include/scsi/ |
| H A D | scsi_cmnd.h | 156 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv() argument 158 return cmd + 1; in scsi_cmd_priv() 161 void scsi_done(struct scsi_cmnd *cmd); 162 void scsi_done_direct(struct scsi_cmnd *cmd); 164 extern void scsi_finish_command(struct scsi_cmnd *cmd); 170 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd); 171 void scsi_free_sgtables(struct scsi_cmnd *cmd); 174 extern int scsi_dma_map(struct scsi_cmnd *cmd); 175 extern void scsi_dma_unmap(struct scsi_cmnd *cmd); 177 static inline int scsi_dma_map(struct scsi_cmnd *cmd) { return -ENOSYS; } in scsi_dma_map() argument [all …]
|
| /linux/drivers/iommu/iommufd/ |
| H A D | ioas.c | 40 struct iommu_ioas_alloc *cmd = ucmd->cmd; in iommufd_ioas_alloc_ioctl() local 44 if (cmd->flags) in iommufd_ioas_alloc_ioctl() 51 cmd->out_ioas_id = ioas->obj.id; in iommufd_ioas_alloc_ioctl() 52 rc = iommufd_ucmd_respond(ucmd, sizeof(*cmd)); in iommufd_ioas_alloc_ioctl() 69 struct iommu_ioas_iova_ranges *cmd = ucmd->cmd; in iommufd_ioas_iova_ranges() local 75 if (cmd->__reserved) in iommufd_ioas_iova_ranges() 78 ioas = iommufd_get_ioas(ucmd->ictx, cmd->ioas_id); in iommufd_ioas_iova_ranges() 83 max_iovas = cmd->num_iovas; in iommufd_ioas_iova_ranges() 84 ranges = u64_to_user_ptr(cmd->allowed_iovas); in iommufd_ioas_iova_ranges() 85 cmd->num_iovas = 0; in iommufd_ioas_iova_ranges() [all …]
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_cmd.c | 31 static void _ft_dump_cmd(struct ft_cmd *cmd, const char *caller) in _ft_dump_cmd() argument 39 se_cmd = &cmd->se_cmd; in _ft_dump_cmd() 41 caller, cmd, cmd->sess, cmd->seq, se_cmd); in _ft_dump_cmd() 44 caller, cmd, se_cmd->t_data_nents, in _ft_dump_cmd() 50 caller, cmd, sg, in _ft_dump_cmd() 53 sp = cmd->seq; in _ft_dump_cmd() 58 caller, cmd, ep->sid, ep->did, ep->oxid, ep->rxid, in _ft_dump_cmd() 63 void ft_dump_cmd(struct ft_cmd *cmd, const char *caller) in ft_dump_cmd() argument 66 _ft_dump_cmd(cmd, caller); in ft_dump_cmd() 69 static void ft_free_cmd(struct ft_cmd *cmd) in ft_free_cmd() argument [all …]
|
| /linux/tools/perf/ |
| H A D | perf.c | 16 #include <subcmd/exec-cmd.h> 46 const char *cmd; member 101 const char *cmd; member 108 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 120 static int check_pager_config(const char *cmd) in check_pager_config() argument 124 c.cmd = cmd; in check_pager_config() 144 static int check_browser_config(const char *cmd) in check_browser_config() argument 148 c.cmd = cmd; in check_browser_config() 202 const char *cmd = (*argv)[0]; handle_options() local 383 const char *cmd = argv[0]; handle_internal_command() local 404 char *cmd; execv_dashed_external() local 458 const char *cmd; main() local [all...] |