Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 48) sorted by relevance

12

/spdk/lib/ftl/mngt/
H A Dftl_mngt_startup.c47 .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 Dftl_mngt_shutdown.c20 .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 Dftl_mngt.c24 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 Dftl_mngt_recovery.c881 .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 Dftl_mngt_md.c327 .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 Dftl_mngt_upgrade.c66 .action = region_upgrade,
70 .action = ftl_mngt_persist_superblock,
134 .action = layout_upgrade,
H A Dftl_mngt_self_test.c187 .action = ftl_mngt_test_prepare,
192 .action = ftl_mngt_test_valid_map
196 .action = ftl_mngt_test_cleanup
H A Dftl_mngt_misc.c440 .action = ftl_mngt_set_property_decode,
445 .action = ftl_mngt_set_property,
450 .action = ftl_mngt_set_property_cleanup,
H A Dftl_mngt.h78 ftl_mngt_fn action; member
/spdk/module/bdev/ftl/
H A Dbdev_ftl.c55 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 Dpci_event.c101 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 Dftl_mngt_ut.c159 .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 Dfuzz_rpc.py61 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 Dscsi_pr.c235 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 Dsync_dev_uevents.sh16 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 Drpc.py47 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 Diostat.py392 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 Dut.c19 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 Dinteractive.sh145 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 Dpci_event_ut.c63 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 Dmemory_ut.c37 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 Dreserve.c153 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 Dinterrupt_plugin.py17 p.add_argument('-d', '--disable-interrupt', dest='disable_interrupt', action='store_true',
/spdk/test/nvme/
H A Dnvme_rpc_timeouts.sh34 $rpc_py bdev_nvme_set_options --timeout-us=12000000 --timeout-admin-us=24000000 --action-on-timeout…
/spdk/lib/bdev/
H A Dbdev_zone.c94 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()

12