id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
navi10_ih_toggle_interrupts(9) | NAME navi10_ih_toggle_interrupts - Toggle all the available interrupt ring buffers
SYNOPSIS int navi10_ih_toggle_interrupts (struct amdgpu_device *adev , bool enable );
ARGUMENTS adev amdgpu_device pointer
enable enable or disable interrupt ring buffers
DESCRIPTION Toggle all the available interr... |
navi10_ih_toggle_ring_interrupts(9) | NAME navi10_ih_toggle_ring_interrupts - toggle the interrupt ring buffer
SYNOPSIS int navi10_ih_toggle_ring_interrupts (struct amdgpu_device *adev , struct amdgpu_ih_ring *ih , bool enable );
ARGUMENTS adev amdgpu_device pointer
ih amdgpu_ih_ring pointet
enable true - enable the i... |
nbcon_alloc(9) | NAME nbcon_alloc - Allocate and init the nbcon console specific data
SYNOPSIS bool nbcon_alloc (struct console *con );
ARGUMENTS con Console to initialize
RETURN True if the console was fully allocated and initialized. Otherwise con must not be registered.
DESCRIPTION When allocation and init was successfu... |
nbcon_allow_unsafe_takeover(9) | NAME nbcon_allow_unsafe_takeover - Check if unsafe console takeovers are allowed
SYNOPSIS bool nbcon_allow_unsafe_takeover (void );
ARGUMENTS void no arguments
RETURN True, when it is permitted to perform unsafe console printing
DESCRIPTION This is also used by console_is_usable to determine if it is allowed... |
nbcon_atomic_flush_pending(9) | NAME nbcon_atomic_flush_pending - Flush all nbcon consoles using their write_atomic() callback
SYNOPSIS void nbcon_atomic_flush_pending (void );
ARGUMENTS void no arguments
DESCRIPTION Flush the backlog up through the currently newest record. Any new records added while flushing will not be flushed if there ... |
nbcon_atomic_flush_pending_con(9) | NAME nbcon_atomic_flush_pending_con - Flush specified nbcon console using its write_atomic() callback
SYNOPSIS void nbcon_atomic_flush_pending_con (struct console *con , u64 stop_seq );
ARGUMENTS con The nbcon console to flush
stop_seq Flush up until this record
DESCRIPTION This will stop flushing... |
nbcon_atomic_flush_unsafe(9) | NAME nbcon_atomic_flush_unsafe - Flush all nbcon consoles using their write_atomic() callback and allowing unsafe hostile takeovers
SYNOPSIS void nbcon_atomic_flush_unsafe (void );
ARGUMENTS void no arguments
DESCRIPTION Flush the backlog up through the currently newest record. Unsafe hostile takeovers will b... |
nbcon_can_proceed(9) | NAME nbcon_can_proceed - Check whether ownership can proceed
SYNOPSIS bool nbcon_can_proceed (struct nbcon_write_context *wctxt );
ARGUMENTS wctxt The write context that was handed to the write function
RETURN True if this context still owns the console. False if ownership was handed over or taken.
DESCRIPTIO... |
nbcon_context_can_proceed(9) | NAME nbcon_context_can_proceed - Check whether ownership can proceed
SYNOPSIS bool nbcon_context_can_proceed (struct nbcon_context *ctxt , struct nbcon_state *cur );
ARGUMENTS ctxt The nbcon context from nbcon_context_try_acquire
cur The current console state
RETURN True if this context still ... |
nbcon_context_release(9) | NAME nbcon_context_release - Release the console
SYNOPSIS void nbcon_context_release (struct nbcon_context *ctxt );
ARGUMENTS ctxt The nbcon context from nbcon_context_try_acquire
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_try_cmpxchg(9), nbcon_seq_r... |
nbcon_context_try_acquire(9) | NAME nbcon_context_try_acquire - Try to acquire nbcon console
SYNOPSIS bool nbcon_context_try_acquire (struct nbcon_context *ctxt , bool is_reacquire );
ARGUMENTS ctxt The context of the caller
is_reacquire
This acquire is a reacquire
CONTEXT Under ctxt->con->device_lock or local_ir... |
nbcon_context_try_acquire_direct(9) | NAME nbcon_context_try_acquire_direct - Try to acquire directly
SYNOPSIS int nbcon_context_try_acquire_direct (struct nbcon_context *ctxt , struct nbcon_state *cur , bool is_reacquire );
ARGUMENTS ctxt The context of the caller
cur The current console state
is_reacquire
... |
nbcon_context_try_acquire_handover(9) | NAME nbcon_context_try_acquire_handover - Try to acquire via handover
SYNOPSIS int nbcon_context_try_acquire_handover (struct nbcon_context *ctxt , struct nbcon_state *cur );
ARGUMENTS ctxt The context of the caller
cur The current console state
DESCRIPTION The function must be called only wh... |
nbcon_context_try_acquire_hostile(9) | NAME nbcon_context_try_acquire_hostile - Acquire via unsafe hostile takeover
SYNOPSIS int nbcon_context_try_acquire_hostile (struct nbcon_context *ctxt , struct nbcon_state *cur );
ARGUMENTS ctxt The context of the caller
cur The current console state
DESCRIPTION Acquire the console even in th... |
nbcon_context_try_acquire_requested(9) | NAME nbcon_context_try_acquire_requested - Try to acquire after having requested a handover
SYNOPSIS int nbcon_context_try_acquire_requested (struct nbcon_context *ctxt , struct nbcon_state *cur );
ARGUMENTS ctxt The context of the caller
cur The current console state
DESCRIPTION This is a hel... |
nbcon_cpu_emergency_enter(9) | NAME nbcon_cpu_emergency_enter - Enter an emergency section where printk() messages for that CPU are flushed directly
SYNOPSIS void nbcon_cpu_emergency_enter (void );
ARGUMENTS void no arguments
CONTEXT Any context. Disables preemption.
DESCRIPTION When within an emergency section, printk calls will attempt ... |
nbcon_cpu_emergency_exit(9) | NAME nbcon_cpu_emergency_exit - Exit an emergency section
SYNOPSIS void nbcon_cpu_emergency_exit (void );
ARGUMENTS void no arguments
CONTEXT Within an emergency section. Enables preemption.
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_try_cmpxchg(9),... |
nbcon_device_release(9) | NAME nbcon_device_release - Exit unsafe section and release the nbcon console
SYNOPSIS void nbcon_device_release (struct console *con );
ARGUMENTS con The nbcon console acquired in nbcon_device_try_acquire
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_... |
nbcon_device_try_acquire(9) | NAME nbcon_device_try_acquire - Try to acquire nbcon console and enter unsafe section
SYNOPSIS bool nbcon_device_try_acquire (struct console *con );
ARGUMENTS con The nbcon console to acquire
CONTEXT Under the locking mechanism implemented in con->device_lock including disabling migration.
RETURN True if th... |
nbcon_emit_next_record(9) | NAME nbcon_emit_next_record - Emit a record in the acquired context
SYNOPSIS bool nbcon_emit_next_record (struct nbcon_write_context *wctxt , bool use_atomic );
ARGUMENTS wctxt The write context that will be handed to the write function
use_atomic True if the write_atomic callback is to be used
RETURN... |
nbcon_enter_unsafe(9) | NAME nbcon_enter_unsafe - Enter an unsafe region in the driver
SYNOPSIS bool nbcon_enter_unsafe (struct nbcon_write_context *wctxt );
ARGUMENTS wctxt The write context that was handed to the write function
RETURN True if this context still owns the console. False if ownership was handed over or taken.
DESCRIP... |
nbcon_exit_unsafe(9) | NAME nbcon_exit_unsafe - Exit an unsafe region in the driver
SYNOPSIS bool nbcon_exit_unsafe (struct nbcon_write_context *wctxt );
ARGUMENTS wctxt The write context that was handed to the write function
RETURN True if this context still owns the console. False if ownership was handed over or taken.
DESCRIPTIO... |
nbcon_free(9) | NAME nbcon_free - Free and cleanup the nbcon console specific data
SYNOPSIS void nbcon_free (struct console *con );
ARGUMENTS con Console to free/cleanup nbcon data
DESCRIPTION Important: have_nbcon_console must be updated before calling this function. In particular, it can be set only when there is still an... |
nbcon_get_cpu_emergency_nesting(9) | NAME nbcon_get_cpu_emergency_nesting - Get the per CPU emergency nesting pointer
SYNOPSIS __ref unsigned int * nbcon_get_cpu_emergency_nesting (void );
ARGUMENTS void no arguments
CONTEXT For reading, any context. For writing, any context which could not be migrated to another CPU.
RETURN Either a pointer to... |
nbcon_get_default_prio(9) | NAME nbcon_get_default_prio - The appropriate nbcon priority to use for nbcon printing on the current CPU
SYNOPSIS enum nbcon_prio nbcon_get_default_prio (void );
ARGUMENTS void no arguments
CONTEXT Any context.
RETURN The nbcon_prio to use for acquiring an nbcon console in this context for printing.
DESCRI... |
nbcon_irq_work(9) | NAME nbcon_irq_work - irq work to wake console printer thread
SYNOPSIS void nbcon_irq_work (struct irq_work *irq_work );
ARGUMENTS irq_work The irq work to operate on
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_try_cmpxchg(9), nbcon_seq_read(9), nbcon_seq... |
nbcon_kdb_release(9) | NAME nbcon_kdb_release - Exit unsafe section and release the nbcon console
SYNOPSIS void nbcon_kdb_release (struct nbcon_write_context *wctxt );
ARGUMENTS wctxt The nbcon write context initialized by a successful nbcon_kdb_try_acquire
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_s... |
nbcon_kdb_try_acquire(9) | NAME nbcon_kdb_try_acquire - Try to acquire nbcon console and enter unsafe section
SYNOPSIS bool nbcon_kdb_try_acquire (struct console *con , struct nbcon_write_context *wctxt );
ARGUMENTS con The nbcon console to acquire
wctxt The nbcon write context to be used on success
CONTEXT Under console... |
nbcon_kthread_create(9) | NAME nbcon_kthread_create - Create a console printer thread
SYNOPSIS bool nbcon_kthread_create (struct console *con );
ARGUMENTS con Console to operate on
RETURN True if the kthread was started or already exists. Otherwise false and con must not be registered.
DESCRIPTION This function is called when it wi... |
nbcon_kthread_func(9) | NAME nbcon_kthread_func - The printer thread function
SYNOPSIS int nbcon_kthread_func (void *__console );
ARGUMENTS __console Console to operate on
RETURN 0
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_try_cmpxchg(9), nbcon_seq_read(9), nbcon_seq_force(9),... |
nbcon_kthread_should_wakeup(9) | NAME nbcon_kthread_should_wakeup - Check whether a printer thread should wakeup
SYNOPSIS bool nbcon_kthread_should_wakeup (struct console *con , struct nbcon_context *ctxt );
ARGUMENTS con Console to operate on
ctxt The nbcon context from nbcon_context_try_acquire
RETURN True if the thread sho... |
nbcon_kthread_wake(9) | NAME nbcon_kthread_wake - Wake up a console printing thread
SYNOPSIS void nbcon_kthread_wake (struct console *con );
ARGUMENTS con Console to operate on
SEE ALSO Kernel file ./kernel/printk/internal.h struct console_flush_type(9), struct printk_buffers(9), struct printk_message(9)
April 2026 ... |
nbcon_kthreads_wake(9) | NAME nbcon_kthreads_wake - Wake up printing threads using irq_work
SYNOPSIS void nbcon_kthreads_wake (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbcon_state_try_cmpxchg(9), nbcon_seq_read(9), nbcon_seq_force(9), nbcon_seq_try_... |
nbcon_legacy_emit_next_record(9) | NAME nbcon_legacy_emit_next_record - Print one record for an nbcon console in legacy contexts
SYNOPSIS bool nbcon_legacy_emit_next_record (struct console *con , bool *handover , int cookie , bool use_atomic );
ARGUMENTS con The console to print on
handover Will be set to true if a printk waiter has... |
nbcon_reacquire_nobuf(9) | NAME nbcon_reacquire_nobuf - Reacquire a console after losing ownership while printing
SYNOPSIS void nbcon_reacquire_nobuf (struct nbcon_write_context *wctxt );
ARGUMENTS wctxt The write context that was handed to the write callback
DESCRIPTION Since ownership can be lost at any time due to handover or takeove... |
nbcon_seq_force(9) | NAME nbcon_seq_force - Force console sequence to a specific value
SYNOPSIS void nbcon_seq_force (struct console *con , u64 seq );
ARGUMENTS con Console to work on
seq Sequence number value to set
DESCRIPTION Only to be used during init (before registration) or in extreme situations (such as p... |
nbcon_seq_read(9) | NAME nbcon_seq_read - Read the current console sequence
SYNOPSIS u64 nbcon_seq_read (struct console *con );
ARGUMENTS con Console to read the sequence of
RETURN Sequence number of the next record to print on con.
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state_read(9), nbco... |
nbcon_seq_try_update(9) | NAME nbcon_seq_try_update - Try to update the console sequence number
SYNOPSIS void nbcon_seq_try_update (struct nbcon_context *ctxt , u64 new_seq );
ARGUMENTS ctxt Pointer to an acquire context that contains all information about the acquire mode
new_seq The new sequence number to set
DESCRIPTION... |
nbcon_state_read(9) | NAME nbcon_state_read - Helper function to read the console state
SYNOPSIS void nbcon_state_read (struct console *con , struct nbcon_state *state );
ARGUMENTS con Console to read
state The state to store the result
SEE ALSO Kernel file ./kernel/printk/nbcon.c nbcon_state_set(9), nbcon_state... |
nbcon_state_set(9) | NAME nbcon_state_set - Helper function to set the console state
SYNOPSIS void nbcon_state_set (struct console *con , struct nbcon_state *new );
ARGUMENTS con Console to update
new The new state to write
DESCRIPTION Only to be used when the console is not yet or no longer visible in the system... |
nbcon_state_try_cmpxchg(9) | NAME nbcon_state_try_cmpxchg - Helper function for atomic_try_cmpxchg() on console state
SYNOPSIS bool nbcon_state_try_cmpxchg (struct console *con , struct nbcon_state *cur , struct nbcon_state *new );
ARGUMENTS con Console to update
cur Old/expected state
new New state
RETUR... |
nc(1) | NAME nc — arbitrary TCP and UDP connections and listens
SYNOPSIS nc [-46cDdFhklNnrStUuvz] [-C certfile] [-e name] [-H hash] [-I length] [-i interval] [-K keyfile] [-M ttl] [-m minttl] [-O length] [-o staplefile] [-P proxy_username] [-p source_port] [-R CAfile] [-s sourceaddr] [-T keyword] [-V rtable] [-W rec... |
ncat(1) | NAME ncat - Concatenate and redirect sockets
SYNOPSIS
ncat [OPTIONS...] [hostname] [port]
DESCRIPTION Ncat is a feature-packed networking utility which reads and writes data across networks from the command line. Ncat was written for the Nmap Project and is the culmination of the currently splintered family o... |
nci_allocate_device(9) | NAME nci_allocate_device - allocate a new nci device
SYNOPSIS struct nci_dev * nci_allocate_device (const struct nci_ops *ops , __u32 supported_protocols , int tx_headroom , int tx_tailroom );
ARGUMENTS ops device operations
supported_protocols
NFC protocols supported by the device
... |
nci_free_device(9) | NAME nci_free_device - deallocate nci device
SYNOPSIS void nci_free_device (struct nci_dev *ndev );
ARGUMENTS ndev The nci device to deallocate
SEE ALSO Kernel file ./net/nfc/nci/core.c nci_allocate_device(9), nci_register_device(9), nci_unregister_device(9), nci_recv_frame(9)
April 2026 ... |
nci_recv_frame(9) | NAME nci_recv_frame - receive frame from NCI drivers
SYNOPSIS int nci_recv_frame (struct nci_dev *ndev , struct sk_buff *skb );
ARGUMENTS ndev The nci device
skb The sk_buff to receive
SEE ALSO Kernel file ./net/nfc/nci/core.c nci_allocate_device(9), nci_free_device(9), nci_register_device(9),... |
nci_register_device(9) | NAME nci_register_device - register a nci device in the nfc subsystem
SYNOPSIS int nci_register_device (struct nci_dev *ndev );
ARGUMENTS ndev The nci device to register
SEE ALSO Kernel file ./net/nfc/nci/core.c nci_allocate_device(9), nci_free_device(9), nci_unregister_device(9), nci_recv_frame(9)
April 202... |
nci_spi_allocate_spi(9) | NAME nci_spi_allocate_spi - allocate a new nci spi
SYNOPSIS struct nci_spi * nci_spi_allocate_spi (struct spi_device *spi , u8 acknowledge_mode , unsigned int delay , struct nci_dev *ndev );
ARGUMENTS spi SPI device
acknowledge_mode
Acknowledge mode used by the NFC device
de... |
nci_spi_read(9) | NAME nci_spi_read - read frame from NCI SPI drivers
SYNOPSIS struct sk_buff * nci_spi_read (struct nci_spi *nspi );
ARGUMENTS nspi The nci spi
CONTEXT can sleep
DESCRIPTION This call may only be used from a context that may sleep. The sleep is non-interruptible, and has no timeout. It returns an allocated ... |
nci_unregister_device(9) | NAME nci_unregister_device - unregister a nci device in the nfc subsystem
SYNOPSIS void nci_unregister_device (struct nci_dev *ndev );
ARGUMENTS ndev The nci device to unregister
SEE ALSO Kernel file ./net/nfc/nci/core.c nci_allocate_device(9), nci_free_device(9), nci_register_device(9), nci_recv_frame(9)
Ap... |
nct6694_read_msg(9) | NAME nct6694_read_msg - Read message from NCT6694 device
SYNOPSIS int nct6694_read_msg (struct nct6694 *nct6694 , const struct nct6694_cmd_header *cmd_hd , void *buf );
ARGUMENTS nct6694 NCT6694 device pointer
cmd_hd command header structure
buf buffer to store the response data
DESC... |
nct6694_write_msg(9) | NAME nct6694_write_msg - Write message to NCT6694 device
SYNOPSIS int nct6694_write_msg (struct nct6694 *nct6694 , const struct nct6694_cmd_header *cmd_hd , void *buf );
ARGUMENTS nct6694 NCT6694 device pointer
cmd_hd command header structure
buf buffer containing the data to be sent
... |
ncurses.3x(3) | NAME ncurses - character-cell terminal interface with optimized output
SYNOPSIS #include <ncursesw/curses.h>
DESCRIPTION The “new curses” library offers the programmer a terminal-independent means of reading keyboard and mouse input and updating character-cell terminals with output optimized to minimize screen up... |
ncursesw6-config(1) | NAME ncursesw6-config - configuration helper for ncurses libraries
SYNOPSIS ncursesw6-config option ...
ncursesw6-config --version
ncursesw6-config --help
DESCRIPTION This program development aid simplifies the process of configuring applications against a particular set of ncurses libraries.
OPTIONS... |
nd_btt_arena_is_valid(9) | NAME nd_btt_arena_is_valid - check if the metadata layout is valid
SYNOPSIS bool nd_btt_arena_is_valid (struct nd_btt *nd_btt , struct btt_sb *super );
ARGUMENTS nd_btt device with BTT geometry and backing device info
super pointer to the arena's info block being tested
DESCRIPTION Check consisten... |
nd_is_uuid_unique(9) | NAME nd_is_uuid_unique - verify that no other namespace has @uuid
SYNOPSIS bool nd_is_uuid_unique (struct device *dev , uuid_t *uuid );
ARGUMENTS dev any device on a nvdimm_bus
uuid uuid to check
RETURN true if the uuid is unique, false if not
SEE ALSO Kernel file ./drivers/nvdimm/namespace_d... |
nd_pfn_validate(9) | NAME nd_pfn_validate - read and validate info-block
SYNOPSIS int nd_pfn_validate (struct nd_pfn *nd_pfn , const char *sig );
ARGUMENTS nd_pfn fsdax namespace runtime state / properties
sig
DESCRIPTION Upon return the info-block buffer contents (->pfn_sb) are indeterminate when validation fails, and a co... |
nd_pmem_available_dpa(9) | NAME nd_pmem_available_dpa - for the given dimm+region account unallocated dpa
SYNOPSIS resource_size_t nd_pmem_available_dpa (struct nd_region *nd_region , struct nd_mapping *nd_mapping );
ARGUMENTS nd_region constrain available space check to this reference region
nd_mapping container of dpa-resource-roo... |
nd_pmem_max_contiguous_dpa(9) | NAME nd_pmem_max_contiguous_dpa - For the given dimm+region, return the max contiguous unallocated dpa range.
SYNOPSIS resource_size_t nd_pmem_max_contiguous_dpa (struct nd_region *nd_region , struct nd_mapping *nd_mapping );
ARGUMENTS nd_region constrain available space check to this reference region
nd_ma... |
nd_region_acquire_lane(9) | NAME nd_region_acquire_lane - allocate and lock a lane
SYNOPSIS unsigned int nd_region_acquire_lane (struct nd_region *nd_region );
ARGUMENTS nd_region region id and number of lanes possible
DESCRIPTION A lane correlates to a BLK-data-window and/or a log slot in the BTT. We optimize for the common case where th... |
nd_region_to_nstype(9) | NAME nd_region_to_nstype - region to an integer namespace type
SYNOPSIS int nd_region_to_nstype (struct nd_region *nd_region );
ARGUMENTS nd_region region-device to interrogate
DESCRIPTION This is the 'nstype' attribute of a region as well, an input to the MODALIAS for namespace devices, and bit number for a nvdim... |
nd_uuid_store(9) | NAME nd_uuid_store - common implementation for writing 'uuid' sysfs attributes
SYNOPSIS int nd_uuid_store (struct device *dev , uuid_t **uuid_out , const char *buf , size_t len );
ARGUMENTS dev container device for the uuid property
uuid_out uuid buffer to replace
buf raw sysfs buff... |
ndbm.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME ndbm.h — definitions for ndbm database operations
SYNOPSIS #in... |
ndelay(9) | NAME ndelay - Inserting a delay based on nanoseconds with busy waiting
SYNOPSIS void ndelay (unsigned long nsec );
ARGUMENTS nsec requested delay in nanoseconds
DESCRIPTION See udelay for basic information about ndelay and it's variants.
SEE ALSO Kernel file ./include/asm-generic/delay.h udelay(9)
April 202... |
ndo_dflt_fdb_dump(9) | NAME ndo_dflt_fdb_dump - default netdevice operation to dump an FDB table.
SYNOPSIS int ndo_dflt_fdb_dump (struct sk_buff *skb , struct netlink_callback *cb , struct net_device *dev , struct net_device *filter_dev , int *idx );
ARGUMENTS skb socket buffer to store message in
cb netlink callba... |
ne_add_vcpu(9) | NAME ne_add_vcpu - Add a vCPU to the given enclave.
SYNOPSIS int ne_add_vcpu (int enclave_fd , unsigned int *vcpu_id );
ARGUMENTS enclave_fd The file descriptor associated with the enclave.
vcpu_id vCPU id to be set for the enclave, either provided or auto-generated (if provided vCPU id is 0).
CONTEXT P... |
ne_add_vcpu_ioctl(9) | NAME ne_add_vcpu_ioctl - Add a vCPU to the slot associated with the current enclave.
SYNOPSIS int ne_add_vcpu_ioctl (struct ne_enclave *ne_enclave , u32 vcpu_id );
ARGUMENTS ne_enclave Private data associated with the current enclave.
vcpu_id ID of the CPU to be associated with the given slot, apic id on... |
ne_alloc_user_mem_region(9) | NAME ne_alloc_user_mem_region - Allocate a user space memory region for an enclave.
SYNOPSIS int ne_alloc_user_mem_region (struct ne_user_mem_region *ne_user_mem_region );
ARGUMENTS ne_user_mem_region User space memory region allocated using hugetlbfs.
CONTEXT Process context.
RETURN * 0 on success. * Negative ret... |
ne_check_cpu_in_cpu_pool(9) | NAME ne_check_cpu_in_cpu_pool - Check if the given vCPU is in the available CPUs from the pool.
SYNOPSIS int ne_check_cpu_in_cpu_pool (struct ne_enclave *ne_enclave , u32 vcpu_id );
ARGUMENTS ne_enclave Private data associated with the current enclave.
vcpu_id ID of the vCPU to check if available in the ... |
ne_check_enclaves_created(9) | NAME ne_check_enclaves_created - Verify if at least one enclave has been created.
SYNOPSIS bool ne_check_enclaves_created (void );
ARGUMENTS void no arguments
CONTEXT Process context.
RETURN * True if at least one enclave is created. * False otherwise.
SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/n... |
ne_create_vm(9) | NAME ne_create_vm - Create a slot for the enclave VM.
SYNOPSIS int ne_create_vm (int ne_dev_fd , unsigned long *slot_uid , int *enclave_fd );
ARGUMENTS ne_dev_fd The file descriptor of the NE misc device.
slot_uid The generated slot uid for the enclave.
enclave_fd The generated file descriptor f... |
ne_create_vm_ioctl(9) | NAME ne_create_vm_ioctl - 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.
SYNOPSIS int ne_create_vm_ioctl (struct ne_pci_dev *ne_pci_dev , u64 __user *slot_uid );
ARGUMENTS ne_pci_dev Private data associated w... |
ne_do_request(9) | NAME ne_do_request - Submit command request to the PCI device based on the command type and retrieve the associated reply.
SYNOPSIS int ne_do_request (struct pci_dev *pdev , enum ne_pci_dev_cmd_type cmd_type , void *cmd_request , size_t cmd_request_size , struct ne_pci_dev_cmd_reply *cmd_reply , size_t cmd_reply_size ... |
ne_donated_cpu(9) | NAME ne_donated_cpu - Check if the provided CPU is already used by the enclave.
SYNOPSIS bool ne_donated_cpu (struct ne_enclave *ne_enclave , unsigned int cpu );
ARGUMENTS ne_enclave Private data associated with the current enclave.
cpu CPU to check if already used.
CONTEXT Process context. This fun... |
ne_enclave_ioctl(9) | NAME ne_enclave_ioctl - Ioctl function provided by the enclave file.
SYNOPSIS long ne_enclave_ioctl (struct file *file , unsigned int cmd , unsigned long arg );
ARGUMENTS file File associated with this ioctl function.
cmd The command that is set for the ioctl call.
arg The argum... |
ne_enclave_poll(9) | NAME ne_enclave_poll - Poll functionality used for enclave out-of-band events.
SYNOPSIS __poll_t ne_enclave_poll (struct file *file , poll_table *wait );
ARGUMENTS file File associated with this poll function.
wait Poll table data structure.
CONTEXT Process context.
RETURN * Poll mask.
SEE AL... |
ne_enclave_release(9) | NAME ne_enclave_release - Release function provided by the enclave file.
SYNOPSIS int ne_enclave_release (struct inode *inode , struct file *file );
ARGUMENTS inode Inode associated with this file release function.
file File associated with this release function.
CONTEXT Process context.
RETURN... |
ne_enclave_remove_all_mem_region_entries(9) | NAME ne_enclave_remove_all_mem_region_entries - Remove all memory region entries from the enclave data structure.
SYNOPSIS void ne_enclave_remove_all_mem_region_entries (struct ne_enclave *ne_enclave );
ARGUMENTS ne_enclave Private data associated with the current enclave.
CONTEXT Process context. This function is ... |
ne_enclave_remove_all_vcpu_id_entries(9) | NAME ne_enclave_remove_all_vcpu_id_entries - Remove all vCPU id entries from the enclave data structure.
SYNOPSIS void ne_enclave_remove_all_vcpu_id_entries (struct ne_enclave *ne_enclave );
ARGUMENTS ne_enclave Private data associated with the current enclave.
CONTEXT Process context. This function is called with ... |
ne_event_handler(9) | NAME ne_event_handler - 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.
SYNOPSIS irqreturn_t ne_event_handler (int irq , void *args );
ARGUMENTS irq Received interrupt for an out... |
ne_event_work_handler(9) | NAME ne_event_work_handler - Work queue handler for notifying enclaves on a state change received by the event interrupt handler.
SYNOPSIS void ne_event_work_handler (struct work_struct *work );
ARGUMENTS work Item containing the NE PCI device for which an out-of-band event was issued.
DESCRIPTION An out-of-b... |
ne_free_mem_regions(9) | NAME ne_free_mem_regions - Unmap all the user space memory regions that were set aside for the enclave.
SYNOPSIS void ne_free_mem_regions (struct ne_user_mem_region ne_user_mem_regions[] );
ARGUMENTS ne_user_mem_regions The user space memory regions associated with an enclave.
CONTEXT Process context.
SEE ALSO Kern... |
ne_get_cpu_from_cpu_pool(9) | NAME ne_get_cpu_from_cpu_pool - 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.
SYNOPSIS int ne_get_cpu_from_cpu_pool (struct ne_enclave *ne_enclave , u32 *vcpu_id );
ARGUMENTS ne_enclave Private data associated with the current enclave.
... |
ne_get_unused_core_from_cpu_pool(9) | NAME ne_get_unused_core_from_cpu_pool - Get the id of a full core from the NE CPU pool.
SYNOPSIS int ne_get_unused_core_from_cpu_pool (void );
ARGUMENTS void no arguments
CONTEXT Process context. This function is called with the ne_enclave and ne_cpu_pool mutexes held.
RETURN * Core id. * -1 if no CPU core ... |
ne_get_vcpu_core_from_cpu_pool(9) | NAME ne_get_vcpu_core_from_cpu_pool - Get from the NE CPU pool the id of the core associated with the provided vCPU.
SYNOPSIS int ne_get_vcpu_core_from_cpu_pool (u32 vcpu_id );
ARGUMENTS vcpu_id Provided vCPU id to get its associated core id.
CONTEXT Process context. This function is called with the ne_enclave a... |
ne_ioctl(9) | NAME ne_ioctl - Ioctl function provided by the NE misc device.
SYNOPSIS long ne_ioctl (struct file *file , unsigned int cmd , unsigned long arg );
ARGUMENTS file File associated with this ioctl function.
cmd The command that is set for the ioctl call.
arg The argument that is pr... |
ne_load_enclave_image(9) | NAME ne_load_enclave_image - Place the enclave image in the enclave memory.
SYNOPSIS int ne_load_enclave_image (int enclave_fd , struct ne_user_mem_region ne_user_mem_regions[] , char *enclave_image_path );
ARGUMENTS enclave_fd The file descriptor associated with the enclave.
ne_user_mem_regions
... |
ne_merge_phys_contig_memory_regions(9) | NAME ne_merge_phys_contig_memory_regions - Add a memory region and merge the adjacent regions if they are physically contiguous.
SYNOPSIS int ne_merge_phys_contig_memory_regions (struct ne_phys_contig_mem_regions *phys_contig_regions , u64 page_paddr , u64 page_size );
ARGUMENTS phys_contig_regions Private data assoc... |
ne_pci_dev_disable(9) | NAME ne_pci_dev_disable - Disable the PCI device.
SYNOPSIS void ne_pci_dev_disable (struct pci_dev *pdev );
ARGUMENTS pdev PCI device to disable.
CONTEXT Process context.
SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_pci_dev.c Kernel API(9), NE_DEFAULT_TIMEOUT_MSECS(9), ne_submit_request(9), n... |
ne_pci_dev_enable(9) | NAME ne_pci_dev_enable - Select the PCI device version and enable it.
SYNOPSIS int ne_pci_dev_enable (struct pci_dev *pdev );
ARGUMENTS pdev PCI device to select version for and then enable.
CONTEXT Process context.
RETURN * 0 on success. * Negative return value on failure.
SEE ALSO Kernel file ./drivers... |
ne_pci_dev_remove_enclave_entry(9) | NAME ne_pci_dev_remove_enclave_entry - Remove the enclave entry from the data structure that is part of the NE PCI device private data.
SYNOPSIS void ne_pci_dev_remove_enclave_entry (struct ne_enclave *ne_enclave , struct ne_pci_dev *ne_pci_dev );
ARGUMENTS ne_enclave Private data associated with the current enclave... |
ne_pci_probe(9) | NAME ne_pci_probe - Probe function for the NE PCI device.
SYNOPSIS int ne_pci_probe (struct pci_dev *pdev , const struct pci_device_id *id );
ARGUMENTS pdev PCI device to match with the NE PCI driver.
id PCI device id table associated with the NE PCI driver.
CONTEXT Process context.
RETURN *... |
ne_pci_remove(9) | NAME ne_pci_remove - Remove function for the NE PCI device.
SYNOPSIS void ne_pci_remove (struct pci_dev *pdev );
ARGUMENTS pdev PCI device associated with the NE PCI driver.
CONTEXT Process context.
SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_pci_dev.c Kernel API(9), NE_DEFAULT_TIMEOUT_MSECS(9... |
ne_pci_shutdown(9) | NAME ne_pci_shutdown - Shutdown function for the NE PCI device.
SYNOPSIS void ne_pci_shutdown (struct pci_dev *pdev );
ARGUMENTS pdev PCI device associated with the NE PCI driver.
CONTEXT Process context.
SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_pci_dev.c Kernel API(9), NE_DEFAULT_TIMEOUT_M... |
ne_poll_enclave_fd(9) | NAME ne_poll_enclave_fd - Thread function for polling the enclave fd.
SYNOPSIS void * ne_poll_enclave_fd (void *data );
ARGUMENTS data Argument provided for the polling function.
CONTEXT Process context.
RETURN * NULL on success / failure.
SEE ALSO Kernel file ./samples/nitro_enclaves/ne_ioctl_sample.c ... |
ne_reply_handler(9) | NAME ne_reply_handler - Interrupt handler for retrieving a reply matching a request sent to the PCI device for enclave lifetime management.
SYNOPSIS irqreturn_t ne_reply_handler (int irq , void *args );
ARGUMENTS irq Received interrupt for a reply sent by the PCI device.
args PCI device private... |
ne_retrieve_reply(9) | NAME ne_retrieve_reply - Retrieve reply from the PCI device.
SYNOPSIS void ne_retrieve_reply (struct pci_dev *pdev , struct ne_pci_dev_cmd_reply *cmd_reply , size_t cmd_reply_size );
ARGUMENTS pdev PCI device to receive the reply from.
cmd_reply Command reply payload.
cmd_reply_size
... |
ne_sanity_check_phys_mem_region(9) | NAME ne_sanity_check_phys_mem_region - Sanity check the start address and the size of a physical memory region.
SYNOPSIS int ne_sanity_check_phys_mem_region (u64 phys_mem_region_paddr , u64 phys_mem_region_size );
ARGUMENTS phys_mem_region_paddr Physical start address of the region to be sanity checked.
phys_... |
ne_sanity_check_user_mem_region(9) | NAME ne_sanity_check_user_mem_region - Sanity check the user space memory region received during the set user memory region ioctl call.
SYNOPSIS int ne_sanity_check_user_mem_region (struct ne_enclave *ne_enclave , struct ne_user_memory_region mem_region );
ARGUMENTS ne_enclave Private data associated with the curren... |
ne_sanity_check_user_mem_region_page(9) | NAME ne_sanity_check_user_mem_region_page - Sanity check a page from the user space memory region received during the set user memory region ioctl call.
SYNOPSIS int ne_sanity_check_user_mem_region_page (struct ne_enclave *ne_enclave , struct page *mem_region_page );
ARGUMENTS ne_enclave Private data associated with... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.