id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pdcs_osdep1_read(9) | NAME pdcs_osdep1_read - Stable Storage OS-Dependent data area 1 output.
SYNOPSIS ssize_t pdcs_osdep1_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output b... |
pdcs_osdep1_write(9) | NAME pdcs_osdep1_write - Stable Storage OS-Dependent data area 1 input.
SYNOPSIS ssize_t pdcs_osdep1_write (struct kobject *kobj , struct kobj_attribute *attr , const char *buf , size_t count );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
bu... |
pdcs_osdep2_read(9) | NAME pdcs_osdep2_read - Stable Storage OS-Dependent data area 2 output.
SYNOPSIS ssize_t pdcs_osdep2_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output b... |
pdcs_osdep2_write(9) | NAME pdcs_osdep2_write - Stable Storage OS-Dependent data area 2 input.
SYNOPSIS ssize_t pdcs_osdep2_write (struct kobject *kobj , struct kobj_attribute *attr , const char *buf , size_t count );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
bu... |
pdcs_osid_read(9) | NAME pdcs_osid_read - Stable Storage OS ID register output.
SYNOPSIS ssize_t pdcs_osid_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buffer to write... |
pdcs_register_pathentries(9) | NAME pdcs_register_pathentries - Prepares path entries kobjects for sysfs usage.
SYNOPSIS int pdcs_register_pathentries (void );
ARGUMENTS void no arguments
DESCRIPTION It creates kobjects corresponding to each path entry with nice sysfs links to the real device. This is where the magic takes place: when regi... |
pdcs_size_read(9) | NAME pdcs_size_read - Stable Storage size output.
SYNOPSIS ssize_t pdcs_size_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buffer to write to.
SEE ... |
pdcs_timer_read(9) | NAME pdcs_timer_read - Stable Storage timer count output (in seconds).
SYNOPSIS ssize_t pdcs_timer_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buf... |
pdcs_unregister_pathentries(9) | NAME pdcs_unregister_pathentries - Routine called when unregistering the module.
SYNOPSIS void pdcs_unregister_pathentries (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/parisc/pdc_stable.c pdcspath_fetch(9), pdcspath_store(9), pdcspath_hwpath_read(9), pdcspath_hwpath_write(9), ... |
pdcspath_attr_show(9) | NAME pdcspath_attr_show - Generic read function call wrapper.
SYNOPSIS ssize_t pdcspath_attr_show (struct kobject *kobj , struct attribute *attr , char *buf );
ARGUMENTS kobj The kobject to get info from.
attr The attribute looked upon.
buf The output buffer.
SEE ALSO Kernel f... |
pdcspath_attr_store(9) | NAME pdcspath_attr_store - Generic write function call wrapper.
SYNOPSIS ssize_t pdcspath_attr_store (struct kobject *kobj , struct attribute *attr , const char *buf , size_t count );
ARGUMENTS kobj The kobject to write info to.
attr The attribute to be modified.
buf The input bu... |
pdcspath_fetch(9) | NAME pdcspath_fetch - This function populates the path entry structs.
SYNOPSIS int pdcspath_fetch (struct pdcspath_entry *entry );
ARGUMENTS entry A pointer to an allocated pdcspath_entry.
DESCRIPTION The general idea is that you don't read from the Stable Storage every time you access the files provided by t... |
pdcspath_hwpath_read(9) | NAME pdcspath_hwpath_read - This function handles hardware path pretty printing.
SYNOPSIS ssize_t pdcspath_hwpath_read (struct pdcspath_entry *entry , char *buf );
ARGUMENTS entry An allocated and populated pdscpath_entry struct.
buf The output buffer to write to.
DESCRIPTION We will call this ... |
pdcspath_hwpath_write(9) | NAME pdcspath_hwpath_write - This function handles hardware path modifying.
SYNOPSIS ssize_t pdcspath_hwpath_write (struct pdcspath_entry *entry , const char *buf , size_t count );
ARGUMENTS entry An allocated and populated pdscpath_entry struct.
buf The input buffer to read from.
count ... |
pdcspath_layer_read(9) | NAME pdcspath_layer_read - Extended layer (eg. SCSI ids) pretty printing.
SYNOPSIS ssize_t pdcspath_layer_read (struct pdcspath_entry *entry , char *buf );
ARGUMENTS entry An allocated and populated pdscpath_entry struct.
buf The output buffer to write to.
DESCRIPTION We will call this function... |
pdcspath_layer_write(9) | NAME pdcspath_layer_write - This function handles extended layer modifying.
SYNOPSIS ssize_t pdcspath_layer_write (struct pdcspath_entry *entry , const char *buf , size_t count );
ARGUMENTS entry An allocated and populated pdscpath_entry struct.
buf The input buffer to read from.
count ... |
pdcspath_store(9) | NAME pdcspath_store - This function writes a path to stable storage.
SYNOPSIS void pdcspath_store (struct pdcspath_entry *entry );
ARGUMENTS entry A pointer to an allocated pdcspath_entry.
DESCRIPTION It can be used in two ways: either by passing it a preset devpath struct containing an already computed hardwa... |
pdfarranger(1) | NAME pdfarranger - Application for PDF Merging, Rearranging, Splitting, and Cropping
SYNOPSIS pdfarranger [file1] [file2] ...
DESCRIPTION PDF Arranger is a small python-gtk application, which helps the user to merge or split pdf documents and rearrange their pages using an interactive and intuitive graphical interfac... |
pdfatfi(1) | NAME pdfatfi - Help program for the LaTeX package attachfile2.
SYNOPSIS pdfatfi <command> [<options>] <file[.atfi]>]
DESCRIPTION Helper program for the LaTeX package attachfile2.
This package also tries to get and add meta information data, such as file size, file date, checksum, ....
The script pdfat... |
pdfbook2(1) | NAME pdfbook2 - transform pdf files into booklets for double-sided printing
SYNOPSIS pdfbook2 [ options ] INPUT [ INPUT, ...]
DESCRIPTION Create print-ready PDF files from some INPUT PDF files for booklet printing. The resulting files need to be printed in landscape/long edge double sided printing. The default ... |
pdfclose(1) | NAME pdfopen, pdfclose - open or close a PDF file viewer
SYNOPSIS pdfopen [ options ] [ --file ] file.pdf pdfclose [ --file ] file.pdf
OPTIONS -h, --help, -? output help and exit.
-v, --version, -V
output the version number and exit.
-p <n>, --page <n>
when starting t... |
pdfetex(1) | NAME pdfetex - PDF output from e-TeX
SYNOPSIS pdfetex [options] [&format] [file|\commands]
DESCRIPTION pdfeTeX is another name for pdfTeX; they behave identically. See pdftex(1) for all information.
SEE ALSO pdftex(1), http://pdftex.org, http://tug.org/web2c.
Web2C 2025 ... |
pdfjam(1) | NAME pdfjam - A shell script for manipulating PDF files
SYNOPSIS pdfjam [options] [--] [file[pages]]...
DESCRIPTION pdfjam assembles a list of documents (pdf, ps, eps, jpg or png) into a single pdf. It allows to rotate, scale, reorder and combine pages freely using the power of the 'pdfpages' and 'graphicx' LaTeX pa... |
pdflatex(1) | NAME pdftex - PDF output from TeX
SYNOPSIS pdftex [options] [&format] [file|\commands]
DESCRIPTION Run the pdfTeX typesetter on file, usually creating file.pdf. If the file argument has no extension, ".tex" will be appended to it. Instead of a filename, a set of pdfTeX commands can be given, the first of which mu... |
pdfman(1) | NAME pdfman - render a manual page in PDF
SYNOPSIS pdfman [man-options] [section] page
DESCRIPTION The pdfman command renders a manual page in PDF. All the arguments are interpreted by man(1).
SEE ALSO man(1), groff(1), gropdf(1), xdg-open(1)
Linux man-pages 6.16 ... |
pdfopen(1) | NAME pdfopen, pdfclose - open or close a PDF file viewer
SYNOPSIS pdfopen [ options ] [ --file ] file.pdf pdfclose [ --file ] file.pdf
OPTIONS -h, --help, -? output help and exit.
-v, --version, -V
output the version number and exit.
-p <n>, --page <n>
when starting t... |
pdftex(1) | NAME pdftex - PDF output from TeX
SYNOPSIS pdftex [options] [&format] [file|\commands]
DESCRIPTION Run the pdfTeX typesetter on file, usually creating file.pdf. If the file argument has no extension, ".tex" will be appended to it. Instead of a filename, a set of pdfTeX commands can be given, the first of which mu... |
pdftexi2dvi(1) | NAME texi2dvi - convert Texinfo documents to DVI or PDF
SYNOPSIS texi2dvi [OPTION]... FILE... texi2pdf [OPTION]... FILE... pdftexi2dvi [OPTION]... FILE...
DESCRIPTION Run each Texinfo or (La)TeX FILE through TeX in turn until all cross-references are resolved, building all indices. The directory containing each FILE... |
pdftosrc(1) | NAME pdftosrc - extract source file or stream from PDF file
SYNOPSIS pdftosrc PDF-file [stream-object-number]
DESCRIPTION If only PDF-file is given as argument, pdftosrc extracts the embedded source file from the first found stream object with /Type /SourceFile within the PDF-file and writes it to a file with the na... |
pdfxup(1) | NAME pdfxup - n-up tool with reduced margins
SYNOPSIS pdfxup [OPTIONS] [FILE]
DESCRIPTION pdfxup creates a PDF document where each page is obtained by combining several pages of a PDF file given as output. The important feature of pdfxup, compared to similar programs, is that it tries to compute the (global) boundi... |
pdr_add_lookup(9) | NAME pdr_add_lookup - register a tracking request for a PD
SYNOPSIS struct pdr_service * pdr_add_lookup (struct pdr_handle *pdr , const char *service_name , const char *service_path );
ARGUMENTS pdr PDR client handle
service_name
service name of the tracking request
service_... |
pdr_handle_alloc(9) | NAME pdr_handle_alloc - initialize the PDR client handle
SYNOPSIS struct pdr_handle * pdr_handle_alloc (void (*status)(int state, char *service_path, void *priv) , void *priv );
ARGUMENTS status function to be called on PD state change
priv handle for client's use
DESCRIPTION Initializes the PDR ... |
pdr_handle_release(9) | NAME pdr_handle_release - release the PDR client handle
SYNOPSIS void pdr_handle_release (struct pdr_handle *pdr );
ARGUMENTS pdr PDR client handle
DESCRIPTION Cleans up pending tracking requests and releases the underlying qmi handles.
SEE ALSO Kernel file ./drivers/soc/qcom/pdr_interface.c pdr_add_lookup(... |
pdr_restart_pd(9) | NAME pdr_restart_pd - restart PD
SYNOPSIS int pdr_restart_pd (struct pdr_handle *pdr , struct pdr_service *pds );
ARGUMENTS pdr PDR client handle
pds PD service handle
DESCRIPTION Restarts the PD tracked by the PDR client handle for a given service path.
RETURN 0 on success, negative errno o... |
pds_client_adminq_cmd(9) | NAME pds_client_adminq_cmd - Process an adminq request for the client
SYNOPSIS int pds_client_adminq_cmd (struct pds_auxiliary_dev *padev , union pds_core_adminq_cmd *req , size_t req_len , union pds_core_adminq_comp *resp , u64 flags );
ARGUMENTS padev ptr to the client device
req ptr to buffer... |
pds_client_register(9) | NAME pds_client_register - Link the client to the firmware
SYNOPSIS int pds_client_register (struct pdsc *pf , char *devname );
ARGUMENTS pf ptr to the PF driver's private data struct
devname name that includes service into, e.g. pds_core.vDPA
RETURN positive client ID (ci) on success, or negati... |
pds_client_unregister(9) | NAME pds_client_unregister - Unlink the client from the firmware
SYNOPSIS int pds_client_unregister (struct pdsc *pf , u16 client_id );
ARGUMENTS pf ptr to the PF driver's private data struct
client_id id returned from pds_client_register
RETURN 0 on success, or negative for error
SEE ALSO Kernel... |
pecho_wchar.3x(3) | NAME newpad, subpad, prefresh, pnoutrefresh, pechochar, pecho_wchar - create and display curses pads
SYNOPSIS #include <ncursesw/curses.h>
WINDOW *newpad(int nlines, int ncols);
WINDOW *subpad(WINDOW *parent, int nlines, int ncols,
int begin_y, int begin_x);
int prefresh(WINDOW *pad... |
pechochar.3x(3) | NAME newpad, subpad, prefresh, pnoutrefresh, pechochar, pecho_wchar - create and display curses pads
SYNOPSIS #include <ncursesw/curses.h>
WINDOW *newpad(int nlines, int ncols);
WINDOW *subpad(WINDOW *parent, int nlines, int ncols,
int begin_y, int begin_x);
int prefresh(WINDOW *pad... |
peci_driver_register(9) | NAME peci_driver_register - register PECI driver
SYNOPSIS peci_driver_register (driver );
ARGUMENTS driver the driver to be registered
DESCRIPTION PECI drivers that don't need to do anything special in module init should use the convenience "module_peci_driver" macro instead
RETURN zero on success, else a nega... |
peci_ep_pci_local_read(9) | NAME peci_ep_pci_local_read - read 32-bit memory location using raw address
SYNOPSIS int peci_ep_pci_local_read (struct peci_device *device , u8 seg , u8 bus , u8 dev , u8 func , u16 reg , u32 *data );
ARGUMENTS device PECI device to which request is going to be sent
seg PCI segment
bus ... |
peci_mmio_read(9) | NAME peci_mmio_read - read 32-bit memory location using 64-bit bar offset address
SYNOPSIS int peci_mmio_read (struct peci_device *device , u8 bar , u8 seg , u8 bus , u8 dev , u8 func , u64 address , u32 *data );
ARGUMENTS device PECI device to which request is going to be sent
bar PCI bar
... |
peci_pci_local_read(9) | NAME peci_pci_local_read - read 32-bit memory location using raw address
SYNOPSIS int peci_pci_local_read (struct peci_device *device , u8 bus , u8 dev , u8 func , u16 reg , u32 *data );
ARGUMENTS device PECI device to which request is going to be sent
bus bus
dev device
f... |
peci_pcs_read(9) | NAME peci_pcs_read - read PCS register
SYNOPSIS int peci_pcs_read (struct peci_device *device , u8 index , u16 param , u32 *data );
ARGUMENTS device PECI device to which request is going to be sent
index PCS index
param PCS parameter
data where to store the read data
D... |
peci_request_alloc(9) | NAME peci_request_alloc - allocate &struct peci_requests
SYNOPSIS struct peci_request * peci_request_alloc (struct peci_device *device , u8 tx_len , u8 rx_len );
ARGUMENTS device PECI device to which request is going to be sent
tx_len TX length
rx_len RX length
RETURN A pointer to a ne... |
peci_request_free(9) | NAME peci_request_free - free peci_request
SYNOPSIS void peci_request_free (struct peci_request *req );
ARGUMENTS req the PECI request to be freed
SEE ALSO Kernel file ./drivers/peci/request.c peci_request_status(9), peci_request_alloc(9)
April 2026 ... |
peci_request_status(9) | NAME peci_request_status - return -errno based on PECI completion code
SYNOPSIS int peci_request_status (struct peci_request *req );
ARGUMENTS req the PECI request that contains response data with completion code
DESCRIPTION It can't be used for Ping, GetDIB and GetTemp - for those commands we don't expect c... |
peci_sensor_mark_updated(9) | NAME peci_sensor_mark_updated - mark the sensor is updated
SYNOPSIS void peci_sensor_mark_updated (struct peci_sensor_state *state );
ARGUMENTS state -- undescribed --
SEE ALSO Kernel file ./drivers/hwmon/peci/common.h struct peci_sensor_state(9), struct peci_sensor_data(9), peci_sensor_need_update(9)
April 2... |
peci_sensor_need_update(9) | NAME peci_sensor_need_update - check whether sensor update is needed or not
SYNOPSIS bool peci_sensor_need_update (struct peci_sensor_state *state );
ARGUMENTS state -- undescribed --
RETURN true if update is needed, false if not.
SEE ALSO Kernel file ./drivers/hwmon/peci/common.h struct peci_sensor_state(9),... |
peci_temp_read(9) | NAME peci_temp_read - read the maximum die temperature from PECI target device
SYNOPSIS int peci_temp_read (struct peci_device *device , s16 *temp_raw );
ARGUMENTS device PECI device to which request is going to be sent
temp_raw where to store the read temperature
DESCRIPTION It uses GetTemp PECI com... |
pee(1) | NAME pee - tee standard input to pipes
SYNOPSIS
pee [--[no-]ignore-sigpipe] [--[no-]ignore-write-errors] [["command"...]]
DESCRIPTION pee is like tee but for pipes. Each command is run and fed a copy of the standard input. The output of all commands is sent to stdout.
Note that while this is similar t... |
pem_password_cb.3ssl(3) | NAME pem_password_cb, PEM_read_bio_PrivateKey_ex, PEM_read_bio_PrivateKey, PEM_read_PrivateKey_ex, PEM_read_PrivateKey, PEM_write_bio_PrivateKey_ex, PEM_write_bio_PrivateKey, PEM_write_bio_PrivateKey_traditional, PEM_write_PrivateKey_ex, PEM_write_PrivateKey, PEM_write_bio_PKCS8PrivateKey, PEM_write_PKCS8PrivateKey, PE... |
pending_reboot_show(9) | NAME pending_reboot_show - sysfs implementaton for read pending_reboot
SYNOPSIS ssize_t pending_reboot_show (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj Kernel object for this attribute
attr Kernel object attribute
buf The buffer to display to... |
per_cpu_ptr_to_phys(9) | NAME per_cpu_ptr_to_phys - convert translated percpu address to physical address
SYNOPSIS phys_addr_t per_cpu_ptr_to_phys (void *addr );
ARGUMENTS addr the address to be converted to physical address
DESCRIPTION Given addr which is dereferenceable address obtained via one of percpu access macros, this fun... |
percpu_ref_exit(9) | NAME percpu_ref_exit - undo percpu_ref_init()
SYNOPSIS void percpu_ref_exit (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to exit
DESCRIPTION This function exits ref. The caller is responsible for ensuring that ref is no longer in active use. The usual places to invoke this function from are ... |
percpu_ref_get(9) | NAME percpu_ref_get - increment a percpu refcount
SYNOPSIS void percpu_ref_get (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to get
DESCRIPTION Analogous to atomic_long_inc. This function is safe to call as long as ref is between init and exit.
SEE ALSO Kernel file ./include/linux/percpu-refcount.h ... |
percpu_ref_get_many(9) | NAME percpu_ref_get_many - increment a percpu refcount
SYNOPSIS void percpu_ref_get_many (struct percpu_ref *ref , unsigned long nr );
ARGUMENTS ref percpu_ref to get
nr number of references to get
DESCRIPTION Analogous to atomic_long_add. This function is safe to call as long as ref is bet... |
percpu_ref_init(9) | NAME percpu_ref_init - initialize a percpu refcount
SYNOPSIS int percpu_ref_init (struct percpu_ref *ref , percpu_ref_func_t *release , unsigned int flags , gfp_t gfp );
ARGUMENTS ref percpu_ref to initialize
release function which will be called when refcount hits 0
flags PERCPU_REF... |
percpu_ref_is_dying(9) | NAME percpu_ref_is_dying - test whether a percpu refcount is dying or dead
SYNOPSIS bool percpu_ref_is_dying (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to test
DESCRIPTION Returns true if ref is dying or dead. This function is safe to call as long as ref is between init and exit and the caller is r... |
percpu_ref_is_zero(9) | NAME percpu_ref_is_zero - test whether a percpu refcount reached zero
SYNOPSIS bool percpu_ref_is_zero (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to test
DESCRIPTION Returns true if ref reached zero. This function is safe to call as long as ref is between init and exit.
SEE ALSO Kernel file ./li... |
percpu_ref_kill(9) | NAME percpu_ref_kill - drop the initial ref
SYNOPSIS void percpu_ref_kill (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to kill
DESCRIPTION Must be used to drop the initial ref on a percpu refcount; must be called precisely once before shutdown. Switches ref into atomic mode before gathering up the p... |
percpu_ref_kill_and_confirm(9) | NAME percpu_ref_kill_and_confirm - drop the initial ref and schedule confirmation
SYNOPSIS void percpu_ref_kill_and_confirm (struct percpu_ref *ref , percpu_ref_func_t *confirm_kill );
ARGUMENTS ref percpu_ref to kill
confirm_kill
optional confirmation callback
DESCRIPTION Equivale... |
percpu_ref_put(9) | NAME percpu_ref_put - decrement a percpu refcount
SYNOPSIS void percpu_ref_put (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to put
DESCRIPTION Decrement the refcount, and if 0, call the release function (which was passed to percpu_ref_init) This function is safe to call as long as ref is between init ... |
percpu_ref_put_many(9) | NAME percpu_ref_put_many - decrement a percpu refcount
SYNOPSIS void percpu_ref_put_many (struct percpu_ref *ref , unsigned long nr );
ARGUMENTS ref percpu_ref to put
nr number of references to put
DESCRIPTION Decrement the refcount, and if 0, call the release function (which was passed to p... |
percpu_ref_reinit(9) | NAME percpu_ref_reinit - re-initialize a percpu refcount
SYNOPSIS void percpu_ref_reinit (struct percpu_ref *ref );
ARGUMENTS ref perpcu_ref to re-initialize
DESCRIPTION Re-initialize ref so that it's in the same state as when it finished percpu_ref_init ignoring PERCPU_REF_INIT_DEAD. ref mus... |
percpu_ref_resurrect(9) | NAME percpu_ref_resurrect - modify a percpu refcount from dead to live
SYNOPSIS void percpu_ref_resurrect (struct percpu_ref *ref );
ARGUMENTS ref perpcu_ref to resurrect
DESCRIPTION Modify ref so that it's in the same state as before percpu_ref_kill was called. ref must be dead but must not yet have exite... |
percpu_ref_switch_to_atomic(9) | NAME percpu_ref_switch_to_atomic - switch a percpu_ref to atomic mode
SYNOPSIS void percpu_ref_switch_to_atomic (struct percpu_ref *ref , percpu_ref_func_t *confirm_switch );
ARGUMENTS ref percpu_ref to switch to atomic mode
confirm_switch
optional confirmation callback
DESCRIPTION... |
percpu_ref_switch_to_atomic_sync(9) | NAME percpu_ref_switch_to_atomic_sync - switch a percpu_ref to atomic mode
SYNOPSIS void percpu_ref_switch_to_atomic_sync (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to switch to atomic mode
DESCRIPTION Schedule switching the ref to atomic mode, and wait for the switch to complete. Caller must ensur... |
percpu_ref_switch_to_percpu(9) | NAME percpu_ref_switch_to_percpu - switch a percpu_ref to percpu mode
SYNOPSIS void percpu_ref_switch_to_percpu (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to switch to percpu mode
DESCRIPTION There's no reason to use this function for the usual reference counting. To re-use an expired ref, use perc... |
percpu_ref_tryget(9) | NAME percpu_ref_tryget - try to increment a percpu refcount
SYNOPSIS bool percpu_ref_tryget (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to try-get
DESCRIPTION Increment a percpu refcount unless its count already reached zero. Returns true on success; false on failure. This function is safe to call ... |
percpu_ref_tryget_live(9) | NAME percpu_ref_tryget_live - try to increment a live percpu refcount
SYNOPSIS bool percpu_ref_tryget_live (struct percpu_ref *ref );
ARGUMENTS ref percpu_ref to try-get
DESCRIPTION Increment a percpu refcount unless it has already been killed. Returns true on success; false on failure. Completion of percp... |
percpu_ref_tryget_live_rcu(9) | NAME percpu_ref_tryget_live_rcu - same as percpu_ref_tryget_live() but the caller is responsible for taking RCU.
SYNOPSIS bool percpu_ref_tryget_live_rcu (struct percpu_ref *ref );
ARGUMENTS ref -- undescribed --
DESCRIPTION This function is safe to call as long as ref is between init and exit.
SEE ALSO Ker... |
percpu_ref_tryget_many(9) | NAME percpu_ref_tryget_many - try to increment a percpu refcount
SYNOPSIS bool percpu_ref_tryget_many (struct percpu_ref *ref , unsigned long nr );
ARGUMENTS ref percpu_ref to try-get
nr number of references to get
DESCRIPTION Increment a percpu refcount by nr unless its count already reach... |
perf_cpu_map__cpu(9) | NAME perf_cpu_map__cpu - get the CPU value at the given index. Returns -1 if index is invalid.
SYNOPSIS LIBPERF_API struct perf_cpu perf_cpu_map__cpu (const struct perf_cpu_map *cpus , int idx );
ARGUMENTS cpus -- undescribed --
idx -- undescribed --
SEE ALSO Kernel file ./tools/lib/per... |
perf_cpu_map__has_any_cpu_or_is_empty(9) | NAME perf_cpu_map__has_any_cpu_or_is_empty - is map either empty or has the "any CPU"/dummy value.
SYNOPSIS LIBPERF_API bool perf_cpu_map__has_any_cpu_or_is_empty (const struct perf_cpu_map *map );
ARGUMENTS map -- undescribed --
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__new_... |
perf_cpu_map__is_any_cpu_or_is_empty(9) | NAME perf_cpu_map__is_any_cpu_or_is_empty - is map either empty or the "any CPU"/dummy value.
SYNOPSIS LIBPERF_API bool perf_cpu_map__is_any_cpu_or_is_empty (const struct perf_cpu_map *map );
ARGUMENTS map -- undescribed --
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__new_any_cpu... |
perf_cpu_map__is_empty(9) | NAME perf_cpu_map__is_empty - does the map contain no values and it doesn't contain the special "any CPU"/dummy value.
SYNOPSIS LIBPERF_API bool perf_cpu_map__is_empty (const struct perf_cpu_map *map );
ARGUMENTS map -- undescribed --
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__... |
perf_cpu_map__max(9) | NAME perf_cpu_map__max - the maximum CPU value or -1 if empty or just the "any CPU"/dummy value.
SYNOPSIS LIBPERF_API struct perf_cpu perf_cpu_map__max (const struct perf_cpu_map *map );
ARGUMENTS map -- undescribed --
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__new_any_cpu(9), ... |
perf_cpu_map__min(9) | NAME perf_cpu_map__min - the minimum CPU value or -1 if empty or just the "any CPU"/dummy value.
SYNOPSIS LIBPERF_API struct perf_cpu perf_cpu_map__min (const struct perf_cpu_map *map );
ARGUMENTS map -- undescribed --
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__new_any_cpu(9), ... |
perf_cpu_map__new(9) | NAME perf_cpu_map__new - create a map from the given cpu_list such as "0-7". If no cpu_list argument is provided then perf_cpu_map__new_online_cpus is returned.
SYNOPSIS LIBPERF_API struct perf_cpu_map * perf_cpu_map__new (const char *cpu_list );
ARGUMENTS cpu_list -- undescribed --
SEE ALSO Kernel file ./... |
perf_cpu_map__new_any_cpu(9) | NAME perf_cpu_map__new_any_cpu - a map with a singular "any CPU"/dummy -1 value.
SYNOPSIS LIBPERF_API struct perf_cpu_map * perf_cpu_map__new_any_cpu (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./tools/lib/perf/include/perf/cpumap.h perf_cpu_map__new_online_cpus(9), perf_cpu_ma... |
perf_cpu_map__new_online_cpus(9) | NAME perf_cpu_map__new_online_cpus - a map read from /sys/devices/system/cpu/online if available. If reading wasn't possible a map is created using the online processors assuming the first 'n' processors are all online.
SYNOPSIS LIBPERF_API struct perf_cpu_map * perf_cpu_map__new_online_cpus (void );
ARGUMENTS void ... |
perf_cpu_map__nr(9) | NAME perf_cpu_map__nr - for an empty map returns 1, as perf_cpu_map__cpu returns a cpu of -1 for an invalid index, this makes an empty map look like it contains the "any CPU"/dummy value. Otherwise the result is the number CPUs in the map plus one if the "any CPU"/dummy value is present.
SYNOPSIS LIBPERF_API int p... |
perf_error__register(9) | NAME perf_error__register - Register error logging functions
SYNOPSIS int perf_error__register (struct perf_error_ops *eops );
ARGUMENTS eops The pointer to error logging function struct
DESCRIPTION Register UI-specific error logging functions. Before calling this, other logging functions should be unregister... |
perf_error__unregister(9) | NAME perf_error__unregister - Unregister error logging functions
SYNOPSIS int perf_error__unregister (struct perf_error_ops *eops );
ARGUMENTS eops The pointer to error logging function struct
DESCRIPTION Unregister already registered error logging functions.
SEE ALSO Kernel file ./tools/perf/ui/util.c perf_... |
perf_event_create_kernel_counter(9) | NAME perf_event_create_kernel_counter -
SYNOPSIS struct perf_event * perf_event_create_kernel_counter (struct perf_event_attr *attr , int cpu , struct task_struct *task , perf_overflow_handler_t overflow_handler , void *context );
ARGUMENTS attr attributes of the counter to create
cpu cpu in wh... |
perf_event_open(2) | NAME perf_event_open - set up performance monitoring
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <linux/perf_event.h> /* Definition of PERF_* constants */ #include <linux/hw_breakpoint.h> /* Definition of HW_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <... |
perf_evlist__for_each_entry_reverse(9) | NAME perf_evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
SYNOPSIS perf_evlist__for_each_entry_reverse (evlist , evsel );
ARGUMENTS evlist evlist instance to iterate
evsel struct evsel iterator
SEE ALSO Kernel file ./tools/lib/perf/include/internal/evlist.h __perf_evl... |
perf_evlist__for_each_entry_safe(9) | NAME perf_evlist__for_each_entry_safe - safely iterate thru all the evsels
SYNOPSIS perf_evlist__for_each_entry_safe (evlist , tmp , evsel );
ARGUMENTS evlist evlist instance to iterate
tmp struct evsel temp iterator
evsel struct evsel iterator
SEE ALSO Kernel file ./tools/lib/perf... |
perf_evsel_for_each_per_thread_period_safe(9) | NAME perf_evsel_for_each_per_thread_period_safe - safely iterate thru all the per_stream_periods
SYNOPSIS perf_evsel_for_each_per_thread_period_safe (evsel , tmp , item );
ARGUMENTS evsel -- undescribed --
tmp struct perf_sample_id_period temp iterator
item struct perf_sample_id_p... |
perf_pmu__match_ignoring_suffix_uncore(9) | NAME perf_pmu__match_ignoring_suffix_uncore - Does the pmu_name match tok ignoring any trailing suffix on pmu_name and tok? The Suffix must be in form tok_{digits}, or tok{digits}.
SYNOPSIS bool perf_pmu__match_ignoring_suffix_uncore (const char *pmu_name , const char *tok );
ARGUMENTS pmu_name The pmu_name with p... |
perf_pmu__match_wildcard(9) | NAME perf_pmu__match_wildcard - Does the pmu_name start with tok and is then only followed by nothing or a suffix? tok may contain part of a suffix.
SYNOPSIS bool perf_pmu__match_wildcard (const char *pmu_name , const char *tok );
ARGUMENTS pmu_name The pmu_name with possible suffix.
tok The wildca... |
perf_pmu__match_wildcard_uncore(9) | NAME perf_pmu__match_wildcard_uncore - does to_match match the PMU's name?
SYNOPSIS bool perf_pmu__match_wildcard_uncore (const char *pmu_name , const char *to_match );
ARGUMENTS pmu_name The pmu->name or pmu->alias to match against.
to_match the json struct pmu_event name. This may lack a suffix (which... |
perf_pmu__mem_events_num_mem_pmus(9) | NAME perf_pmu__mem_events_num_mem_pmus - Get the number of mem PMUs since the given pmu
SYNOPSIS int perf_pmu__mem_events_num_mem_pmus (struct perf_pmu *pmu );
ARGUMENTS pmu Start pmu. If it's NULL, search the entire PMU list.
SEE ALSO Kernel file ./tools/perf/util/mem-events.c
April 2026 ... |
perf_pmu__name_no_suffix_match(9) | NAME perf_pmu__name_no_suffix_match - Does pmu's name match to_match ignoring any trailing suffix on the pmu_name and/or tok?
SYNOPSIS bool perf_pmu__name_no_suffix_match (const struct perf_pmu *pmu , const char *to_match );
ARGUMENTS pmu The pmu whose name/alias to match.
to_match The possible mat... |
perf_pmu__name_wildcard_match(9) | NAME perf_pmu__name_wildcard_match - Called by the jevents generated code to see if pmu matches the json to_match string.
SYNOPSIS bool perf_pmu__name_wildcard_match (const struct perf_pmu *pmu , const char *to_match );
ARGUMENTS pmu The pmu whose name/alias to match.
to_match The possible match to... |
perf_stat__print_shadow_stats_metricgroup(9) | NAME perf_stat__print_shadow_stats_metricgroup - Print out metrics associated with the evsel For the non-default, all metrics associated with the evsel are printed. For the default mode, only the metrics from the same metric‐ group and the name of the metricgroup are printed. To print the metrics from the next metricg... |
perf_stat__skip_metric_event(9) | NAME perf_stat__skip_metric_event - Skip the evsel in the Default metricgroup, if it's not running or not the metric event.
SYNOPSIS bool perf_stat__skip_metric_event (struct evsel *evsel );
ARGUMENTS evsel -- undescribed --
SEE ALSO Kernel file ./tools/perf/util/stat-shadow.c perf_stat__print_shadow_stats_met... |
perfmonctl(2) | NAME perfmonctl - interface to IA-64 performance monitoring unit
SYNOPSIS #include <syscall.h> #include <perfmon.h>
long perfmonctl(int narg;
int fd, int cmd, void arg[narg], int narg);
Note: There is no glibc wrapper for this system call; see HISTORY.
DESCRIPTION The IA-64-spe... |
perform_grow_logical(9) | NAME perform_grow_logical - Grow the logical size of the vdo.
SYNOPSIS int perform_grow_logical (struct vdo *vdo , block_count_t new_logical_blocks );
ARGUMENTS vdo The vdo to grow.
new_logical_blocks
The size to which the vdo should be grown.
CONTEXT This method may only be called... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.