id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
mei_txe_out_data_read(9) | NAME mei_txe_out_data_read - read dword from the device buffer at offset idx
SYNOPSIS u32 mei_txe_out_data_read (const struct mei_device *dev , unsigned long idx );
ARGUMENTS dev the device structure
idx index in the device buffer
RETURN register value at index
SEE ALSO Kernel file ./d... |
mei_txe_output_ready_set(9) | NAME mei_txe_output_ready_set - Sets the SICR_SEC_IPC_OUTPUT_STATUS bit to 1
SYNOPSIS void mei_txe_output_ready_set (struct mei_txe_hw *hw );
ARGUMENTS hw the txe hardware structure
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), mei_txe_sec_reg_rea... |
mei_txe_pending_interrupts(9) | NAME mei_txe_pending_interrupts - check if there are pending interrupts only Aliveness, Input ready, and output doorbell are of relevance
SYNOPSIS bool mei_txe_pending_interrupts (struct mei_device *dev );
ARGUMENTS dev the device structure
DESCRIPTION Checks if there are pending interrupts only Aliveness, R... |
mei_txe_pg_in_transition(9) | NAME mei_txe_pg_in_transition - is device now in pg transition
SYNOPSIS bool mei_txe_pg_in_transition (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN true if in pg transition, false otherwise
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_w... |
mei_txe_pg_is_enabled(9) | NAME mei_txe_pg_is_enabled - detect if PG is supported by HW
SYNOPSIS bool mei_txe_pg_is_enabled (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN true is pg supported, false otherwise
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), ... |
mei_txe_pg_state(9) | NAME mei_txe_pg_state - translate aliveness register value to the mei power gating state
SYNOPSIS enum mei_pg_state mei_txe_pg_state (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN MEI_PG_OFF if aliveness is on and MEI_PG_ON otherwise
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe... |
mei_txe_probe(9) | NAME mei_txe_probe - Device Initialization Routine
SYNOPSIS int mei_txe_probe (struct pci_dev *pdev , const struct pci_device_id *ent );
ARGUMENTS pdev PCI device structure
ent entry in mei_txe_pci_tbl
RETURN 0 on success, <0 on failure.
SEE ALSO Kernel file ./drivers/misc/mei/pci-txe.c mei_t... |
mei_txe_read(9) | NAME mei_txe_read - reads a message from the txe device.
SYNOPSIS int mei_txe_read (struct mei_device *dev , unsigned char *buf , unsigned long len );
ARGUMENTS dev the device structure
buf message buffer will be written
len message size will be read
RETURN -EINVAL on error wr... |
mei_txe_read_hdr(9) | NAME mei_txe_read_hdr - read message header which is always in 4 first bytes
SYNOPSIS u32 mei_txe_read_hdr (const struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN mei message header
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), ... |
mei_txe_readiness_clear(9) | NAME mei_txe_readiness_clear - clear host readiness bit
SYNOPSIS void mei_txe_readiness_clear (struct mei_device *dev );
ARGUMENTS dev the device structure
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), mei_txe_sec_reg_read_silent(9), mei_txe_sec... |
mei_txe_readiness_get(9) | NAME mei_txe_readiness_get - Reads and returns the HICR_SEC_IPC_READINESS register value
SYNOPSIS u32 mei_txe_readiness_get (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN the HICR_SEC_IPC_READINESS register value
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_rea... |
mei_txe_readiness_is_sec_rdy(9) | NAME mei_txe_readiness_is_sec_rdy - check readiness for HICR_SEC_IPC_READINESS_SEC_RDY
SYNOPSIS bool mei_txe_readiness_is_sec_rdy (u32 readiness );
ARGUMENTS readiness cached readiness state
RETURN true if readiness bit is set
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_t... |
mei_txe_readiness_set_host_rdy(9) | NAME mei_txe_readiness_set_host_rdy - set host readiness bit
SYNOPSIS void mei_txe_readiness_set_host_rdy (struct mei_device *dev );
ARGUMENTS dev the device structure
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), mei_txe_sec_reg_read_silent(9), ... |
mei_txe_readiness_wait(9) | NAME mei_txe_readiness_wait - wait till readiness settles
SYNOPSIS int mei_txe_readiness_wait (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN 0 on success and -ETIME on timeout
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), mei... |
mei_txe_reg_read(9) | NAME mei_txe_reg_read - Reads 32bit data from the txe device
SYNOPSIS u32 mei_txe_reg_read (void __iomem *base_addr , unsigned long offset );
ARGUMENTS base_addr registers base address
offset register offset
RETURN register value
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_w... |
mei_txe_reg_write(9) | NAME mei_txe_reg_write - Writes 32bit data to the txe device
SYNOPSIS void mei_txe_reg_write (void __iomem *base_addr , unsigned long offset , u32 value );
ARGUMENTS base_addr registers base address
offset register offset
value the value to write
SEE ALSO Kernel file ./drivers/misc... |
mei_txe_remove(9) | NAME mei_txe_remove - Device Removal Routine
SYNOPSIS void mei_txe_remove (struct pci_dev *pdev );
ARGUMENTS pdev PCI device structure
DESCRIPTION mei_remove is called by the PCI subsystem to alert the driver that it should release a PCI device.
SEE ALSO Kernel file ./drivers/misc/mei/pci-txe.c mei_txe_probe... |
mei_txe_sec_reg_read(9) | NAME mei_txe_sec_reg_read - Reads 32bit data from the SeC BAR
SYNOPSIS u32 mei_txe_sec_reg_read (struct mei_txe_hw *hw , unsigned long offset );
ARGUMENTS hw the txe hardware structure
offset register offset
DESCRIPTION Reads 32bit data from the SeC BAR and shout loud if aliveness is not set
R... |
mei_txe_sec_reg_read_silent(9) | NAME mei_txe_sec_reg_read_silent - Reads 32bit data from the SeC BAR
SYNOPSIS u32 mei_txe_sec_reg_read_silent (struct mei_txe_hw *hw , unsigned long offset );
ARGUMENTS hw the txe hardware structure
offset register offset
DESCRIPTION Doesn't check for aliveness while Reads 32bit data from the S... |
mei_txe_sec_reg_write(9) | NAME mei_txe_sec_reg_write - Writes 32bit data to the SeC BAR
SYNOPSIS void mei_txe_sec_reg_write (struct mei_txe_hw *hw , unsigned long offset , u32 value );
ARGUMENTS hw the txe hardware structure
offset register offset
value value to write
DESCRIPTION Writes 32bit data from the... |
mei_txe_sec_reg_write_silent(9) | NAME mei_txe_sec_reg_write_silent - Writes 32bit data to the SeC BAR doesn't check for aliveness
SYNOPSIS void mei_txe_sec_reg_write_silent (struct mei_txe_hw *hw , unsigned long offset , u32 value );
ARGUMENTS hw the txe hardware structure
offset register offset
value value to wri... |
mei_txe_set_pm_domain(9) | NAME mei_txe_set_pm_domain - fill and set pm domain structure for device
SYNOPSIS void mei_txe_set_pm_domain (struct mei_device *dev );
ARGUMENTS dev mei_device
SEE ALSO Kernel file ./drivers/misc/mei/pci-txe.c mei_txe_probe(9), mei_txe_shutdown(9), mei_txe_remove(9), mei_txe_unset_pm_domain(9)
April 2026 ... |
mei_txe_shutdown(9) | NAME mei_txe_shutdown - Device Shutdown Routine
SYNOPSIS void mei_txe_shutdown (struct pci_dev *pdev );
ARGUMENTS pdev PCI device structure
DESCRIPTION mei_txe_shutdown is called from the reboot notifier it's a simplified version of remove so we go down faster.
SEE ALSO Kernel file ./drivers/misc/mei/pci-txe... |
mei_txe_synchronize_irq(9) | NAME mei_txe_synchronize_irq - wait for pending IRQ handlers
SYNOPSIS void mei_txe_synchronize_irq (struct mei_device *dev );
ARGUMENTS dev the device structure
SEE ALSO Kernel file ./drivers/misc/mei/hw-txe.c mei_txe_reg_read(9), mei_txe_reg_write(9), mei_txe_sec_reg_read_silent(9), mei_tx... |
mei_txe_unset_pm_domain(9) | NAME mei_txe_unset_pm_domain - clean pm domain structure for device
SYNOPSIS void mei_txe_unset_pm_domain (struct mei_device *dev );
ARGUMENTS dev mei_device
SEE ALSO Kernel file ./drivers/misc/mei/pci-txe.c mei_txe_probe(9), mei_txe_shutdown(9), mei_txe_remove(9), mei_txe_set_pm_domain(9)
April 2026 ... |
mei_txe_write(9) | NAME mei_txe_write - writes a message to device.
SYNOPSIS int mei_txe_write (struct mei_device *dev , const void *hdr , size_t hdr_len , const void *data , size_t data_len );
ARGUMENTS dev the device structure
hdr header of message
hdr_len header length in bytes - must multiplicati... |
mei_vt_support_check(9) | NAME mei_vt_support_check - check if client support vtags
SYNOPSIS int mei_vt_support_check (struct mei_device *dev , const uuid_le *uuid );
ARGUMENTS dev mei_device
uuid client UUID
DESCRIPTION Locking: called under "dev->device_lock" lock
RETURN 0 - supported -ENOTTY - no such client -EOPNO... |
mei_wd(9) | NAME mei_wd - wd client on the bus, change protocol version as the API has changed.
SYNOPSIS void mei_wd (struct mei_cl_device *cldev );
ARGUMENTS cldev me clients device
SEE ALSO Kernel file ./drivers/misc/mei/bus-fixup.c number_of_connections(9), blacklist(9), whitelist(9), mei_nfc_if_version(9), mei_nfc_rad... |
mei_wdt_notif(9) | NAME mei_wdt_notif - callback for event notification
SYNOPSIS void mei_wdt_notif (struct mei_cl_device *cldev );
ARGUMENTS cldev bus device
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), struct mei_wdt_start_request(9), struct mei_wdt_start_re... |
mei_wdt_ops_ping(9) | NAME mei_wdt_ops_ping - wd ping command from the watchdog core.
SYNOPSIS int mei_wdt_ops_ping (struct watchdog_device *wdd );
ARGUMENTS wdd watchdog device
RETURN 0 if success, negative errno code on failure
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct ... |
mei_wdt_ops_set_timeout(9) | NAME mei_wdt_ops_set_timeout - wd set timeout command from the watchdog core.
SYNOPSIS int mei_wdt_ops_set_timeout (struct watchdog_device *wdd , unsigned int timeout );
ARGUMENTS wdd watchdog device
timeout timeout value to set
RETURN 0 if success, negative errno code for failure
SEE ALSO Kerne... |
mei_wdt_ops_start(9) | NAME mei_wdt_ops_start - wd start command from the watchdog core.
SYNOPSIS int mei_wdt_ops_start (struct watchdog_device *wdd );
ARGUMENTS wdd watchdog device
RETURN 0 on success or -ENODEV;
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), st... |
mei_wdt_ops_stop(9) | NAME mei_wdt_ops_stop - wd stop command from the watchdog core.
SYNOPSIS int mei_wdt_ops_stop (struct watchdog_device *wdd );
ARGUMENTS wdd watchdog device
RETURN 0 if success, negative errno code for failure
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct... |
mei_wdt_ping(9) | NAME mei_wdt_ping - send wd start/ping command
SYNOPSIS int mei_wdt_ping (struct mei_wdt *wdt );
ARGUMENTS wdt mei watchdog device
RETURN 0 on success, negative errno code on failure
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), struct mei... |
mei_wdt_register(9) | NAME mei_wdt_register - register with the watchdog subsystem
SYNOPSIS int mei_wdt_register (struct mei_wdt *wdt );
ARGUMENTS wdt mei watchdog device
RETURN 0 if success, negative errno code for failure
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc... |
mei_wdt_rx(9) | NAME mei_wdt_rx - callback for data receive
SYNOPSIS void mei_wdt_rx (struct mei_cl_device *cldev );
ARGUMENTS cldev bus device
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), struct mei_wdt_start_request(9), struct mei_wdt_start_response(9), s... |
mei_wdt_stop(9) | NAME mei_wdt_stop - send wd stop command
SYNOPSIS int mei_wdt_stop (struct mei_wdt *wdt );
ARGUMENTS wdt mei watchdog device
RETURN 0 on success, negative errno code on failure
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), struct mei_wdt_s... |
mei_wdt_unregister(9) | NAME mei_wdt_unregister - unregister from the watchdog subsystem
SYNOPSIS void mei_wdt_unregister (struct mei_wdt *wdt );
ARGUMENTS wdt mei watchdog device
SEE ALSO Kernel file ./drivers/watchdog/mei_wdt.c enum mei_wdt_state(9), struct mei_wdt(9), struct mei_mc_hdr(9), struct mei_wdt_start_request(9), struc... |
mei_write(9) | NAME mei_write - the write function.
SYNOPSIS ssize_t mei_write (struct file *file , const char __user *ubuf , size_t length , loff_t *offset );
ARGUMENTS file pointer to file structure
ubuf pointer to user buffer
length buffer length
offset data offset in buffer
RETUR... |
mei_write_is_idle(9) | NAME mei_write_is_idle - check if the write queues are idle
SYNOPSIS bool mei_write_is_idle (struct mei_device *dev );
ARGUMENTS dev the device structure
RETURN true of there is no pending write
SEE ALSO Kernel file ./drivers/misc/mei/init.c mei_fw_status2str(9), mei_cancel_work(9), mei_reset(9), mei_start(... |
mem(4) | NAME mem, kmem, port - system memory, kernel memory and system ports
DESCRIPTION /dev/mem is a character device file that is an image of the main memory of the computer. It may be used, for example, to examine (and even patch) the system.
Byte addresses in /dev/mem are interpreted as physical memory addresses... |
mem_cgroup_calculate_protection(9) | NAME mem_cgroup_calculate_protection - check if memory consumption is in the normal range
SYNOPSIS void mem_cgroup_calculate_protection (struct mem_cgroup *root , struct mem_cgroup *memcg );
ARGUMENTS root the top ancestor of the sub-tree being checked
memcg the memory cgroup to check
DESCRIPTIO... |
mem_cgroup_charge(9) | NAME mem_cgroup_charge - Charge a newly allocated folio to a cgroup.
SYNOPSIS int mem_cgroup_charge (struct folio *folio , struct mm_struct *mm , gfp_t gfp );
ARGUMENTS folio Folio to charge.
mm mm context of the allocating task.
gfp Reclaim mode.
DESCRIPTION Try to charge foli... |
mem_cgroup_charge_hugetlb(9) | NAME mem_cgroup_charge_hugetlb - charge the memcg for a hugetlb folio
SYNOPSIS int mem_cgroup_charge_hugetlb (struct folio *folio , gfp_t gfp );
ARGUMENTS folio folio being charged
gfp reclaim mode
DESCRIPTION This function is called when allocating a huge page folio, after the page has al... |
mem_cgroup_css_from_folio(9) | NAME mem_cgroup_css_from_folio - css of the memcg associated with a folio
SYNOPSIS struct cgroup_subsys_state * mem_cgroup_css_from_folio (struct folio *folio );
ARGUMENTS folio folio of interest
DESCRIPTION If memcg is bound to the default hierarchy, css of the memcg associated with folio is returned. The r... |
mem_cgroup_css_reset(9) | NAME mem_cgroup_css_reset - reset the states of a mem_cgroup
SYNOPSIS void mem_cgroup_css_reset (struct cgroup_subsys_state *css );
ARGUMENTS css the target css
DESCRIPTION Reset the states of the mem_cgroup associated with css. This is invoked when the userland requests disabling on the default hierarchy... |
mem_cgroup_from_private_id(9) | NAME mem_cgroup_from_private_id - look up a memcg from a memcg id
SYNOPSIS struct mem_cgroup * mem_cgroup_from_private_id (unsigned short id );
ARGUMENTS id the memcg id to look up
DESCRIPTION Caller must hold rcu_read_lock.
SEE ALSO Kernel file ./mm/memcontrol.c mem_cgroup_css_from_folio(9), page... |
mem_cgroup_get_oom_group(9) | NAME mem_cgroup_get_oom_group - get a memory cgroup to clean up after OOM
SYNOPSIS struct mem_cgroup * mem_cgroup_get_oom_group (struct task_struct *victim , struct mem_cgroup *oom_domain );
ARGUMENTS victim task to be killed by the OOM killer
oom_domain memcg in case of memcg OOM, NULL in case of syste... |
mem_cgroup_iter(9) | NAME mem_cgroup_iter - iterate over memory cgroup hierarchy
SYNOPSIS struct mem_cgroup * mem_cgroup_iter (struct mem_cgroup *root , struct mem_cgroup *prev , struct mem_cgroup_reclaim_cookie *reclaim );
ARGUMENTS root hierarchy root
prev previously returned memcg, NULL on first invocation
... |
mem_cgroup_iter_break(9) | NAME mem_cgroup_iter_break - abort a hierarchy walk prematurely
SYNOPSIS void mem_cgroup_iter_break (struct mem_cgroup *root , struct mem_cgroup *prev );
ARGUMENTS root hierarchy root
prev last visited hierarchy member as returned by mem_cgroup_iter
SEE ALSO Kernel file ./mm/memcontrol.c ... |
mem_cgroup_lruvec(9) | NAME mem_cgroup_lruvec - get the lru list vector for a memcg & node
SYNOPSIS struct lruvec * mem_cgroup_lruvec (struct mem_cgroup *memcg , struct pglist_data *pgdat );
ARGUMENTS memcg memcg of the wanted lruvec
pgdat pglist_data
DESCRIPTION Returns the lru list vector holding pages for a given me... |
mem_cgroup_margin(9) | NAME mem_cgroup_margin - calculate chargeable space of a memory cgroup
SYNOPSIS unsigned long mem_cgroup_margin (struct mem_cgroup *memcg );
ARGUMENTS memcg the memory cgroup
DESCRIPTION Returns the maximum amount of memory mem can be charged with, in pages.
SEE ALSO Kernel file ./mm/memcontrol.c mem_c... |
mem_cgroup_migrate(9) | NAME mem_cgroup_migrate - Transfer the memcg data from the old to the new folio.
SYNOPSIS void mem_cgroup_migrate (struct folio *old , struct folio *new );
ARGUMENTS old Currently circulating folio.
new Replacement folio.
DESCRIPTION Transfer the memcg data from the old folio to the new... |
mem_cgroup_oom_synchronize(9) | NAME mem_cgroup_oom_synchronize - complete memcg OOM handling
SYNOPSIS bool mem_cgroup_oom_synchronize (bool handle );
ARGUMENTS handle actually kill/wait or just clean up the OOM state
DESCRIPTION This has to be called at the end of a page fault if the memcg OOM handler was enabled. Memcg supports userspace O... |
mem_cgroup_print_oom_context(9) | NAME mem_cgroup_print_oom_context - Print OOM information relevant to memory controller.
SYNOPSIS void mem_cgroup_print_oom_context (struct mem_cgroup *memcg , struct task_struct *p );
ARGUMENTS memcg The memory cgroup that went over limit
p Task that is going to be killed
NOTE memcg and p's ... |
mem_cgroup_print_oom_meminfo(9) | NAME mem_cgroup_print_oom_meminfo - Print OOM memory information relevant to memory controller.
SYNOPSIS void mem_cgroup_print_oom_meminfo (struct mem_cgroup *memcg );
ARGUMENTS memcg The memory cgroup that went over limit
SEE ALSO Kernel file ./mm/memcontrol.c mem_cgroup_css_from_folio(9), page_cgrou... |
mem_cgroup_replace_folio(9) | NAME mem_cgroup_replace_folio - Charge a folio's replacement.
SYNOPSIS void mem_cgroup_replace_folio (struct folio *old , struct folio *new );
ARGUMENTS old Currently circulating folio.
new Replacement folio.
DESCRIPTION Charge new as a replacement folio for old. old will be uncharged upon fr... |
mem_cgroup_scan_tasks(9) | NAME mem_cgroup_scan_tasks - iterate over tasks of a memory cgroup hierarchy
SYNOPSIS void mem_cgroup_scan_tasks (struct mem_cgroup *memcg , int (*fn)(struct task_struct *, void *) , void *arg );
ARGUMENTS memcg hierarchy root
fn function to call for each task
arg argument passe... |
mem_cgroup_sk_charge(9) | NAME mem_cgroup_sk_charge - charge socket memory
SYNOPSIS bool mem_cgroup_sk_charge (const struct sock *sk , unsigned int nr_pages , gfp_t gfp_mask );
ARGUMENTS sk socket in memcg to charge
nr_pages number of pages to charge
gfp_mask reclaim mode
DESCRIPTION Charges nr_pages to memcg. ... |
mem_cgroup_sk_uncharge(9) | NAME mem_cgroup_sk_uncharge - uncharge socket memory
SYNOPSIS void mem_cgroup_sk_uncharge (const struct sock *sk , unsigned int nr_pages );
ARGUMENTS sk socket in memcg to uncharge
nr_pages number of pages to uncharge
SEE ALSO Kernel file ./mm/memcontrol.c mem_cgroup_css_from_folio(9), p... |
mem_cgroup_swapin_charge_folio(9) | NAME mem_cgroup_swapin_charge_folio - Charge a newly allocated folio for swapin.
SYNOPSIS int mem_cgroup_swapin_charge_folio (struct folio *folio , struct mm_struct *mm , gfp_t gfp , swp_entry_t entry );
ARGUMENTS folio folio to charge.
mm mm context of the victim
gfp reclaim mo... |
mem_cgroup_uncharge(9) | NAME mem_cgroup_uncharge - Uncharge a folio.
SYNOPSIS void mem_cgroup_uncharge (struct folio *folio );
ARGUMENTS folio Folio to uncharge.
DESCRIPTION Uncharge a folio previously charged with mem_cgroup_charge.
SEE ALSO Kernel file ./include/linux/memcontrol.h mem_cgroup_charge(9), mem_cgroup_lruvec(9), folio_... |
mem_cgroup_update_lru_size(9) | NAME mem_cgroup_update_lru_size - account for adding or removing an lru page
SYNOPSIS void mem_cgroup_update_lru_size (struct lruvec *lruvec , enum lru_list lru , int zid , int nr_pages );
ARGUMENTS lruvec mem_cgroup per zone lru vector
lru index of lru list the page is sitting on
zid ... |
mem_cgroup_wb_stats(9) | NAME mem_cgroup_wb_stats - retrieve writeback related stats from its memcg
SYNOPSIS void mem_cgroup_wb_stats (struct bdi_writeback *wb , unsigned long *pfilepages , unsigned long *pheadroom , unsigned long *pdirty , unsigned long *pwriteback );
ARGUMENTS wb bdi_writeback in question
pfilepages out p... |
mem_dump_obj(9) | NAME mem_dump_obj - Print available provenance information
SYNOPSIS void mem_dump_obj (void *object );
ARGUMENTS object object for which to find provenance information.
DESCRIPTION This function uses pr_cont, so that the caller is expected to have printed out whatever preamble is appropriate. The provenance ... |
mem_is_zero(9) | NAME mem_is_zero - Check if an area of memory is all 0's.
SYNOPSIS bool mem_is_zero (const void *s , size_t n );
ARGUMENTS s The memory area
n The size of the area
RETURN True if the area of memory is all 0's.
SEE ALSO Kernel file ./include/linux/string.h memdup_array_user(9), vmemdu... |
mem_pool_used(9) | NAME mem_pool_used - get number of used slots in a memory pool
SYNOPSIS unsigned long mem_pool_used (struct io_tlb_pool *pool );
ARGUMENTS pool Software IO TLB memory pool.
DESCRIPTION The result is not accurate, see mem_used.
RETURN Approximate number of used slots.
SEE ALSO Kernel file ./kernel/dma/swio... |
mem_used(9) | NAME mem_used - get number of used slots in an allocator
SYNOPSIS unsigned long mem_used (struct io_tlb_mem *mem );
ARGUMENTS mem Software IO TLB allocator.
DESCRIPTION The result is not accurate, because there is no locking of individual areas.
RETURN Approximate number of used slots.
SEE ALSO Kernel fil... |
memac_if_mode(9) | NAME memac_if_mode - Convert an interface mode into an IF_MODE config
SYNOPSIS u32 memac_if_mode (phy_interface_t interface );
ARGUMENTS interface A phy interface mode
RETURN A configuration word, suitable for programming into the lower bits of IF_MODE.
SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/f... |
memalign(3) | NAME posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate aligned memory
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int posix_memalign(void **memptr, size_t alignment, size_t size);
void *aligned_alloc(size_t alignment, size_t size);
[[deprecated]] void *v... |
memalloc_flags_save(9) | NAME memalloc_flags_save - Add a PF_* flag to current->flags, save old value
SYNOPSIS unsigned memalloc_flags_save (unsigned flags );
ARGUMENTS flags Flags to add.
DESCRIPTION This allows PF_* flags to be conveniently added, irrespective of current value, and then the old version restored with memalloc_flags_r... |
memalloc_nofs_restore(9) | NAME memalloc_nofs_restore - Ends the implicit GFP_NOFS scope.
SYNOPSIS void memalloc_nofs_restore (unsigned int flags );
ARGUMENTS flags Flags to restore.
DESCRIPTION Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function. Always make sure that the given flags is the return value from the pa... |
memalloc_nofs_save(9) | NAME memalloc_nofs_save - Marks implicit GFP_NOFS allocation scope.
SYNOPSIS unsigned int memalloc_nofs_save (void );
ARGUMENTS void no arguments
DESCRIPTION This functions marks the beginning of the GFP_NOFS allocation scope. All further allocations will implicitly drop __GFP_FS flag and so they are sa... |
memalloc_noio_restore(9) | NAME memalloc_noio_restore - Ends the implicit GFP_NOIO scope.
SYNOPSIS void memalloc_noio_restore (unsigned int flags );
ARGUMENTS flags Flags to restore.
DESCRIPTION Ends the implicit GFP_NOIO scope started by memalloc_noio_save function. Always make sure that the given flags is the return value from the pa... |
memalloc_noio_save(9) | NAME memalloc_noio_save - Marks implicit GFP_NOIO allocation scope.
SYNOPSIS unsigned int memalloc_noio_save (void );
ARGUMENTS void no arguments
DESCRIPTION This functions marks the beginning of the GFP_NOIO allocation scope. All further allocations will implicitly drop __GFP_IO flag and so they are sa... |
memalloc_noreclaim_restore(9) | NAME memalloc_noreclaim_restore - Ends the implicit __GFP_MEMALLOC scope.
SYNOPSIS void memalloc_noreclaim_restore (unsigned int flags );
ARGUMENTS flags Flags to restore.
DESCRIPTION Ends the implicit __GFP_MEMALLOC scope started by memalloc_noreclaim_save function. Always make sure that the given flags is th... |
memalloc_noreclaim_save(9) | NAME memalloc_noreclaim_save - Marks implicit __GFP_MEMALLOC scope.
SYNOPSIS unsigned int memalloc_noreclaim_save (void );
ARGUMENTS void no arguments
DESCRIPTION This function marks the beginning of the __GFP_MEMALLOC allocation scope. All further allocations will implicitly add the __GFP_MEMALLOC flag,... |
memalloc_pin_restore(9) | NAME memalloc_pin_restore - Ends the implicit ~__GFP_MOVABLE scope.
SYNOPSIS void memalloc_pin_restore (unsigned int flags );
ARGUMENTS flags Flags to restore.
DESCRIPTION Ends the implicit ~__GFP_MOVABLE scope started by memalloc_pin_save function. Always make sure that the given flags is the return value fr... |
memalloc_pin_save(9) | NAME memalloc_pin_save - Marks implicit ~__GFP_MOVABLE scope.
SYNOPSIS unsigned int memalloc_pin_save (void );
ARGUMENTS void no arguments
DESCRIPTION This function marks the beginning of the ~__GFP_MOVABLE allocation scope. All further allocations will implicitly remove the __GFP_MOVABLE flag, which will... |
membarrier(2) | NAME membarrier - issue memory barriers on a set of threads
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <linux/membarrier.h> /* Definition of MEMBARRIER_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
int syscall(SYS_membarrier, int cmd, unsign... |
member_address_is_nonnull(9) | NAME member_address_is_nonnull - check whether the member address is not NULL
SYNOPSIS member_address_is_nonnull (ptr , member );
ARGUMENTS ptr the object pointer (struct type * that contains the llist_node)
member the name of the llist_node within the struct.
DESCRIPTION This macro is conceptua... |
memblock_add(9) | NAME memblock_add - add new memblock region
SYNOPSIS int __init_memblock memblock_add (phys_addr_t base , phys_addr_t size );
ARGUMENTS base base address of the new region
size size of the new region
DESCRIPTION Add new memblock region [base, base + size) to the "memory" type. See memblock_add_... |
memblock_add_node(9) | NAME memblock_add_node - add new memblock region within a NUMA node
SYNOPSIS int __init_memblock memblock_add_node (phys_addr_t base , phys_addr_t size , int nid , enum memblock_flags flags );
ARGUMENTS base base address of the new region
size size of the new region
nid nid of th... |
memblock_add_range(9) | NAME memblock_add_range - add new memblock region
SYNOPSIS int __init_memblock memblock_add_range (struct memblock_type *type , phys_addr_t base , phys_addr_t size , int nid , enum memblock_flags flags );
ARGUMENTS type memblock type to add new region into
base base address of the new region
... |
memblock_alloc_exact_nid_raw(9) | NAME memblock_alloc_exact_nid_raw - allocate boot memory block on the exact node without zeroing memory
SYNOPSIS void * memblock_alloc_exact_nid_raw (phys_addr_t size , phys_addr_t align , phys_addr_t min_addr , phys_addr_t max_addr , int nid );
ARGUMENTS size size of memory block to be allocated in bytes
... |
memblock_alloc_internal(9) | NAME memblock_alloc_internal - allocate boot memory block
SYNOPSIS void * memblock_alloc_internal (phys_addr_t size , phys_addr_t align , phys_addr_t min_addr , phys_addr_t max_addr , int nid , bool exact_nid );
ARGUMENTS size size of memory block to be allocated in bytes
align alignment of the r... |
memblock_alloc_range_nid(9) | NAME memblock_alloc_range_nid - allocate boot memory block
SYNOPSIS phys_addr_t memblock_alloc_range_nid (phys_addr_t size , phys_addr_t align , phys_addr_t start , phys_addr_t end , int nid , bool exact_nid );
ARGUMENTS size size of memory block to be allocated in bytes
align alignment of the re... |
memblock_alloc_try_nid(9) | NAME memblock_alloc_try_nid - allocate boot memory block
SYNOPSIS void * memblock_alloc_try_nid (phys_addr_t size , phys_addr_t align , phys_addr_t min_addr , phys_addr_t max_addr , int nid );
ARGUMENTS size size of memory block to be allocated in bytes
align alignment of the region and block's s... |
memblock_alloc_try_nid_raw(9) | NAME memblock_alloc_try_nid_raw - allocate boot memory block without zeroing memory and without panicking
SYNOPSIS void * memblock_alloc_try_nid_raw (phys_addr_t size , phys_addr_t align , phys_addr_t min_addr , phys_addr_t max_addr , int nid );
ARGUMENTS size size of memory block to be allocated in bytes
... |
memblock_clear_hotplug(9) | NAME memblock_clear_hotplug - Clear flag MEMBLOCK_HOTPLUG for a specified region.
SYNOPSIS int __init_memblock memblock_clear_hotplug (phys_addr_t base , phys_addr_t size );
ARGUMENTS base the base phys addr of the region
size the size of the region
RETURN 0 on success, -errno on failure.
SEE ... |
memblock_clear_kho_scratch(9) | NAME memblock_clear_kho_scratch - Clear MEMBLOCK_KHO_SCRATCH flag for a specified region.
SYNOPSIS int memblock_clear_kho_scratch (phys_addr_t base , phys_addr_t size );
ARGUMENTS base the base phys addr of the region
size the size of the region
RETURN 0 on success, -errno on failure.
SEE ALSO... |
memblock_clear_nomap(9) | NAME memblock_clear_nomap - Clear flag MEMBLOCK_NOMAP for a specified region.
SYNOPSIS int __init_memblock memblock_clear_nomap (phys_addr_t base , phys_addr_t size );
ARGUMENTS base the base phys addr of the region
size the size of the region
RETURN 0 on success, -errno on failure.
SEE ALSO K... |
memblock_discard(9) | NAME memblock_discard - discard memory and reserved arrays if they were allocated
SYNOPSIS void memblock_discard (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./mm/memblock.c Kernel API(9), __memblock_find_range_bottom_up(9), __memblock_find_range_top_down(9), memblock_find_in_range_node(9),... |
memblock_double_array(9) | NAME memblock_double_array - double the size of the memblock regions array
SYNOPSIS int __init_memblock memblock_double_array (struct memblock_type *type , phys_addr_t new_area_start , phys_addr_t new_area_size );
ARGUMENTS type memblock type of the regions array being doubled
new_area_start
... |
memblock_estimated_nr_free_pages(9) | NAME memblock_estimated_nr_free_pages - return estimated number of free pages from memblock point of view
SYNOPSIS unsigned long memblock_estimated_nr_free_pages (void );
ARGUMENTS void no arguments
DESCRIPTION During bootup, subsystems might need a rough estimate of the number of free pages in the whole syst... |
memblock_find_in_range(9) | NAME memblock_find_in_range - find free area in given range
SYNOPSIS phys_addr_t __init_memblock memblock_find_in_range (phys_addr_t start , phys_addr_t end , phys_addr_t size , phys_addr_t align );
ARGUMENTS start start of candidate range
end end of candidate range, can be MEMBLOCK_ALLOC_ANYWHE... |
memblock_find_in_range_node(9) | NAME memblock_find_in_range_node - find free area in given range and node
SYNOPSIS phys_addr_t __init_memblock memblock_find_in_range_node (phys_addr_t size , phys_addr_t align , phys_addr_t start , phys_addr_t end , int nid , enum memblock_flags flags );
ARGUMENTS size size of free area to find
align ... |
memblock_free(9) | NAME memblock_free - free boot memory allocation
SYNOPSIS void __init_memblock memblock_free (void *ptr , size_t size );
ARGUMENTS ptr starting address of the boot memory allocation
size size of the boot memory block in bytes
DESCRIPTION Free boot memory block previously allocated by memblock... |
memblock_free_all(9) | NAME memblock_free_all - release free pages to the buddy allocator
SYNOPSIS void memblock_free_all (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./mm/memblock.c Kernel API(9), __memblock_find_range_bottom_up(9), __memblock_find_range_top_down(9), memblock_find_in_range_node(9), memblock_find_in_... |
memblock_free_late(9) | NAME memblock_free_late - free pages directly to buddy allocator
SYNOPSIS void memblock_free_late (phys_addr_t base , phys_addr_t size );
ARGUMENTS base phys starting address of the boot memory block
size size of the boot memory block in bytes
DESCRIPTION This is only useful when the memblock ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.