| /spdk/lib/ftl/mngt/ |
| H A D | ftl_mngt_startup.c | 47 .action = ftl_mngt_check_conf, 51 .action = ftl_mngt_open_base_bdev, 56 .action = ftl_mngt_open_cache_bdev, 61 .action = ftl_mngt_superblock_init, 66 .action = ftl_mngt_init_mem_pools, 71 .action = ftl_mngt_init_bands, 76 .action = ftl_mngt_register_io_device, 81 .action = ftl_mngt_init_io_channel, 86 .action = ftl_mngt_decorate_bands 90 .action [all...] |
| H A D | ftl_mngt_shutdown.c | 20 .action = ftl_mngt_deinit_io_channel 24 .action = ftl_mngt_unregister_io_device 28 .action = ftl_mngt_stop_core_poller 32 .action = ftl_mngt_persist_l2p 36 .action = ftl_mngt_trim_l2p, 40 .action = ftl_mngt_persist_md 44 .action = ftl_mngt_set_clean 48 .action = ftl_mngt_dump_stats 52 .action = ftl_mngt_deinit_l2p 56 .action = ftl_mngt_p2l_deinit_ckpt [all …]
|
| H A D | ftl_mngt.c | 24 struct ftl_mngt_step_status action; member 93 TAILQ_INSERT_TAIL(&mngt->action_queue_todo, step, action.entry); in init_step() 108 TAILQ_CONCAT(&steps, &mngt->action_queue_todo, action.entry); in free_mngt() 109 TAILQ_CONCAT(&steps, &mngt->action_queue_done, action.entry); in free_mngt() 113 TAILQ_REMOVE(&steps, step, action.entry); in free_mngt() 202 while (sdesc->action) { in _ftl_mngt_process_execute() 245 while (sdesc->action) { in ftl_mngt_process_rollback() 259 TAILQ_FOREACH(step, &mngt->action_queue_todo, action.entry) { in ftl_mngt_process_rollback() 260 step->action.silent = true; in ftl_mngt_process_rollback() 329 get_current_step(mngt)->action.silent = true; in ftl_mngt_skip_step() [all …]
|
| H A D | ftl_mngt_recovery.c | 881 .action = ftl_mngt_recover_trim_md, 885 .action = ftl_mngt_recover_trim_log, 889 .action = ftl_mngt_recover_trim_md_persist, 893 .action = ftl_mngt_recover_trim_log_clear, 904 .action = ftl_mngt_complete_trim, 908 .action = ftl_mngt_recover_trim_persist, 912 .action = ftl_mngt_recover_trim_md_persist, 916 .action = ftl_mngt_recover_trim_log_clear, 959 .action = ftl_mngt_recovery_iteration_load_l2p, 963 .action = ftl_mngt_recovery_iteration_init_seq_ids, [all …]
|
| H A D | ftl_mngt_md.c | 327 .action = ftl_mngt_persist_nv_cache_metadata, 331 .action = ftl_mngt_persist_vld_map_metadata, 335 .action = ftl_mngt_persist_p2l_metadata, 340 .action = ftl_mngt_persist_band_info_metadata, 344 .action = ftl_mngt_persist_trim_metadata, 348 .action = ftl_mngt_persist_super_block, 369 .action = ftl_mngt_fast_persist_nv_cache_metadata, 532 .action = ftl_mngt_load_sb 536 .action = ftl_mngt_validate_sb 550 .action [all...] |
| H A D | ftl_mngt_upgrade.c | 66 .action = region_upgrade, 70 .action = ftl_mngt_persist_superblock, 134 .action = layout_upgrade,
|
| H A D | ftl_mngt_self_test.c | 187 .action = ftl_mngt_test_prepare, 192 .action = ftl_mngt_test_valid_map 196 .action = ftl_mngt_test_cleanup
|
| H A D | ftl_mngt_misc.c | 440 .action = ftl_mngt_set_property_decode, 445 .action = ftl_mngt_set_property, 450 .action = ftl_mngt_set_property_cleanup,
|
| H A D | ftl_mngt.h | 78 ftl_mngt_fn action; member
|
| /spdk/module/bdev/ftl/ |
| H A D | bdev_ftl.c | 55 static void bdev_ftl_action_finish(struct bdev_ftl_action *action); 56 static void *bdev_ftl_action_ctx(struct bdev_ftl_action *action, size_t size); 504 struct bdev_ftl_action *action; in bdev_ftl_unmap() local 506 action = bdev_ftl_action_start(name, 0, cb_fn, cb_arg); in bdev_ftl_unmap() 507 if (!action) { in bdev_ftl_unmap() 512 action->rc = spdk_ftl_unmap(action->ftl_bdev_dev->dev, NULL, NULL, lba, num_blocks, in bdev_ftl_unmap() 513 bdev_ftl_action_finish_cb, action); in bdev_ftl_unmap() 514 if (action->rc) { in bdev_ftl_unmap() 515 bdev_ftl_action_finish(action); in bdev_ftl_unmap() 522 struct bdev_ftl_action *action = cb_arg; in bdev_ftl_get_stats_cb() local [all …]
|
| /spdk/lib/env_dpdk/ |
| H A D | pci_event.c | 101 char action[SPDK_UEVENT_MSG_LEN]; in parse_subsystem_event() local 109 memset(action, 0, SPDK_UEVENT_MSG_LEN); in parse_subsystem_event() 120 snprintf(action, sizeof(action), "%s", buf); in parse_subsystem_event() 137 if (!strncmp(action, "remove", 6)) { in parse_subsystem_event() 138 event->action = SPDK_UEVENT_REMOVE; in parse_subsystem_event() 139 } else if (!strncmp(action, "add", 3)) { in parse_subsystem_event() 141 event->action = SPDK_UEVENT_ADD; in parse_subsystem_event() 170 if (!strncmp(action, "bind", 4)) { in parse_subsystem_event() 172 event->action = SPDK_UEVENT_ADD; in parse_subsystem_event()
|
| /spdk/test/unit/lib/ftl/ftl_mngt/ |
| H A D | ftl_mngt_ut.c | 159 .action = fn_1_1_action, 164 .action = fn_1_2_action 168 .action = fn_1_3_action, 255 .action = fn_2_1_action, 260 .action = fn_2_2_action, 623 .action = fn_3_1_action, 629 .action = fn_3_2_action, 731 .action = fn_4_1_action, 736 .action = fn_4_2_action, 741 .action = fn_4_3_action, [all …]
|
| /spdk/test/app/fuzz/common/ |
| H A D | fuzz_rpc.py | 61 parser.add_argument('-v', dest='verbose', action='store_const', const="INFO", 79 …'-b', '--is-blk', help='The specified socket corresponds to a vhost-blk dev.', action='store_true') 80 …bogus-buffer', help='Pass bogus buffer addresses with requests when fuzzing.', action='store_true') 81 …-buffer', help='Pass valid buffers when fuzzing. overrides use-bogus-buffer.', action='store_true') 82 …, '--test-scsi-tmf', help='for a scsi device, test scsi management commands.', action='store_true') 83 …'-l', '--valid-lun', help='for a scsi device, test only using valid lun IDs.', action='store_true')
|
| /spdk/lib/scsi/ |
| H A D | scsi_pr.c | 235 enum spdk_scsi_pr_out_service_action_code action, in scsi_pr_out_register() argument 258 if (rkey && (action == SPDK_SCSI_PR_OUT_REGISTER)) { in scsi_pr_out_register() 277 if (rkey != reg->rkey && action == SPDK_SCSI_PR_OUT_REGISTER) { in scsi_pr_out_register() 413 enum spdk_scsi_pr_out_service_action_code action, in scsi_pr_out_preempt() argument 423 rkey, sa_rkey, action, rtype, lun->reservation.rtype); in scsi_pr_out_preempt() 511 enum spdk_scsi_pr_out_service_action_code action; in scsi_pr_out() local 516 action = cdb[1] & 0x0f; in scsi_pr_out() 526 switch (action) { in scsi_pr_out() 529 rc = scsi_pr_out_register(task, action, rkey, sa_rkey, in scsi_pr_out() 552 rc = scsi_pr_out_preempt(task, action, rtype, rkey, sa_rkey); in scsi_pr_out() [all …]
|
| /spdk/scripts/ |
| H A D | sync_dev_uevents.sh | 16 UEVENT_ACTION - uevent action to match on - ${UEVENT_ACTION:-add} 94 action=${UEVENT_ACTION:-add} 97 [[ $action == add ]] && filter_devs 130 if [[ $k == ACTION && $v == "$action" ]]; then
|
| H A D | rpc.py | 47 parser.add_argument('-v', dest='verbose', action='store_const', const="INFO", 51 parser.add_argument('--dry-run', dest='dry_run', action='store_true', help="Display request and exit") 53 parser.add_argument('--go-client', dest='go_client', action='store_true', help="Use Go client") 55 parser.add_argument('--server', dest='is_server', action='store_true', 84 p.add_argument('-c', '--current', help='Get list of RPC methods only callable in the current state.', action='store_true') 85 p.add_argument('-i', '--include-aliases', help='include RPC aliases', action='store_true') 112 p.add_argument('-i', '--include-aliases', help='include RPC aliases', action='store_true') 157 p.add_argument('-e', '--enable', action='store_true', help='Enable context switch monitoring') 158 p.add_argument('-d', '--disable', action='store_true', help='Disable context switch monitoring') 239 group.add_argument('-e', '--enable-auto-examine', dest='bdev_auto_examine', help='Allow to auto examine', action [all...] |
| H A D | iostat.py | 392 action='store_true', help="Only display cpu status", 396 action='store_true', help="Only display Blockdev io stats", 400 action='store_true', help="Display drive stats in KiB", 404 action='store_true', help="Display drive stats in MiB", 408 action='store_true', help='Use uptime or spdk ticks(default) as \ 438 parser.add_argument('-v', dest='verbose', action='store_const', const="INFO", 442 action='store_true', help="Display extended statistics.",
|
| /spdk/lib/ut/ |
| H A D | ut.c | 19 enum ut_action action; member 65 config->action = UT_ACTION_RUN_TESTS; in parse_args() 99 config->action = UT_ACTION_PRINT_HELP; in parse_args() 102 config->action = UT_ACTION_LIST_TESTS; in parse_args() 212 switch (config.action) { in spdk_ut_run_tests()
|
| /spdk/scripts/common/setup/ |
| H A D | interactive.sh | 145 local action=${1:-0} bdf 152 local -n action_ref=action_${action} 153 local -n action_ref_rev=action_$((!action)) 155 while read -rp "(${!am[action]:-BDF})> " bdf; do 166 eval "${am[action]}='${!action_ref[*]}'" 167 eval "${am[!action]}='${!action_ref_rev[*]}'" 170 eval "${am[action]}='${!action_ref[*]}'" 201 local action dev _type 202 while read -r action _ dev _type; do 203 case "${action,,}" i [all...] |
| /spdk/test/unit/lib/env_dpdk/pci_event.c/ |
| H A D | pci_event_ut.c | 63 CU_ASSERT(event.action == SPDK_UEVENT_ADD); in test_pci_parse_event() 73 CU_ASSERT(event.action == SPDK_UEVENT_REMOVE); in test_pci_parse_event() 82 CU_ASSERT(event.action == SPDK_UEVENT_ADD); in test_pci_parse_event()
|
| /spdk/test/env/memory/ |
| H A D | memory_ut.c | 37 enum spdk_mem_map_notify_action action, in test_mem_map_notify() argument 54 switch (action) { in test_mem_map_notify() 74 enum spdk_mem_map_notify_action action, void *vaddr, size_t size) in test_mem_map_notify_fail() argument 80 switch (action) { in test_mem_map_notify_fail() 109 enum spdk_mem_map_notify_action action, void *vaddr, size_t size) in test_mem_map_notify_checklen() argument 119 switch (action) { in test_mem_map_notify_checklen()
|
| /spdk/test/nvme/reserve/ |
| H A D | reserve.c | 153 enum spdk_nvme_reservation_register_action action; in reservation_ns_register() local 161 action = SPDK_NVME_RESERVE_REGISTER_KEY; in reservation_ns_register() 165 action = SPDK_NVME_RESERVE_UNREGISTER_KEY; in reservation_ns_register() 172 action, in reservation_ns_register()
|
| /spdk/examples/interrupt_tgt/ |
| H A D | interrupt_plugin.py | 17 p.add_argument('-d', '--disable-interrupt', dest='disable_interrupt', action='store_true',
|
| /spdk/test/nvme/ |
| H A D | nvme_rpc_timeouts.sh | 34 $rpc_py bdev_nvme_set_options --timeout-us=12000000 --timeout-admin-us=24000000 --action-on-timeout…
|
| /spdk/lib/bdev/ |
| H A D | bdev_zone.c | 94 uint64_t zone_id, enum spdk_bdev_zone_action action, in spdk_bdev_zone_management() argument 109 bdev_io->u.zone_mgmt.zone_action = action; in spdk_bdev_zone_management()
|