Section 2 of the manual describes the Linux system calls. A system call is an entry point into the Linux kernel. Usually, system calls are not invoked directly: instead, most system calls have corresponding C library wrapper functions which perform the steps required (e.g., trapping to kernel mode) in order to invoke the system call. Thus, making a system call looks the same as invoking a normal library function.
Page 12
- nvme_scan_ctrl
- Scan on a controller
- nvme_scan_ctrl_namespace_paths
- Scan for namespace paths in a controller
- nvme_scan_ctrl_namespaces
- Scan for namespaces in a controller
- nvme_scan_ctrls
- Scan for controllers
- nvme_scan_namespace
- scan namespace based on sysfs name
- nvme_scan_subsystem_namespaces
- Scan for namespaces in a subsystem
- nvme_scan_subsystems
- Scan for subsystems
- nvme_scan_topology
- Scan NVMe topology and apply filter
- nvme_secondary_ctrl
- struct nvme_secondary_ctrl - Secondary Controller Entry
- nvme_secondary_ctrl_list
- struct nvme_secondary_ctrl_list - Secondary Controller List
- nvme_security_receive
- Security Receive command
- nvme_security_send
- Security Send command
- nvme_self_test_log
- struct nvme_self_test_log - Device Self-test (Log Identifier 06h)
- nvme_set_feature_event
- struct nvme_set_feature_event - Set Feature Event Data
- nvme_set_features
- Set a feature attribute
- nvme_set_features_arbitration
- Set arbitration features
- nvme_set_features_async_event
- Set asynchronous event feature
- nvme_set_features_auto_pst
- Set autonomous power state feature
- nvme_set_features_data
- Helper function for @nvme_set_features()
- nvme_set_features_endurance_evt_cfg
- Set endurance event config feature
- nvme_set_features_err_recovery
- Set error recovery feature
- nvme_set_features_hctm
- Set thermal management feature
- nvme_set_features_host_behavior
- Set host behavior feature
- nvme_set_features_host_id
- Set enable extended host identifiers feature
- nvme_set_features_irq_coalesce
- Set IRQ coalesce feature
- nvme_set_features_irq_config
- Set IRQ config feature
- nvme_set_features_lba_range
- Set LBA range feature
- nvme_set_features_lba_sts_interval
- Set LBA status information feature
- nvme_set_features_nopsc
- Set non-operational power state feature
- nvme_set_features_plm_config
- Set predictable latency feature
- nvme_set_features_plm_window
- Set window select feature
- nvme_set_features_power_mgmt
- Set power management feature
- nvme_set_features_resv_mask
- Set reservation notification mask feature
- nvme_set_features_resv_persist
- Set persist through power loss feature
- nvme_set_features_rrl
- Set read recovery level feature
- nvme_set_features_sanitize
- Set sanitize feature
- nvme_set_features_simple
- Helper function for @nvme_set_features()
- nvme_set_features_sw_progress
- Set pre-boot software load count feature
- nvme_set_features_temp_thresh
- Set temperature threshold feature
- nvme_set_features_timestamp
- Set timestamp feature
- nvme_set_features_volatile_wc
- Set volatile write cache feature
- nvme_set_features_write_atomic
- Set write atomic feature
- nvme_set_features_write_protect
- Set write protect feature
- nvme_set_property
- Set controller property
- nvme_smart_crit
- enum nvme_smart_crit - Critical Warning
- nvme_smart_egcw
- enum nvme_smart_egcw - Endurance Group Critical Warning Summary
- nvme_smart_log
- struct nvme_smart_log - SMART / Health Information Log (Log Identifier 02h)
- nvme_st_code
- enum nvme_st_code - Self-test Code value
- nvme_st_curr_op
- enum nvme_st_curr_op - Current Device Self-Test Operation
- nvme_st_result
- struct nvme_st_result - Self-test Result
- nvme_st_valid_diag_info
- enum nvme_st_valid_diag_info - Valid Diagnostic Information
- nvme_status_code
- Returns the NVMe Status Code
- nvme_status_code_type
- Returns the NVMe Status Code Type
- nvme_status_equals
- helper to check a status against a type and value
- nvme_status_field
- enum nvme_status_field - Defines all parts of the nvme status field: status code, status code type, and additional flags
- nvme_status_get_type
- extract the type from a nvme_* return value
- nvme_status_get_value
- extract the status value from a nvme_* return value
- nvme_status_result
- enum nvme_status_result - Result of the device self-test operation
- nvme_status_to_errno
- Converts nvme return status to errno
- nvme_status_to_string
- Returns string describing nvme return status
- nvme_status_type
- enum nvme_status_type - type encoding for NVMe return values, when represented as an int
- nvme_streams_directive_params
- struct nvme_streams_directive_params - Streams Directive - Return Parameters Data Structure
- nvme_streams_directive_status
- struct nvme_streams_directive_status - Streams Directive - Get Status Data Structure
- nvme_submit_admin_passthru
- Submit an nvme passthrough admin command
- nvme_submit_admin_passthru64
- Submit a 64-bit nvme passthrough admin command
- nvme_submit_io_passthru
- Submit an nvme passthrough command
- nvme_submit_io_passthru64
- Submit a 64-bit nvme passthrough command
- nvme_subsys_filter
- Filter for subsystems
- nvme_subsys_type
- enum nvme_subsys_type - Type of the NVM subsystem
- nvme_subsystem_first_ctrl
- First ctrl iterator
- nvme_subsystem_first_ns
- Start namespace iterator
- nvme_subsystem_for_each_ctrl
- Traverse controllers
- nvme_subsystem_for_each_ctrl_safe
- Traverse controllers
- nvme_subsystem_for_each_ns
- Traverse namespaces
- nvme_subsystem_for_each_ns_safe
- Traverse namespaces
- nvme_subsystem_get_host
- Returns nvme_host_t object
- nvme_subsystem_get_name
- sysfs name of an nvme_subsystem_t object
- nvme_subsystem_get_nqn
- Retrieve NQN from subsystem
- nvme_subsystem_get_sysfs_dir
- sysfs directory of an nvme_subsystem_t object
- nvme_subsystem_get_type
- Returns the type of a subsystem
- nvme_subsystem_lookup_namespace
- lookup namespace by NSID
- nvme_subsystem_next_ctrl
- Next ctrl iterator
- nvme_subsystem_next_ns
- Next namespace iterator
- nvme_subsystem_reset
- Initiate a subsystem reset
- nvme_supported_cap_config_list_log
- struct nvme_supported_cap_config_list_log - Supported Capacity Configuration list log page
- nvme_supported_log_pages
- struct nvme_supported_log_pages - Supported Log Pages - Log
- nvme_telemetry_da
- enum nvme_telemetry_da - Telemetry Log Data Area
- nvme_telemetry_log
- struct nvme_telemetry_log - Retrieve internal data specific to the manufacturer
- nvme_thermal_exc_event
- struct nvme_thermal_exc_event - Thermal Excursion Event Data
- nvme_time_stamp_change_event
- struct nvme_time_stamp_change_event - Timestamp Change Event
- nvme_timestamp
- struct nvme_timestamp - Timestamp - Data Structure for Get Features
- nvme_unlink_ctrl
- Unlink controller
- nvme_update_config
- Update JSON configuration
- nvme_uring_cmd
- struct nvme_uring_cmd - nvme uring command structure
- nvme_verify
- Send an nvme verify command
- nvme_version
- enum nvme_version - Selector for version to be returned by @nvme_get_version
- nvme_virt_mgmt_act
- enum nvme_virt_mgmt_act - Virtualization Management - Action
- nvme_virt_mgmt_rt
- enum nvme_virt_mgmt_rt - Virtualization Management - Resource Type
- nvme_virtual_mgmt
- Virtualization resource management
- nvme_write
- Submit an nvme user write command