id
stringlengths
4
63
text
stringlengths
153
8.81M
bio_truncate(9)
NAME bio_truncate - truncate the bio to small size of @new_size SYNOPSIS void bio_truncate (struct bio *bio , unsigned new_size ); ARGUMENTS bio the bio to be truncated new_size new size for truncating the bio DESCRIPTION Truncate the bio to new size of new_size. If bio_op(bio) is REQ_OP_READ, zer...
bio_uncopy_user(9)
NAME bio_uncopy_user - finish previously mapped bio SYNOPSIS int bio_uncopy_user (struct bio *bio ); ARGUMENTS bio bio being terminated DESCRIPTION Free pages allocated from bio_copy_user_iov and write back data to user space in case of a read. SEE ALSO Kernel file ./block/blk-map.c bio_copy_from_iter(9), b...
biolatency.bt(8)
NAME biolatency.bt - Block I/O latency as a histogram. Uses bpftrace/eBPF. SYNOPSIS biolatency.bt DESCRIPTION This tool summarizes time (latency) spent in block device I/O (disk I/O) as a power-of-2 histogram. This allows the distribution to be studied, including modes and outliers. There are often two modes, one for...
bios_parser_get_encoder_cap_info(9)
NAME bios_parser_get_encoder_cap_info - get encoder capability information of input object id SYNOPSIS enum bp_result bios_parser_get_encoder_cap_info (struct dc_bios *dcb , struct graphics_object_id object_id , struct bp_encoder_cap_info *info ); ARGUMENTS dcb pointer to the DC BIOS object_id objec...
bios_parser_get_gpio_pin_info(9)
NAME bios_parser_get_gpio_pin_info - SYNOPSIS enum bp_result bios_parser_get_gpio_pin_info (struct dc_bios *dcb , uint32_t gpio_id , struct gpio_pin_info *info ); ARGUMENTS dcb pointer to the DC BIOS gpio_id GPIO ID info GpioPin information structure DESCRIPTION Get GpioPin informa...
bios_parser_get_spread_spectrum_info(9)
NAME bios_parser_get_spread_spectrum_info - SYNOPSIS enum bp_result bios_parser_get_spread_spectrum_info (struct dc_bios *dcb , enum as_signal_type signal , uint32_t index , struct spread_spectrum_info *ss_info ); ARGUMENTS dcb pointer to the DC BIOS signal ASSignalType to be converted to info in...
bios_parser_get_ss_entry_number(9)
NAME bios_parser_get_ss_entry_number - SYNOPSIS uint32_t bios_parser_get_ss_entry_number (struct dc_bios *dcb , enum as_signal_type signal ); ARGUMENTS dcb pointer to the DC BIOS signal ASSignalType to be converted to SSid DESCRIPTION Get Number of SpreadSpectrum Entry from the ASIC_InternalSS_I...
bios_parser_set_scratch_critical_state(9)
NAME bios_parser_set_scratch_critical_state - update critical state bit in VBIOS scratch register SYNOPSIS void bios_parser_set_scratch_critical_state (struct dc_bios *dcb , bool state ); ARGUMENTS dcb pointer to the DC BIO state set or reset state SEE ALSO Kernel file ./drivers/gpu/drm/amd/dis...
biosdecode(8)
NAME biosdecode - BIOS information decoder SYNOPSIS biosdecode [OPTIONS] DESCRIPTION biosdecode parses the BIOS memory and prints information about all structures (or entry points) it knows of. Currently known entry point types are: • SMBIOS (System Management BIOS) Use dmidecode for a more detailed ...
bioset_init(9)
NAME bioset_init - Initialize a bio_set SYNOPSIS int bioset_init (struct bio_set *bs , unsigned int pool_size , unsigned int front_pad , int flags ); ARGUMENTS bs pool to initialize pool_size Number of bio and bio_vecs to cache in the mempool front_pad Number of bytes to allocate in front...
biosnoop.bt(8)
NAME biosnoop.bt - Block I/O tracing tool, showing per I/O latency. Uses bpftrace/eBPF. SYNOPSIS biosnoop.bt DESCRIPTION This is a basic block I/O (disk I/O) tracing tool, showing each I/O event along with the issuing process ID, and the I/O latency. This can be used to investigate disk I/O performance issues. ...
biostacks.bt(8)
NAME biostacks - Show disk I/O latency with initialization stacks. Uses bpftrace/eBPF. SYNOPSIS biostacks DESCRIPTION This tool shows disk I/O latency histograms for each block I/O initialization path. This can help reveal the reason for different latencies, as some may be created by log flushing, others by applicati...
bit_map_string_get(9)
NAME bit_map_string_get - find and set a bit string in bit map. SYNOPSIS int bit_map_string_get (struct bit_map *t , int len , int align ); ARGUMENTS t the bit map. len requested string length align requested alignment DESCRIPTION Returns offset in the map or -1 if out of spac...
bitesize.bt(8)
NAME bitesize.bt - Show disk I/O size as a histogram. Uses bpftrace/eBPF. SYNOPSIS bitesize.bt DESCRIPTION This can be used to characterize the distribution of block device (disk) I/O sizes. To study block device I/O in more detail, see biosnoop.bt(8). This uses the tracepoint:block:block_rq_issue tracepoint,...
bitmap_allocate_region(9)
NAME bitmap_allocate_region - allocate bitmap region SYNOPSIS int bitmap_allocate_region (unsigned long *bitmap , unsigned int pos , int order ); ARGUMENTS bitmap array of unsigned longs corresponding to the bitmap pos beginning of bit region to allocate order region size (log base ...
bitmap_and(9)
NAME bitmap_and - Do logical and on bitmaps SYNOPSIS bool bitmap_and (unsigned long *dst , const unsigned long *src1 , const unsigned long *src2 , unsigned int nbits ); ARGUMENTS dst resulting bitmap src1 operand 1 src2 operand 2 nbits size of bitmap SEE ALSO Kerne...
bitmap_bitremap(9)
NAME bitmap_bitremap - Apply map defined by a pair of bitmaps to a single bit SYNOPSIS int bitmap_bitremap (int oldbit , const unsigned long *old , const unsigned long *new , int bits ); ARGUMENTS oldbit bit position to be mapped old defines domain of map new defines range of map ...
bitmap_cut(9)
NAME bitmap_cut - remove bit region from bitmap and right shift remaining bits SYNOPSIS void bitmap_cut (unsigned long *dst , const unsigned long *src , unsigned int first , unsigned int cut , unsigned int nbits ); ARGUMENTS dst destination bitmap, might overlap with src src source bitmap ...
bitmap_find_free_region(9)
NAME bitmap_find_free_region - find a contiguous aligned mem region SYNOPSIS int bitmap_find_free_region (unsigned long *bitmap , unsigned int bits , int order ); ARGUMENTS bitmap array of unsigned longs corresponding to the bitmap bits number of bits in the bitmap order region size ...
bitmap_find_next_zero_area(9)
NAME bitmap_find_next_zero_area - find a contiguous aligned zero area SYNOPSIS unsigned long bitmap_find_next_zero_area (unsigned long *map , unsigned long size , unsigned long start , unsigned int nr , unsigned long align_mask ); ARGUMENTS map The address to base the search on size The bitmap ...
bitmap_find_next_zero_area_off(9)
NAME bitmap_find_next_zero_area_off - find a contiguous aligned zero area SYNOPSIS unsigned long bitmap_find_next_zero_area_off (unsigned long *map , unsigned long size , unsigned long start , unsigned int nr , unsigned long align_mask , unsigned long align_offset ); ARGUMENTS map The address to base the sear...
bitmap_fold(9)
NAME bitmap_fold - fold larger bitmap into smaller, modulo specified size SYNOPSIS void bitmap_fold (unsigned long *dst , const unsigned long *orig , unsigned int sz , unsigned int nbits ); ARGUMENTS dst resulting smaller bitmap orig original larger bitmap sz specified size ...
bitmap_from_arr32(9)
NAME bitmap_from_arr32 - copy the contents of u32 array of bits to bitmap SYNOPSIS void bitmap_from_arr32 (unsigned long *bitmap , const u32 *buf , unsigned int nbits ); ARGUMENTS bitmap array of unsigned longs, the destination bitmap buf array of u32 (in host byte order), the source bitmap ...
bitmap_from_arr64(9)
NAME bitmap_from_arr64 - copy the contents of u64 array of bits to bitmap SYNOPSIS void bitmap_from_arr64 (unsigned long *bitmap , const u64 *buf , unsigned int nbits ); ARGUMENTS bitmap array of unsigned longs, the destination bitmap buf array of u64 (in host byte order), the source bitmap ...
bitmap_from_u64(9)
NAME bitmap_from_u64 - Check and swap words within u64. SYNOPSIS void bitmap_from_u64 (unsigned long *dst , u64 mask ); ARGUMENTS dst destination bitmap mask source bitmap DESCRIPTION In 32-bit Big Endian kernel, when using “(u32 *)(val)[*]“ to read u64 mask, we will get the wrong word. That ...
bitmap_gather(9)
NAME bitmap_gather - Gather a bitmap according to given mask SYNOPSIS void bitmap_gather (unsigned long *dst , const unsigned long *src , const unsigned long *mask , unsigned int nbits ); ARGUMENTS dst gathered bitmap src scattered bitmap mask mask representing bits to extract f...
bitmap_onto(9)
NAME bitmap_onto - translate one bitmap relative to another SYNOPSIS void bitmap_onto (unsigned long *dst , const unsigned long *orig , const unsigned long *relmap , unsigned int bits ); ARGUMENTS dst resulting translated bitmap orig original untranslated bitmap relmap bitmap relat...
bitmap_or_equal(9)
NAME bitmap_or_equal - Check whether the or of two bitmaps is equal to a third SYNOPSIS bool bitmap_or_equal (const unsigned long *src1 , const unsigned long *src2 , const unsigned long *src3 , unsigned int nbits ); ARGUMENTS src1 Pointer to bitmap 1 src2 Pointer to bitmap 2 will be or'ed with b...
bitmap_parse(9)
NAME bitmap_parse - convert an ASCII hex string into a bitmap. SYNOPSIS int bitmap_parse (const char *start , unsigned int buflen , unsigned long *maskp , int nmaskbits ); ARGUMENTS start pointer to buffer containing string. buflen buffer size in bytes. If string is smaller than this then it must ...
bitmap_parse_user(9)
NAME bitmap_parse_user - convert an ASCII hex string in a user buffer into a bitmap SYNOPSIS int bitmap_parse_user (const char __user *ubuf , unsigned int ulen , unsigned long *maskp , int nmaskbits ); ARGUMENTS ubuf pointer to user buffer containing string. ulen buffer size in bytes. If string...
bitmap_parselist(9)
NAME bitmap_parselist - convert list format ASCII string to bitmap SYNOPSIS int bitmap_parselist (const char *buf , unsigned long *maskp , int nmaskbits ); ARGUMENTS buf read user string from this buffer; must be terminated with a or 0 maskp write resulting mask here nmaskbits number...
bitmap_parselist_user(9)
NAME bitmap_parselist_user - convert user buffer's list format ASCII string to bitmap SYNOPSIS int bitmap_parselist_user (const char __user *ubuf , unsigned int ulen , unsigned long *maskp , int nmaskbits ); ARGUMENTS ubuf pointer to user buffer containing string. ulen buffer size in bytes. If ...
bitmap_pos_to_ord(9)
NAME bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap SYNOPSIS int bitmap_pos_to_ord (const unsigned long *buf , unsigned int pos , unsigned int nbits ); ARGUMENTS buf pointer to a bitmap pos a bit position in buf (0 <= pos < nbits) nbits number of valid bi...
bitmap_print_bitmask_to_buf(9)
NAME bitmap_print_bitmask_to_buf - convert bitmap to hex bitmask format ASCII string SYNOPSIS int bitmap_print_bitmask_to_buf (char *buf , const unsigned long *maskp , int nmaskbits , loff_t off , size_t count ); ARGUMENTS buf buffer into which string is placed maskp pointer to bitmap to convert...
bitmap_print_list_to_buf(9)
NAME bitmap_print_list_to_buf - convert bitmap to decimal list format ASCII string SYNOPSIS int bitmap_print_list_to_buf (char *buf , const unsigned long *maskp , int nmaskbits , loff_t off , size_t count ); ARGUMENTS buf buffer into which string is placed maskp pointer to bitmap to convert ...
bitmap_print_to_buf(9)
NAME bitmap_print_to_buf - convert bitmap to list or hex format ASCII string SYNOPSIS int bitmap_print_to_buf (bool list , char *buf , const unsigned long *maskp , int nmaskbits , loff_t off , size_t count ); ARGUMENTS list indicates whether the bitmap must be list true: print in decimal list format false: pr...
bitmap_print_to_pagebuf(9)
NAME bitmap_print_to_pagebuf - convert bitmap to list or hex format ASCII string SYNOPSIS int bitmap_print_to_pagebuf (bool list , char *buf , const unsigned long *maskp , int nmaskbits ); ARGUMENTS list indicates whether the bitmap must be list buf page aligned buffer into which string is plac...
bitmap_read(9)
NAME bitmap_read - read a value of n-bits from the memory region SYNOPSIS unsigned long bitmap_read (const unsigned long *map , unsigned long start , unsigned long nbits ); ARGUMENTS map address to the bitmap memory region start bit offset of the n-bit value nbits size of value in ...
bitmap_release_region(9)
NAME bitmap_release_region - release allocated bitmap region SYNOPSIS void bitmap_release_region (unsigned long *bitmap , unsigned int pos , int order ); ARGUMENTS bitmap array of unsigned longs corresponding to the bitmap pos beginning of bit region to release order region size (lo...
bitmap_remap(9)
NAME bitmap_remap - Apply map defined by a pair of bitmaps to another bitmap SYNOPSIS void bitmap_remap (unsigned long *dst , const unsigned long *src , const unsigned long *old , const unsigned long *new , unsigned int nbits ); ARGUMENTS dst remapped result src subset to be remapped o...
bitmap_scatter(9)
NAME bitmap_scatter - Scatter a bitmap according to the given mask SYNOPSIS void bitmap_scatter (unsigned long *dst , const unsigned long *src , const unsigned long *mask , unsigned int nbits ); ARGUMENTS dst scattered bitmap src gathered bitmap mask mask representing bits to as...
bitmap_search_next_usable_block(9)
NAME bitmap_search_next_usable_block - SYNOPSIS ext2_grpblk_t bitmap_search_next_usable_block (ext2_grpblk_t start , struct buffer_head *bh , ext2_grpblk_t maxblocks ); ARGUMENTS start the starting block (group relative) of the search bh bufferhead contains the block group bitmap maxblo...
bitmap_to_arr32(9)
NAME bitmap_to_arr32 - copy the contents of bitmap to a u32 array of bits SYNOPSIS void bitmap_to_arr32 (u32 *buf , const unsigned long *bitmap , unsigned int nbits ); ARGUMENTS buf array of u32 (in host byte order), the dest bitmap bitmap array of unsigned longs, the source bitmap nbits ...
bitmap_to_arr64(9)
NAME bitmap_to_arr64 - copy the contents of bitmap to a u64 array of bits SYNOPSIS void bitmap_to_arr64 (u64 *buf , const unsigned long *bitmap , unsigned int nbits ); ARGUMENTS buf array of u64 (in host byte order), the dest bitmap bitmap array of unsigned longs, the source bitmap nbits ...
bitmap_write(9)
NAME bitmap_write - write n-bit value within a memory region SYNOPSIS void bitmap_write (unsigned long *map , unsigned long value , unsigned long start , unsigned long nbits ); ARGUMENTS map address to the bitmap memory region value value to write, clamped to nbits start bit offset...
bitmap_zalloc(9)
NAME bitmap_zalloc - Allocate bitmap SYNOPSIS unsigned long * bitmap_zalloc (int nbits ); ARGUMENTS nbits Number of bits SEE ALSO Kernel file ./tools/include/linux/bitmap.h bitmap_and(9) April 2026 bitmap_zalloc ...
bits(1)
NAME bits - convert bit masks from/to various formats SYNOPSIS bits [-h] [-V] [-w <NUM>] [<MODE>] [<MASK_OR_LIST>...] DESCRIPTION The bits utility converts bit masks into various formats. It supports combining multiple masks together using bitwise operations. POSITIONAL ARGUMENTS <MASK_OR_LIST> A set of bits specifi...
bits_per(9)
NAME bits_per - calculate the number of bits required for the argument SYNOPSIS bits_per (n ); ARGUMENTS n parameter DESCRIPTION This is constant-capable and can be used for compile time initializations, e.g bitfields. The first few values calculated by this routine: bf(0) = 1 bf(1) = 1 bf(2) = 2 bf(3) = ...
bkgd.3x(3)
NAME bkgdset, wbkgdset, bkgd, wbkgd, getbkgd - manipulate background of a curses window of characters SYNOPSIS #include <ncursesw/curses.h> int bkgd(chtype ch); int wbkgd(WINDOW *win, chtype ch); void bkgdset(chtype ch); void wbkgdset(WINDOW *win, chtype ch); chtype getbkgd(WINDOW...
bkgdset.3x(3)
NAME bkgdset, wbkgdset, bkgd, wbkgd, getbkgd - manipulate background of a curses window of characters SYNOPSIS #include <ncursesw/curses.h> int bkgd(chtype ch); int wbkgd(WINDOW *win, chtype ch); void bkgdset(chtype ch); void wbkgdset(WINDOW *win, chtype ch); chtype getbkgd(WINDOW...
bkgrnd.3x(3)
NAME bkgrnd, wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd - manipulate background of a curses window of wide characters SYNOPSIS #include <ncursesw/curses.h> int bkgrnd(const cchar_t *wch); int wbkgrnd(WINDOW *win, const cchar_t *wch); void bkgrndset(const cchar_t *wch); void wbk...
bkgrndset.3x(3)
NAME bkgrnd, wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd - manipulate background of a curses window of wide characters SYNOPSIS #include <ncursesw/curses.h> int bkgrnd(const cchar_t *wch); int wbkgrnd(WINDOW *win, const cchar_t *wch); void bkgrndset(const cchar_t *wch); void wbk...
bl_enter_powerdown(9)
NAME bl_enter_powerdown - Programs CPU to enter the specified state SYNOPSIS __cpuidle int bl_enter_powerdown (struct cpuidle_device *dev , struct cpuidle_driver *drv , int idx ); ARGUMENTS dev cpuidle device drv The target state to be programmed idx state index DESCRIPTION Ca...
bl_get_data(9)
NAME bl_get_data - access devdata SYNOPSIS void * bl_get_data (struct backlight_device *bl_dev ); ARGUMENTS bl_dev pointer to backlight device DESCRIPTION When a backlight device is registered the driver has the possibility to supply a void * devdata. bl_get_data return a pointer to the devdata. pointer to dev...
blacklist(9)
NAME blacklist - blacklist a client from the bus SYNOPSIS void blacklist (struct mei_cl_device *cldev ); ARGUMENTS cldev me clients device SEE ALSO Kernel file ./drivers/misc/mei/bus-fixup.c number_of_connections(9), whitelist(9), mei_wd(9), mei_nfc_if_version(9), mei_nfc_radio_name(9), mei_nfc(9), vt_support(...
blake2b(9)
NAME blake2b - Compute BLAKE2b hash in one shot SYNOPSIS void blake2b (const u8 *key , size_t keylen , const u8 *in , size_t inlen , u8 *out , size_t outlen ); ARGUMENTS key the key, or NULL for an unkeyed hash keylen the key length in bytes (at most BLAKE2B_KEY_SIZE), or 0 for an unkeyed hash ...
blake2b_final(9)
NAME blake2b_final - Finish computing a BLAKE2b hash SYNOPSIS void blake2b_final (struct blake2b_ctx *ctx , u8 *out ); ARGUMENTS ctx the context to finalize; must have been initialized out (output) the resulting BLAKE2b hash. Its length will be equal to the outlen that was passed to blake2b_i...
blake2b_init(9)
NAME blake2b_init - Initialize a BLAKE2b context for a new message (unkeyed) SYNOPSIS void blake2b_init (struct blake2b_ctx *ctx , size_t outlen ); ARGUMENTS ctx the context to initialize outlen length of output hash value in bytes, at most BLAKE2B_HASH_SIZE CONTEXT Any context. SEE ALSO Kernel...
blake2b_init_key(9)
NAME blake2b_init_key - Initialize a BLAKE2b context for a new message (keyed) SYNOPSIS void blake2b_init_key (struct blake2b_ctx *ctx , size_t outlen , const void *key , size_t keylen ); ARGUMENTS ctx the context to initialize outlen length of output hash value in bytes, at most BLAKE2B_HASH_SIZ...
blake2b_update(9)
NAME blake2b_update - Update a BLAKE2b context with message data SYNOPSIS void blake2b_update (struct blake2b_ctx *ctx , const u8 *in , size_t inlen ); ARGUMENTS ctx the context to update; must have been initialized in the message data inlen the data length in bytes DESCRIPTION...
blake2s(9)
NAME blake2s - Compute BLAKE2s hash in one shot SYNOPSIS void blake2s (const u8 *key , size_t keylen , const u8 *in , size_t inlen , u8 *out , size_t outlen ); ARGUMENTS key the key, or NULL for an unkeyed hash keylen the key length in bytes (at most BLAKE2S_KEY_SIZE), or 0 for an unkeyed hash ...
blake2s_final(9)
NAME blake2s_final - Finish computing a BLAKE2s hash SYNOPSIS void blake2s_final (struct blake2s_ctx *ctx , u8 *out ); ARGUMENTS ctx the context to finalize; must have been initialized out (output) the resulting BLAKE2s hash. Its length will be equal to the outlen that was passed to blake2s_i...
blake2s_init(9)
NAME blake2s_init - Initialize a BLAKE2s context for a new message (unkeyed) SYNOPSIS void blake2s_init (struct blake2s_ctx *ctx , size_t outlen ); ARGUMENTS ctx the context to initialize outlen length of output hash value in bytes, at most BLAKE2S_HASH_SIZE CONTEXT Any context. SEE ALSO Kernel...
blake2s_init_key(9)
NAME blake2s_init_key - Initialize a BLAKE2s context for a new message (keyed) SYNOPSIS void blake2s_init_key (struct blake2s_ctx *ctx , size_t outlen , const void *key , size_t keylen ); ARGUMENTS ctx the context to initialize outlen length of output hash value in bytes, at most BLAKE2S_HASH_SIZ...
blake2s_update(9)
NAME blake2s_update - Update a BLAKE2s context with message data SYNOPSIS void blake2s_update (struct blake2s_ctx *ctx , const u8 *in , size_t inlen ); ARGUMENTS ctx the context to update; must have been initialized in the message data inlen the data length in bytes DESCRIPTION...
blank(9)
NAME blank - blank the display SYNOPSIS int blank (struct fbtft_par *par , bool on ); ARGUMENTS par FBTFT parameter object on whether to enable or disable blanking the display RETURN 0 on success, < 0 if error occurred. SEE ALSO Kernel file ./drivers/staging/fbtft/fb_st7789v.c enum st7789v_...
blend(9)
NAME blend - blend the pixels from all planes and compute crc SYNOPSIS void blend (struct vkms_writeback_job *wb , struct vkms_crtc_state *crtc_state , u32 *crc32 , struct line_buffer *stage_buffer , struct line_buffer *output_buffer , size_t row_size ); ARGUMENTS wb The writeback frame buffer metadata ...
blend_line(9)
NAME blend_line - Blend a line from a plane to the output buffer SYNOPSIS void blend_line (struct vkms_plane_state *current_plane , int y , int crtc_x_limit , struct line_buffer *stage_buffer , struct line_buffer *output_buffer ); ARGUMENTS current_plane current plane to work on y line to write in t...
blk_abort_request(9)
NAME blk_abort_request - Request recovery for the specified command SYNOPSIS void blk_abort_request (struct request *req ); ARGUMENTS req pointer to the request of interest DESCRIPTION This function requests that the block layer start recovery for the request by deleting the timer and calling the q's tim...
blk_add_driver_data(9)
NAME blk_add_driver_data - Add binary message with driver-specific data SYNOPSIS void blk_add_driver_data (struct request *rq , void *data , size_t len ); ARGUMENTS rq io request data driver-specific data len length of driver-specific data DESCRIPTION Some drivers might want t...
blk_add_timer(9)
NAME blk_add_timer - Start timeout timer for a single request SYNOPSIS void blk_add_timer (struct request *req ); ARGUMENTS req request that is about to start running. NOTES Each request has its own timer, and as it is added to the queue, we set up the timer. When the request completes, we cancel the timer. ...
blk_add_trace_bio(9)
NAME blk_add_trace_bio - Add a trace for a bio oriented action SYNOPSIS void blk_add_trace_bio (struct request_queue *q , struct bio *bio , u64 what , int error ); ARGUMENTS q queue the io is for bio the source bio what the action error error, if any DESCRIPTION...
blk_add_trace_bio_remap(9)
NAME blk_add_trace_bio_remap - Add a trace for a bio-remap operation SYNOPSIS void blk_add_trace_bio_remap (void *ignore , struct bio *bio , dev_t dev , sector_t from ); ARGUMENTS ignore trace callback data parameter (not used) bio the source bio dev source device from ...
blk_add_trace_rq(9)
NAME blk_add_trace_rq - Add a trace for a request oriented action SYNOPSIS void blk_add_trace_rq (struct request *rq , blk_status_t error , unsigned int nr_bytes , u64 what , u64 cgid ); ARGUMENTS rq the source request error return status to log nr_bytes number of completed bytes ...
blk_add_trace_rq_remap(9)
NAME blk_add_trace_rq_remap - Add a trace for a request-remap operation SYNOPSIS void blk_add_trace_rq_remap (void *ignore , struct request *rq , dev_t dev , sector_t from ); ARGUMENTS ignore trace callback data parameter (not used) rq the source request dev target device ...
blk_alloc_disk(9)
NAME blk_alloc_disk - allocate a gendisk structure SYNOPSIS blk_alloc_disk (lim , node_id ); ARGUMENTS lim queue limits to be used for this disk. node_id numa node to allocate on DESCRIPTION Allocate and pre-initialize a gendisk structure for use with BIO based drivers. Returns an ERR_PTR on err...
blk_attempt_plug_merge(9)
NAME blk_attempt_plug_merge - try to merge with %current's plugged list SYNOPSIS bool blk_attempt_plug_merge (struct request_queue *q , struct bio *bio , unsigned int nr_segs ); ARGUMENTS q request_queue new bio is being queued at bio new bio being queued nr_segs number of segmen...
blk_cgroup_mergeable(9)
NAME blk_cgroup_mergeable - Determine whether to allow or disallow merges SYNOPSIS bool blk_cgroup_mergeable (struct request *rq , struct bio *bio ); ARGUMENTS rq request to merge into bio bio to merge DESCRIPTION bio and rq should belong to the same cgroup and their issue_as_root should mat...
blk_crypto_derive_sw_secret(9)
NAME blk_crypto_derive_sw_secret - Derive software secret from wrapped key SYNOPSIS int blk_crypto_derive_sw_secret (struct block_device *bdev , const u8 *eph_key , size_t eph_key_size , u8 sw_secret[BLK_CRYPTO_SW_SECRET_SIZE] ); ARGUMENTS bdev a block device that supports hardware-wrapped keys eph_key...
blk_crypto_evict_key(9)
NAME blk_crypto_evict_key - Evict a blk_crypto_key from a block_device SYNOPSIS void blk_crypto_evict_key (struct block_device *bdev , const struct blk_crypto_key *key ); ARGUMENTS bdev a block_device on which I/O using the key may have been done key the key to evict DESCRIPTION For a given ...
blk_crypto_fallback_bio_prep(9)
NAME blk_crypto_fallback_bio_prep - Prepare a bio to use fallback en/decryption SYNOPSIS bool blk_crypto_fallback_bio_prep (struct bio *bio ); ARGUMENTS bio bio to prepare DESCRIPTION If bio is doing a WRITE operation, allocate one or more bios to contain the encrypted payload and submit them. For a READ...
blk_crypto_fallback_decrypt_endio(9)
NAME blk_crypto_fallback_decrypt_endio - queue bio for fallback decryption SYNOPSIS void blk_crypto_fallback_decrypt_endio (struct bio *bio ); ARGUMENTS bio the bio to queue DESCRIPTION Restore bi_private and bi_end_io, and queue the bio for decryption into a workqueue, since this function will be called fro...
blk_crypto_get_keyslot(9)
NAME blk_crypto_get_keyslot - Get a keyslot for a key, if needed. SYNOPSIS blk_status_t blk_crypto_get_keyslot (struct blk_crypto_profile *profile , const struct blk_crypto_key *key , struct blk_crypto_keyslot **slot_ptr ); ARGUMENTS profile the crypto profile of the device the key will be used on key ...
blk_crypto_has_capabilities(9)
NAME blk_crypto_has_capabilities - Check whether @target supports at least all the crypto capabilities that @reference does. SYNOPSIS bool blk_crypto_has_capabilities (const struct blk_crypto_profile *target , const struct blk_crypto_profile *reference ); ARGUMENTS target the target profile reference t...
blk_crypto_init_key(9)
NAME blk_crypto_init_key - Prepare a key for use with blk-crypto SYNOPSIS int blk_crypto_init_key (struct blk_crypto_key *blk_key , const u8 *key_bytes , size_t key_size , enum blk_crypto_key_type key_type , enum blk_crypto_mode_num crypto_mode , unsigned int dun_bytes , unsigned int data_unit_size ); ARGU...
blk_crypto_intersect_capabilities(9)
NAME blk_crypto_intersect_capabilities - restrict supported crypto capabilities by child device SYNOPSIS void blk_crypto_intersect_capabilities (struct blk_crypto_profile *parent , const struct blk_crypto_profile *child ); ARGUMENTS parent the crypto profile for the parent device child the crypto p...
blk_crypto_keyslot_index(9)
NAME blk_crypto_keyslot_index - Get the index of a keyslot SYNOPSIS unsigned int blk_crypto_keyslot_index (struct blk_crypto_keyslot *slot ); ARGUMENTS slot a keyslot that blk_crypto_get_keyslot returned RETURN the 0-based index of the keyslot within the device's keyslots. SEE ALSO Kernel file ./block/blk-...
blk_crypto_profile_init(9)
NAME blk_crypto_profile_init - Initialize a blk_crypto_profile SYNOPSIS int blk_crypto_profile_init (struct blk_crypto_profile *profile , unsigned int num_slots ); ARGUMENTS profile the blk_crypto_profile to initialize num_slots the number of keyslots DESCRIPTION Storage drivers must call this when sta...
blk_crypto_put_keyslot(9)
NAME blk_crypto_put_keyslot - Release a reference to a keyslot SYNOPSIS void blk_crypto_put_keyslot (struct blk_crypto_keyslot *slot ); ARGUMENTS slot The keyslot to release the reference of CONTEXT Any context. SEE ALSO Kernel file ./block/blk-crypto-profile.c Kernel API(9), blk_crypto_profile_init(9), devm...
blk_crypto_reprogram_all_keys(9)
NAME blk_crypto_reprogram_all_keys - Re-program all keyslots. SYNOPSIS void blk_crypto_reprogram_all_keys (struct blk_crypto_profile *profile ); ARGUMENTS profile The crypto profile DESCRIPTION Re-program all keyslots that are supposed to have a key programmed. This is intended only for use by drivers for hardw...
blk_crypto_rq_bio_prep(9)
NAME blk_crypto_rq_bio_prep - Prepare a request's crypt_ctx when its first bio is inserted SYNOPSIS int blk_crypto_rq_bio_prep (struct request *rq , struct bio *bio , gfp_t gfp_mask ); ARGUMENTS rq The request to prepare bio The first bio being inserted into the request gfp_mask Me...
blk_crypto_start_using_key(9)
NAME blk_crypto_start_using_key - Start using a blk_crypto_key on a device SYNOPSIS int blk_crypto_start_using_key (struct block_device *bdev , const struct blk_crypto_key *key ); ARGUMENTS bdev block device to operate on key A key to use on the device DESCRIPTION Upper layers must call this ...
blk_crypto_submit_bio(9)
NAME blk_crypto_submit_bio - Submit a bio that may have a crypto context SYNOPSIS void blk_crypto_submit_bio (struct bio *bio ); ARGUMENTS bio bio to submit DESCRIPTION If bio has no crypto context, or the crypt context attached to bio is supported by the underlying device's inline encryption hardware, just ...
blk_crypto_update_capabilities(9)
NAME blk_crypto_update_capabilities - Update the capabilities of a crypto profile to match those of another crypto profile. SYNOPSIS void blk_crypto_update_capabilities (struct blk_crypto_profile *dst , const struct blk_crypto_profile *src ); ARGUMENTS dst The crypto profile whose capabilities to update. ...
blk_execute_rq(9)
NAME blk_execute_rq - insert a request into queue for execution SYNOPSIS blk_status_t blk_execute_rq (struct request *rq , bool at_head ); ARGUMENTS rq request to insert at_head insert request at head or tail of queue DESCRIPTION Insert a fully prepared request at the back of the I/O scheduler q...
blk_execute_rq_nowait(9)
NAME blk_execute_rq_nowait - insert a request to I/O scheduler for execution SYNOPSIS void blk_execute_rq_nowait (struct request *rq , bool at_head ); ARGUMENTS rq request to insert at_head insert request at head or tail of queue DESCRIPTION Insert a fully prepared request at the back of the I/O...
blk_fill_rwbs(9)
NAME blk_fill_rwbs - Fill the buffer rwbs by mapping op to character string. SYNOPSIS void blk_fill_rwbs (char *rwbs , blk_opf_t opf ); ARGUMENTS rwbs buffer to be filled opf request operation type (REQ_OP_XXX) and flags for the tracepoint DESCRIPTION Maps each request operation and flag to a ...
blk_finish_plug(9)
NAME blk_finish_plug - mark the end of a batch of submitted I/O SYNOPSIS void blk_finish_plug (struct blk_plug *plug ); ARGUMENTS plug The struct blk_plug passed to blk_start_plug DESCRIPTION Indicate that a batch of I/O submissions is complete. This function must be paired with an initial call to blk_sta...
blk_flush_complete_seq(9)
NAME blk_flush_complete_seq - complete flush sequence SYNOPSIS void blk_flush_complete_seq (struct request *rq , struct blk_flush_queue *fq , unsigned int seq , blk_status_t error ); ARGUMENTS rq PREFLUSH/FUA request being sequenced fq flush queue seq sequences to complete (m...
blk_get_queue(9)
NAME blk_get_queue - increment the request_queue refcount SYNOPSIS bool blk_get_queue (struct request_queue *q ); ARGUMENTS q the request_queue structure to increment the refcount for DESCRIPTION Increment the refcount of the request_queue kobject. CONTEXT Any context. SEE ALSO Kernel file ./block/blk-c...