📦 linux-manual
82568 pages · page 221 of 413
N (continued)
- NE specific error codes(9)✨
- NE_ADD_VCPU(9)The command is used to set a vCPU for an enclave. The vCPU can be auto-chosen from the NE CPU pool or it can be set by the caller, with the note that it needs to be available in the NE CPU pool…✨
- ne_add_vcpu(9)Add a vCPU to the given enclave.✨
- ne_add_vcpu_ioctl(9)Add a vCPU to the slot associated with the current enclave.✨
- ne_alloc_user_mem_region(9)Allocate a user space memory region for an enclave.✨
- ne_check_cpu_in_cpu_pool(9)Check if the given vCPU is in the available CPUs from the pool.✨
- ne_check_enclaves_created(9)Verify if at least one enclave has been created.✨
- NE_COMMAND(9)(4 bytes) Register to notify the device what command was requested (Write-Only).✨
- NE_CPUS_SIZE(9)Size for max 128 CPUs, for now, in a cpu-list string, comma separated. The NE CPU pool includes CPUs from a single NUMA node.✨
- NE_CREATE_VM(9)The command is used to create a slot that is associated with an enclave VM. The generated unique slot id is an output parameter. The ioctl can be invoked on the /dev/nitro_enclaves fd, before…✨
- ne_create_vm(9)Create a slot for the enclave VM.✨
- ne_create_vm_ioctl(9)Alloc slot to be associated with an enclave. Create enclave file descriptor to be further used for enclave resources handling e.g. memory regions and CPUs.✨
- NE_DEFAULT_MEMORY_REGION(9)Memory region for enclave general usage.✨
- NE_DEFAULT_NR_MEM_REGIONS(9)Default number of memory regions of 2 MiB set for an enclave.✨
- NE_DEFAULT_NR_VCPUS(9)Default number of vCPUs set for an enclave.✨
- NE_DEFAULT_TIMEOUT_MSECS(9)Default timeout to wait for a reply from the NE PCI device.✨
- NE_DEV_NAME(9)Nitro Enclaves (NE) misc device that provides the ioctl interface.✨
- ne_do_request(9)Submit command request to the PCI device based on the command type and retrieve the associated reply.✨
- ne_donated_cpu(9)Check if the provided CPU is already used by the enclave.✨
- NE_EIF_IMAGE(9)Enclave Image Format (EIF)✨
- NE_EIF_LOAD_OFFSET(9)The offset where to copy the Enclave Image Format (EIF) image in enclave memory.✨
- NE_ENABLE(9)(1 byte) Register to notify the device that the driver is using it (Read/Write).✨
- NE_ENCLAVE_DEBUG_MODE(9)Start enclave in debug mode.✨
- ne_enclave_ioctl(9)Ioctl function provided by the enclave file.✨
- ne_enclave_poll(9)Poll functionality used for enclave out-of-band events.✨
- NE_ENCLAVE_PRODUCTION_MODE(9)Start enclave in production mode.✨
- ne_enclave_release(9)Release function provided by the enclave file.✨
- ne_enclave_remove_all_mem_region_entries(9)Remove all memory region entries from the enclave data structure.✨
- ne_enclave_remove_all_vcpu_id_entries(9)Remove all vCPU id entries from the enclave data structure.✨
- NE_ERR_ENCLAVE_MEM_MIN_SIZE(9)The enclave memory size is lower than the minimum supported.✨
- NE_ERR_FULL_CORES_NOT_USED(9)The command to start an enclave is triggered and full CPU cores are not set.✨
- NE_ERR_INVALID_ENCLAVE_CID(9)The provided enclave CID is invalid, either being a well-known value or the CID of the parent / primary VM.✨
- NE_ERR_INVALID_FLAG_VALUE(9)The provided flag value is invalid.✨
- NE_ERR_INVALID_MEM_REGION_ADDR(9)The user space memory region address range is invalid.✨
- NE_ERR_INVALID_MEM_REGION_SIZE(9)The user space memory region size is not multiple of 2 MiB.✨
- NE_ERR_INVALID_PAGE_SIZE(9)The user space memory region is not backed by pages multiple of 2 MiB.✨
- NE_ERR_INVALID_VCPU(9)The provided vCPU is out of range of the available CPUs.✨
- NE_ERR_MEM_DIFFERENT_NUMA_NODE(9)The user space memory region is backed by pages from different NUMA nodes than the CPUs.✨
- NE_ERR_MEM_MAX_REGIONS(9)The supported max memory regions per enclaves has been reached.✨
- NE_ERR_MEM_NOT_HUGE_PAGE(9)The user space memory region is not backed by contiguous physical huge page(s).✨
- NE_ERR_MEM_REGION_ALREADY_USED(9)The user space memory region is already used.✨
- NE_ERR_NO_CPUS_AVAIL_IN_POOL(9)The command to create an enclave is triggered and no CPUs are available in the pool.✨
- NE_ERR_NO_MEM_REGIONS_ADDED(9)The command to start an enclave is triggered and no memory regions are added.✨
- NE_ERR_NO_VCPUS_ADDED(9)The command to start an enclave is triggered and no vCPUs are added.✨
- NE_ERR_NOT_IN_INIT_STATE(9)The enclave is not in init state when setting resources or triggering start.✨
- NE_ERR_UNALIGNED_MEM_REGION_ADDR(9)The user space memory region address is not aligned.✨
- NE_ERR_VCPU_ALREADY_USED(9)The provided vCPU is already used.✨
- NE_ERR_VCPU_INVALID_CPU_CORE(9)The core id of the provided vCPU is invalid or out of range of the NE CPU pool.✨
- NE_ERR_VCPU_NOT_IN_CPU_POOL(9)The provided vCPU is not available in the NE CPU pool.✨
- ne_event_handler(9)Interrupt handler for PCI device out-of-band events. This interrupt does not supply any data in the MMIO region. It notifies a change in the state of any of the launched enclaves.✨
- ne_event_work_handler(9)Work queue handler for notifying enclaves on a state change received by the event interrupt handler.✨
- NE_EVTCNT(9)(4 bytes) Register to notify the driver that a reply or a device event is available (Read-Only): - Lower half - command reply counter - Higher half - out-of-band device event counter✨
- ne_free_mem_regions(9)Unmap all the user space memory regions that were set aside for the enclave.✨
- ne_get_cpu_from_cpu_pool(9)Get a CPU from the NE CPU pool, either from the remaining sibling(s) of a CPU core or the first sibling of a new CPU core.✨
- NE_GET_IMAGE_LOAD_INFO(9)The command is used to get information needed for in-memory enclave image loading e.g. offset in enclave memory to start placing the enclave image. The image load info is an input / output…✨
- ne_get_unused_core_from_cpu_pool(9)Get the id of a full core from the NE CPU pool.✨
- ne_get_vcpu_core_from_cpu_pool(9)Get from the NE CPU pool the id of the core associated with the provided vCPU.✨
- NE_IMAGE_LOAD_HEARTBEAT_CID(9)Vsock CID for enclave image loading heartbeat logic.✨
- NE_IMAGE_LOAD_HEARTBEAT_PORT(9)Vsock port for enclave image loading heartbeat logic.✨
- NE_IMAGE_LOAD_HEARTBEAT_VALUE(9)Heartbeat value for enclave image loading.✨
- ne_ioctl(9)Ioctl function provided by the NE misc device.✨
- ne_load_enclave_image(9)Place the enclave image in the enclave memory.✨
- ne_merge_phys_contig_memory_regions(9)Add a memory region and merge the adjacent regions if they are physically contiguous.✨
- NE_MIN_ENCLAVE_MEM_SIZE(9)The minimum memory size an enclave can be launched with.✨
- NE_MIN_MEM_REGION_SIZE(9)Minimum size of a memory region - 2 MiB.✨
- NE_PARENT_VM_CID(9)The CID for the vsock device of the primary / parent VM.✨
- ne_pci_dev_disable(9)Disable the PCI device.✨
- ne_pci_dev_enable(9)Select the PCI device version and enable it.✨
- ne_pci_dev_remove_enclave_entry(9)Remove the enclave entry from the data structure that is part of the NE PCI device private data.✨
- ne_pci_probe(9)Probe function for the NE PCI device.✨
- ne_pci_remove(9)Remove function for the NE PCI device.✨
- ne_pci_shutdown(9)Shutdown function for the NE PCI device.✨
- ne_poll_enclave_fd(9)Thread function for polling the enclave fd.✨
- NE_POLL_WAIT_TIME(9)Timeout in seconds for each poll event.✨
- NE_POLL_WAIT_TIME_MS(9)Timeout in milliseconds for each poll event.✨
- NE_RECV_DATA(9)(240 bytes) Buffer for receiving the command reply payload (Read-Only).✨
- NE_RECV_DATA_SIZE(9)Size of the receive buffer, in bytes.✨
- ne_reply_handler(9)Interrupt handler for retrieving a reply matching a request sent to the PCI device for enclave lifetime management.✨
- ne_retrieve_reply(9)Retrieve reply from the PCI device.✨
- ne_sanity_check_phys_mem_region(9)Sanity check the start address and the size of a physical memory region.✨
- ne_sanity_check_user_mem_region(9)Sanity check the user space memory region received during the set user memory region ioctl call.✨
- ne_sanity_check_user_mem_region_page(9)Sanity check a page from the user space memory region received during the set user memory region ioctl call.✨
- NE_SEND_DATA(9)(240 bytes) Buffer for sending the command request payload (Read/Write).✨
- NE_SEND_DATA_SIZE(9)Size of the send buffer, in bytes.✨
- ne_set_enclave_threads_per_core(9)Set the threads of the provided core in the enclave data structure.✨
- ne_set_kernel_param(9)Set the NE CPU pool value via the NE kernel parameter.✨
- ne_set_user_mem_region(9)Set a user space memory region for the given enclave.✨
- NE_SET_USER_MEMORY_REGION(9)The command is used to set a memory region for an enclave, given the allocated memory from the userspace. Enclave memory needs to be from the same NUMA node as the enclave CPUs. The user memory…✨
- ne_set_user_memory_region_ioctl(9)Add user space memory region to the slot associated with the current enclave.✨
- ne_setup_cpu_pool(9)Set the NE CPU pool after handling sanity checks such as not sharing CPU cores with the primary / parent VM or not using CPU 0, which should remain available for the primary / parent VM. Offline…✨
- ne_setup_msix(9)Setup MSI-X vectors for the PCI device.✨
- NE_SLEEP_TIME(9)Amount of time in seconds for the process to keep the enclave alive.✨
- NE_START_ENCLAVE(9)The command is used to trigger enclave start after the enclave resources, such as memory and CPU, have been set. The enclave start info is an input / output parameter. It includes info provided by…✨
- ne_start_enclave(9)Start the given enclave.✨
- ne_start_enclave_check_booted(9)Start the enclave and wait for a heartbeat from it, on a newly created vsock channel, to check it has booted.✨
- ne_start_enclave_ioctl(9)Trigger enclave start after the enclave resources, such as memory and CPU, have been set.✨
- ne_submit_request(9)Submit command request to the PCI device based on the command type.✨
- ne_teardown_cpu_pool(9)Online the CPUs from the NE CPU pool and cleanup the CPU pool.✨
- ne_teardown_msix(9)Teardown MSI-X vectors for the PCI device.✨
- NE_VEC_EVENT(9)MSI-X vector used for out-of-band events e.g. enclave crash.✨
- NE_VEC_REPLY(9)MSI-X vector used for command reply notification.✨
- NE_VERSION(9)(2 bytes) Register to select the device run-time version (Read/Write).✨
- ne_wait_for_reply(9)Wait for a reply of a PCI device command.✨
- nearest_node_nodemask(9)Find the node in @mask at the nearest distance from @node.✨
- need_seqretry(9)validate seqlock_t "locking or lockless" read section✨
- need_skb_unmap(9)does the platform need unmapping of sk_buffs?✨
- need_wear_leveling(9)checks whether to trigger a wear leveling work. UBI fetches free PEB from wl_pool, we check free PEBs from both 'wl_pool' and 'ubi->free', because free PEB in 'ubi->free' tree maybe moved into…✨
- need_write_all(9)determine if the LPT area is running out of free space.✨
- Neighbor Awareness Networking (NAN)(9)✨
- net_access(9)✨
- net_dim(9)main DIM algorithm entry point✨
- net_dim_free_irq_moder(9)free fields for irq moderation✨
- net_dim_get_def_rx_moderation(9)provide the default RX moderation✨
- net_dim_get_def_tx_moderation(9)provide the default TX moderation✨
- net_dim_get_rx_irq_moder(9)get DIM rx results based on profile_ix✨
- net_dim_get_rx_moderation(9)provide a CQ moderation object for the given RX profile✨
- net_dim_get_tx_irq_moder(9)get DIM tx results based on profile_ix✨
- net_dim_get_tx_moderation(9)provide a CQ moderation object for the given TX profile✨
- net_dim_init_irq_moder(9)collect information to initialize irq moderation✨
- net_dim_set_rx_mode(9)set DIM rx cq mode✨
- net_dim_set_tx_mode(9)set DIM tx cq mode✨
- net_dim_setting(9)initialize DIM's cq mode and schedule worker✨
- net_dim_work_cancel(9)synchronously cancel dim's worker✨
- net_failover_create(9)Create and register a failover instance✨
- net_failover_destroy(9)Destroy a failover instance✨
- net_mp_netmem_place_in_cache(9)give a netmem to a page pool✨
- net_ns_barrier(9)wait until concurrent net_cleanup_work is done✨
- net_ns_get_ownership(9)get sysfs ownership data for @net✨
- net_test_phy_loopback_tcp_bad_csum(9)PHY loopback test with a deliberately corrupted TCP checksum✨
- netcell_init_one(9)Register Netcell ATA PCI device with kernel services✨
- netconsole_write(9)Generic function to send a msg to all targets✨
- netdev2adap(9)return the adapter structure associated with a net_device✨
- netdev2pinfo(9)return the port_info structure associated with a net_device✨
- netdev_alloc_frag(9)allocate a page fragment✨
- netdev_alloc_skb(9)allocate an skbuff for rx on a specific device✨
- netdev_bonding_info_change(9)Dispatch event about slave change✨
- netdev_boot_base(9)get address from boot time settings✨
- netdev_boot_setup_add(9)add new setup entry✨
- netdev_boot_setup_check(9)check boot time settings✨
- netdev_cap_txqueue(9)check if selected tx queue exceeds device queues✨
- netdev_change_features(9)recalculate device features✨
- netdev_change_proto_down_reason_locked(9)proto down reason✨
- netdev_close(9)close network device✨
- netdev_completed_queue(9)report bytes and packets completed by device✨
- netdev_compute_master_upper_features(9)compute feature from lowers✨
- netdev_drivername(9)network driver for the device✨
- netdev_features_change(9)device changes features✨
- netdev_from_priv(9)get network device from priv✨
- netdev_get_by_flags_rcu(9)find any device with given flags✨
- netdev_get_by_index(9)find a device by its ifindex✨
- netdev_get_by_index_lock(9)find a device by its ifindex✨
- netdev_get_by_name(9)find a device by its name✨
- netdev_get_drvinfo(9)get network driver information✨
- netdev_get_eeprom(9)get EEPROM data✨
- netdev_get_eeprom_len(9)get EEPROM length✨
- netdev_get_ethtool_stats(9)get network device statistics✨
- netdev_get_link(9)get network device link status✨
- netdev_get_link_ksettings(9)get network device settings✨
- netdev_get_msglevel(9)get debug message level✨
- netdev_get_name(9)get a netdevice name, knowing its ifindex.✨
- netdev_get_pauseparam(9)get flow control parameters✨
- netdev_get_regs(9)get register dump✨
- netdev_get_regs_len(9)get length of register dump✨
- netdev_get_ringparam(9)get tx/rx ring parameters✨
- netdev_get_sset_count(9)get statistics size✨
- netdev_get_strings(9)get statistics identity strings✨
- netdev_get_wol(9)get Wake-on-LAN support✨
- netdev_get_xmit_slave(9)Get the xmit slave of master device✨
- netdev_has_any_lower_dev(9)Check if device is linked to some device✨
- netdev_has_any_upper_dev(9)Check if device is linked to some device✨
- netdev_has_upper_dev(9)Check if device is linked to an upper device✨
- netdev_has_upper_dev_all_rcu(9)Check if device is linked to an upper device✨
- netdev_increment_features(9)increment feature set by one✨
- netdev_init(9)initialize network device.✨
- netdev_intr(9)interrupt handling✨
- netdev_ioctl(9)I/O control processing✨
- netdev_is_rx_handler_busy(9)check if receive handler is registered✨
- netdev_lower_get_first_private_rcu(9)Get the first ->private from the lower neighbour list, RCU variant✨
- netdev_lower_get_next(9)Get the next device from the lower neighbour list✨
- netdev_lower_get_next_private(9)Get the next ->private from the lower neighbour list✨
- netdev_lower_get_next_private_rcu(9)Get the next ->private from the lower neighbour list, RCU variant✨
- netdev_lower_state_changed(9)Dispatch event about lower device state change✨
- netdev_master_upper_dev_get(9)Get master upper device✨
- netdev_master_upper_dev_get_rcu(9)Get master upper device✨
- netdev_master_upper_dev_link(9)Add a master link to the upper device✨
- netdev_napi_by_id_lock(9)find a device by NAPI ID and lock it✨
- netdev_notify_peers(9)notify network peers about existence of @dev✨
- netdev_nway_reset(9)restart auto-negotiation✨
- netdev_open(9)open network device✨
- netdev_port_same_parent_id(9)Indicate if two network devices have the same port parent identifier✨
- netdev_priv(9)access network device private data✨
- netdev_query_statistics(9)query network device statistics✨
- netdev_queue_config(9)get configuration for a given queue✨
- netdev_queue_get_dma_dev(9)get dma device for zero-copy operations✨
- netdev_queue_set_dql_min_limit(9)set dql minimum limit✨
- netdev_reset_queue(9)reset the packets and bytes count of a network device✨
- netdev_rx_handler_register(9)register receive handler✨
- netdev_rx_handler_unregister(9)unregister receive handler✨
- netdev_sent_queue(9)report the number of bytes queued to hardware✨
- netdev_set_defer_hard_irqs(9)set defer_hard_irqs for all NAPIs of a netdev✨
💅
getting it ready, bestie…