id
stringlengths
4
63
text
stringlengths
153
8.81M
des3_ede_expand_key(9)
NAME des3_ede_expand_key - Expand a triple DES input key into a key schedule SYNOPSIS int des3_ede_expand_key (struct des3_ede_ctx *ctx , const u8 *key , unsigned int keylen ); ARGUMENTS ctx the key schedule key buffer containing the input key keylen -- undescribed -- DESCRIPTION...
des_crypt(3)
NAME des_crypt, ecb_crypt, cbc_crypt, des_setparity, DES_FAILED - fast DES encryption LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/des_crypt.h> [[deprecated]] int ecb_crypt(unsigned int datalen; char *key, char data[datalen], ...
des_expand_key(9)
NAME des_expand_key - Expand a DES input key into a key schedule SYNOPSIS int des_expand_key (struct des_ctx *ctx , const u8 *key , unsigned int keylen ); ARGUMENTS ctx the key schedule key buffer containing the input key keylen -- undescribed -- DESCRIPTION Returns 0 on success,...
des_modes.7ssl(7)
NAME des_modes - the variants of DES and other crypto algorithms of OpenSSL DESCRIPTION Several crypto algorithms for OpenSSL can be used in a number of modes. Those are used for using block ciphers in a way similar to stream ciphers, among other things. OVERVIEW Electronic Codebook Mode (ECB) Normally, this is foun...
des_read_pw(3)
NAME EVP_read_pw_string, EVP_read_pw_string_min, EVP_set_pw_prompt, EVP_get_pw_prompt — compatibility user interface functions SYNOPSIS library “libcrypto” #include <openssl/evp.h> int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify); int EVP_read_pw_string_min(ch...
des_setparity(3)
NAME des_crypt, ecb_crypt, cbc_crypt, des_setparity, DES_FAILED - fast DES encryption LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <rpc/des_crypt.h> [[deprecated]] int ecb_crypt(unsigned int datalen; char *key, char data[datalen], ...
desc_inline_query(9)
NAME desc_inline_query - Provide indications on which data items can be inlined and which shall be referenced in a shared descriptor. SYNOPSIS int desc_inline_query (unsigned int sd_base_len , unsigned int jd_len , unsigned int *data_len , u32 *inl_mask , unsigned int count ); ARGUMENTS sd_base_len Shared descriptor...
desc_to_gpio(9)
NAME desc_to_gpio - convert a GPIO descriptor to the integer namespace SYNOPSIS int desc_to_gpio (const struct gpio_desc *desc ); ARGUMENTS desc GPIO descriptor DESCRIPTION This should disappear in the future but is needed since we still use GPIO numbers for error messages and sysfs nodes. RETURN The global ...
destroy_ai(9)
NAME destroy_ai - destroy attaching information. SYNOPSIS void destroy_ai (struct ubi_attach_info *ai ); ARGUMENTS ai attaching information SEE ALSO Kernel file ./drivers/mtd/ubi/attach.c find_or_add_av(9), ubi_find_or_add_av(9), ubi_alloc_aeb(9), ubi_free_aeb(9), add_to_list(9), add_corrupted(9), ...
destroy_attribute_objs(9)
NAME destroy_attribute_objs - Free a kset of kobjects SYNOPSIS void destroy_attribute_objs (struct kset *kset ); ARGUMENTS kset The kset to destroy DESCRIPTION Fress kobjects created for each attribute_name under attribute type kset SEE ALSO Kernel file ./drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_cal...
destroy_av(9)
NAME destroy_av - free volume attaching information. SYNOPSIS void destroy_av (struct ubi_attach_info *ai , struct ubi_ainf_volume *av , struct list_head *list ); ARGUMENTS ai attaching information av volume attaching information list put the aeb elements in there if !NULL, ot...
destroy_bud_list(9)
NAME destroy_bud_list - destroy the list of buds to replay. SYNOPSIS void destroy_bud_list (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object SEE ALSO Kernel file ./fs/ubifs/replay.c struct replay_entry(9), struct bud_entry(9), set_bud_lprops(9), set_buds_lprops(9), trun_remove_r...
destroy_cis_cache(9)
NAME destroy_cis_cache - destroy the CIS cache SYNOPSIS void destroy_cis_cache (struct pcmcia_socket *s ); ARGUMENTS s pcmcia_socket for which CIS cache shall be destroyed DESCRIPTION This destroys the CIS cache but keeps any fake CIS alive. Must be called with ops_mutex held. SEE ALSO Kernel file ./drive...
destroy_context(9)
NAME destroy_context - Undo init_new_context when the mm is going away SYNOPSIS void destroy_context (struct mm_struct *mm ); ARGUMENTS mm old mm struct SEE ALSO Kernel file ./include/asm-generic/mmu_context.h init_new_context(9), activate_mm(9) April 2026 ...
destroy_done_tree(9)
NAME destroy_done_tree - destroy the done tree. SYNOPSIS void destroy_done_tree (struct rb_root *done_tree ); ARGUMENTS done_tree done tree to destroy SEE ALSO Kernel file ./fs/ubifs/log.c ubifs_search_bud(9), ubifs_get_wbuf(9), empty_log_bytes(9), ubifs_add_bud(9), ubifs_add_bud_to_log(9), remove_buds(9), ubifs...
destroy_journal(9)
NAME destroy_journal - destroy journal data structures. SYNOPSIS void destroy_journal (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This function destroys journal data structures including those that may have been created by recovery functions. SEE ALSO Kernel file...
destroy_nilfs(9)
NAME destroy_nilfs - destroy nilfs object SYNOPSIS void destroy_nilfs (struct the_nilfs *nilfs ); ARGUMENTS nilfs nilfs object to be released SEE ALSO Kernel file ./fs/nilfs2/the_nilfs.c alloc_nilfs(9), nilfs_store_log_cursor(9), nilfs_get_blocksize(9), load_nilfs(9), nilfs_nrsvsegs(9), nilfs_max_segment_count...
destroy_ns(9)
NAME destroy_ns - remove everything contained by @ns SYNOPSIS void destroy_ns (struct aa_ns *ns ); ARGUMENTS ns namespace to have it contents removed (NOT NULL) SEE ALSO Kernel file ./security/apparmor/policy_ns.c aa_ns_visible(9), aa_ns_name(9), alloc_ns(9), aa_free_ns(9), __aa_lookupn_ns(9), aa_lookupn_...
destroy_old_idx(9)
NAME destroy_old_idx - destroy the old_idx RB-tree. SYNOPSIS void destroy_old_idx (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION During start commit, the old_idx RB-tree is used to avoid overwriting index nodes that were in the index last commit but have since been d...
destroy_port(9)
NAME destroy_port - destroy an FC port SYNOPSIS void destroy_port (struct lpfc_vport *vport ); ARGUMENTS vport pointer to an lpfc virtual N_Port data structure. DESCRIPTION This routine destroys a FC port from the upper layer protocol. All the resources associated with the port are released. SEE ALSO Kernel ...
destroy_qp(9)
NAME destroy_qp - Clean the resources of a Queue Pair SYNOPSIS void destroy_qp (struct hinic_func_to_io *func_to_io , struct hinic_qp *qp ); ARGUMENTS func_to_io func to io channel that holds the IO components qp pointer to the qp to clean SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hi...
destroy_rcu_head_on_stack(9)
NAME destroy_rcu_head_on_stack - destroy on-stack rcu_head for debugobjects SYNOPSIS void destroy_rcu_head_on_stack (struct rcu_head *head ); ARGUMENTS head pointer to rcu_head structure to be initialized DESCRIPTION This function informs debugobjects that an on-stack rcu_head structure is about to go out...
destroy_replay_list(9)
NAME destroy_replay_list - destroy the replay. SYNOPSIS void destroy_replay_list (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION Destroy the replay list. SEE ALSO Kernel file ./fs/ubifs/replay.c struct replay_entry(9), struct bud_entry(9), set_bud_lprops(9), set_...
destroy_trip_attrs(9)
NAME destroy_trip_attrs - destroy attributes for trip points SYNOPSIS void destroy_trip_attrs (struct thermal_zone_device *tz ); ARGUMENTS tz the thermal zone device DESCRIPTION helper function to free resources allocated by create_trip_attrs SEE ALSO Kernel file ./drivers/thermal/thermal_sysfs.c create_tr...
destroy_tty_buffer(9)
NAME destroy_tty_buffer - destroy struct iucv_tty_buffer element. SYNOPSIS void destroy_tty_buffer (struct iucv_tty_buffer *bufp ); ARGUMENTS bufp Pointer to a struct iucv_tty_buffer element, SHALL NOT be NULL. SEE ALSO Kernel file ./drivers/tty/hvc/hvc_iucv.c hvc_iucv_get_private(9), alloc_tty_buffer(9), ...
destroy_tty_buffer_list(9)
NAME destroy_tty_buffer_list - call destroy_tty_buffer() for each list element. SYNOPSIS void destroy_tty_buffer_list (struct list_head *list ); ARGUMENTS list List containing struct iucv_tty_buffer elements. SEE ALSO Kernel file ./drivers/tty/hvc/hvc_iucv.c hvc_iucv_get_private(9), alloc_tty_buffer(9), ...
destroy_workqueue(9)
NAME destroy_workqueue - safely terminate a workqueue SYNOPSIS void destroy_workqueue (struct workqueue_struct *wq ); ARGUMENTS wq target workqueue DESCRIPTION Safely destroy a workqueue. All work currently pending will be done first. This function does NOT guarantee that non-pending work that has been su...
destroy_workqueues(9)
NAME destroy_workqueues - destroy per port workqueues SYNOPSIS void destroy_workqueues (struct hfi1_devdata *dd ); ARGUMENTS dd the hfi1_ib device SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/init.c hfi1_rcd_free(9), hfi1_rcd_put(9), hfi1_rcd_get(9), allocate_rcd_index(9), hfi1_rcd_get_by_index_safe(...
detach_capi_ctr(9)
NAME detach_capi_ctr - unregister CAPI controller SYNOPSIS int detach_capi_ctr (struct capi_ctr *ctr ); ARGUMENTS ctr controller descriptor structure. DESCRIPTION Called by hardware driver to remove the registration of a controller with the CAPI subsystem. Return value: 0 on success, error code < 0 on error...
detach_entity_load_avg(9)
NAME detach_entity_load_avg - detach this entity from its cfs_rq load avg SYNOPSIS void detach_entity_load_avg (struct cfs_rq *cfs_rq , struct sched_entity *se ); ARGUMENTS cfs_rq cfs_rq to detach from se sched_entity to detach DESCRIPTION Must call update_cfs_rq_load_avg before this, since we ...
detect_SMBIOS_pointer(9)
NAME detect_SMBIOS_pointer - find the System Management BIOS Table in mem region. SYNOPSIS void __iomem * detect_SMBIOS_pointer (void __iomem *begin , void __iomem *end ); ARGUMENTS begin begin pointer for region to be scanned. end end pointer for region to be scanned. DESCRIPTION Returns point...
detect_bit_6_swizzle(9)
NAME detect_bit_6_swizzle - detect bit 6 swizzling pattern SYNOPSIS void detect_bit_6_swizzle (struct i915_ggtt *ggtt ); ARGUMENTS ggtt Global GGTT DESCRIPTION Detects bit 6 swizzling of address lookup between IGD access and CPU access through main memory. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/int...
detex(1)
NAME detex - a filter to strip TeX commands from a .tex file. SYNOPSIS detex [ -clnstw ] [ -e environment-list ] [ filename[.tex] ... ] DESCRIPTION Detex reads each file in sequence, removes all comments and TeX control sequences and writes the remainder on the standard output. All text in math mode and display mode...
dev_add_offload(9)
NAME dev_add_offload - register offload handlers SYNOPSIS void dev_add_offload (struct packet_offload *po ); ARGUMENTS po protocol offload declaration DESCRIPTION Add protocol offload handlers to the networking stack. The passed proto_offload is linked into kernel lists and may not be freed until it has be...
dev_add_pack(9)
NAME dev_add_pack - add packet handler SYNOPSIS void dev_add_pack (struct packet_type *pt ); ARGUMENTS pt packet type declaration DESCRIPTION Add a protocol handler to the networking stack. The passed packet_type is linked into kernel lists and may not be freed until it has been removed from the kernel list...
dev_addr_add(9)
NAME dev_addr_add - Add a device address SYNOPSIS int dev_addr_add (struct net_device *dev , const unsigned char *addr , unsigned char addr_type ); ARGUMENTS dev device addr address to add addr_type address type DESCRIPTION Add a device address to the device or increase the reference...
dev_addr_del(9)
NAME dev_addr_del - Release a device address. SYNOPSIS int dev_addr_del (struct net_device *dev , const unsigned char *addr , unsigned char addr_type ); ARGUMENTS dev device addr address to delete addr_type address type DESCRIPTION Release reference to a device address and remove it ...
dev_addr_flush(9)
NAME dev_addr_flush - Flush device address list SYNOPSIS void dev_addr_flush (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Flush device address list and reset ->dev_addr. The caller must hold the rtnl_mutex. SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr...
dev_addr_init(9)
NAME dev_addr_init - Init device address list SYNOPSIS int dev_addr_init (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Init device address list and create the first element, used by ->dev_addr. The caller must hold the rtnl_mutex. SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_...
dev_alloc_name(9)
NAME dev_alloc_name - allocate a name for a device SYNOPSIS int dev_alloc_name (struct net_device *dev , const char *name ); ARGUMENTS dev device name name format string DESCRIPTION Passed a format string - eg "ltd" it will try and find a suitable id. It scans list of devices to build up a fre...
dev_bus_name(9)
NAME dev_bus_name - Return a device's bus/class name, if at all possible SYNOPSIS const char * dev_bus_name (const struct device *dev ); ARGUMENTS dev struct device to get the bus/class name of DESCRIPTION Will return the name of the bus/class the device is attached to. If it is not attached to a bus/class,...
dev_change_carrier(9)
NAME dev_change_carrier - change device carrier SYNOPSIS int dev_change_carrier (struct net_device *dev , bool new_carrier ); ARGUMENTS dev device new_carrier new value DESCRIPTION Change device carrier RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./net/core/dev_api.c dev_change_n...
dev_change_flags(9)
NAME dev_change_flags - change device settings SYNOPSIS int dev_change_flags (struct net_device *dev , unsigned int flags , struct netlink_ext_ack *extack ); ARGUMENTS dev device flags device state flags extack netlink extended ack DESCRIPTION Change settings on device based state ...
dev_change_name(9)
NAME dev_change_name - change name of a device SYNOPSIS int dev_change_name (struct net_device *dev , const char *newname ); ARGUMENTS dev device newname name (or format string) must be at least IFNAMSIZ DESCRIPTION Change name of a device, can pass format strings "ethd". for wildcarding. RETUR...
dev_change_net_namespace(9)
NAME dev_change_net_namespace - move device to different nethost namespace SYNOPSIS int dev_change_net_namespace (struct net_device *dev , struct net *net , const char *pat ); ARGUMENTS dev device net network namespace pat If not NULL name pattern to try if the current device n...
dev_change_proto_down(9)
NAME dev_change_proto_down - set carrier according to proto_down SYNOPSIS int dev_change_proto_down (struct net_device *dev , bool proto_down ); ARGUMENTS dev device proto_down new value RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./net/core/dev_api.c dev_change_name(9), dev_se...
dev_change_tx_queue_len(9)
NAME dev_change_tx_queue_len - change TX queue length of a netdevice SYNOPSIS int dev_change_tx_queue_len (struct net_device *dev , unsigned long new_len ); ARGUMENTS dev device new_len new tx queue length RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./net/core/dev_api.c dev_c...
dev_change_xdp_fd(9)
NAME dev_change_xdp_fd - set or clear a bpf program for a device rx path SYNOPSIS int dev_change_xdp_fd (struct net_device *dev , struct netlink_ext_ack *extack , int fd , int expected_fd , u32 flags ); ARGUMENTS dev device extack netlink extended ack fd new program fd or negativ...
dev_close(9)
NAME dev_close - shutdown an interface SYNOPSIS void dev_close (struct net_device *dev ); ARGUMENTS dev device to shutdown DESCRIPTION This function moves an active device into down state. A NETDEV_GOING_DOWN is sent to the netdev notifier chain. The device is then deactivated and finally a NETDEV_DOWN is se...
dev_coredump_put(9)
NAME dev_coredump_put - remove device coredump SYNOPSIS void dev_coredump_put (struct device *dev ); ARGUMENTS dev the struct device for the crashed device DESCRIPTION dev_coredump_put removes coredump, if exists, for a given device from the file system and free its associated data otherwise, does nothing....
dev_coredumpm(9)
NAME dev_coredumpm - create device coredump with read/free methods SYNOPSIS void dev_coredumpm (struct device *dev , struct module *owner , void *data , size_t datalen , gfp_t gfp , ssize_t (*read)(char *buffer, loff_t offset, size_t count, void *data, size_t datalen) , void (*free)(void *data) ); ARGUMENTS dev ...
dev_coredumpm_timeout(9)
NAME dev_coredumpm_timeout - create device coredump with read/free methods with a custom timeout. SYNOPSIS void dev_coredumpm_timeout (struct device *dev , struct module *owner , void *data , size_t datalen , gfp_t gfp , ssize_t (*read)(char *buffer, loff_t offset, size_t count, void *data, size_t datalen) , void (*f...
dev_coredumpsg(9)
NAME dev_coredumpsg - create device coredump that uses scatterlist as data parameter SYNOPSIS void dev_coredumpsg (struct device *dev , struct scatterlist *table , size_t datalen , gfp_t gfp ); ARGUMENTS dev the struct device for the crashed device table the dump data datalen length ...
dev_coredumpv(9)
NAME dev_coredumpv - create device coredump with vmalloc data SYNOPSIS void dev_coredumpv (struct device *dev , void *data , size_t datalen , gfp_t gfp ); ARGUMENTS dev the struct device for the crashed device data vmalloc data containing the device coredump datalen length of the da...
dev_dbg_obj(9)
NAME dev_dbg_obj - Prints in debug mode a change on some object SYNOPSIS void dev_dbg_obj (const char *event_name , struct media_gobj *gobj ); ARGUMENTS event_name Name of the event to report. Could be __func__ gobj Pointer to the object DESCRIPTION Enabled only if DEBUG or CONFIG_DYNAMIC_DEBUG. Othe...
dev_deactivate_many(9)
NAME dev_deactivate_many - deactivate transmissions on several devices SYNOPSIS void dev_deactivate_many (struct list_head *head ); ARGUMENTS head list of devices to deactivate DESCRIPTION This function returns only when all outstanding transmissions have completed, unless all devices are in dismantle phase. ...
dev_disable_gro_hw(9)
NAME dev_disable_gro_hw - disable HW Generic Receive Offload on a device SYNOPSIS void dev_disable_gro_hw (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Disable HW Generic Receive Offload (GRO_HW) on a net device. Must be called under RTNL. This is needed if Generic XDP is installed on the dev...
dev_disable_lro(9)
NAME dev_disable_lro - disable Large Receive Offload on a device SYNOPSIS void dev_disable_lro (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Disable Large Receive Offload (LRO) on a net device. Must be called under RTNL. This is needed if received packets may be forwarded to another interface...
dev_driver_string(9)
NAME dev_driver_string - Return a device's driver name, if at all possible SYNOPSIS const char * dev_driver_string (const struct device *dev ); ARGUMENTS dev struct device to get the name of DESCRIPTION Will return the device's driver's name if it is bound to a device. If the device is not bound to a dr...
dev_err_probe(9)
NAME dev_err_probe - probe error check and log helper SYNOPSIS int dev_err_probe (const struct device *dev , int err , const char *fmt , ... ); ARGUMENTS dev the pointer to the struct device err error value to test fmt printf-style format string ... arguments as...
dev_exception_clean(9)
NAME dev_exception_clean - frees all entries of the exception list SYNOPSIS void dev_exception_clean (struct dev_cgroup *dev_cgroup ); ARGUMENTS dev_cgroup dev_cgroup with the exception list to be cleaned DESCRIPTION called under devcgroup_mutex SEE ALSO Kernel file ./security/device_cgroup.c devcgroup_online(9)...
dev_fetch_sw_netstats(9)
NAME dev_fetch_sw_netstats - get per-cpu network device statistics SYNOPSIS void dev_fetch_sw_netstats (struct rtnl_link_stats64 *s , const struct pcpu_sw_netstats __percpu *netstats ); ARGUMENTS s place to store stats netstats per-cpu network stats to read from DESCRIPTION Read per-cpu network ...
dev_fill_metadata_dst(9)
NAME dev_fill_metadata_dst - Retrieve tunnel egress information. SYNOPSIS int dev_fill_metadata_dst (struct net_device *dev , struct sk_buff *skb ); ARGUMENTS dev targeted interface skb The packet. DESCRIPTION For better visibility of tunnel traffic OVS needs to retrieve egress tunnel informa...
dev_forward_skb(9)
NAME dev_forward_skb - loopback an skb to another netif SYNOPSIS int dev_forward_skb (struct net_device *dev , struct sk_buff *skb ); ARGUMENTS dev destination network device skb buffer to forward DESCRIPTION return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped,...
dev_get_alias(9)
NAME dev_get_alias - get ifalias of a device SYNOPSIS int dev_get_alias (const struct net_device *dev , char *name , size_t len ); ARGUMENTS dev device name buffer to store name of ifalias len size of buffer DESCRIPTION get ifalias for a device. Caller must make sure dev canno...
dev_get_by_index_rcu(9)
NAME dev_get_by_index_rcu - find a device by its ifindex SYNOPSIS struct net_device * dev_get_by_index_rcu (struct net *net , int ifindex ); ARGUMENTS net the applicable net namespace ifindex index of device DESCRIPTION Search for an interface by index. Returns NULL if the device is not found...
dev_get_by_name_rcu(9)
NAME dev_get_by_name_rcu - find a device by its name SYNOPSIS struct net_device * dev_get_by_name_rcu (struct net *net , const char *name ); ARGUMENTS net the applicable net namespace name name to find DESCRIPTION Find an interface by name. If the name is found a pointer to the device is ret...
dev_get_by_napi_id(9)
NAME dev_get_by_napi_id - find a device by napi_id SYNOPSIS struct net_device * dev_get_by_napi_id (unsigned int napi_id ); ARGUMENTS napi_id ID of the NAPI struct DESCRIPTION Search for an interface by NAPI ID. Returns NULL if the device is not found or a pointer to the device. The device has not had its refe...
dev_get_hwtstamp_phylib(9)
NAME dev_get_hwtstamp_phylib - Get hardware timestamping settings of NIC or of attached phylib PHY SYNOPSIS int dev_get_hwtstamp_phylib (struct net_device *dev , struct kernel_hwtstamp_config *cfg ); ARGUMENTS dev Network device cfg Timestamping configuration structure DESCRIPTION Helper for ...
dev_get_iflink(9)
NAME dev_get_iflink - get 'iflink' value of a interface SYNOPSIS int dev_get_iflink (const struct net_device *dev ); ARGUMENTS dev targeted interface DESCRIPTION Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values. SEE ALSO Kernel file ./net...
dev_get_phys_port_id(9)
NAME dev_get_phys_port_id - Get device physical port ID SYNOPSIS int dev_get_phys_port_id (struct net_device *dev , struct netdev_phys_item_id *ppid ); ARGUMENTS dev device ppid port ID DESCRIPTION Get device physical port ID SEE ALSO Kernel file ./net/core/dev.c dev_add_pack(9), __dev_re...
dev_get_phys_port_name(9)
NAME dev_get_phys_port_name - Get device physical port name SYNOPSIS int dev_get_phys_port_name (struct net_device *dev , char *name , size_t len ); ARGUMENTS dev device name port name len limit of bytes to copy to name DESCRIPTION Get device physical port name SEE ALSO Kernel...
dev_get_regmap(9)
NAME dev_get_regmap - Obtain the regmap (if any) for a device SYNOPSIS struct regmap * dev_get_regmap (struct device *dev , const char *name ); ARGUMENTS dev Device to retrieve the map for name Optional name for the register map, usually NULL. DESCRIPTION Returns the regmap for the device if ...
dev_get_stats(9)
NAME dev_get_stats - get network device statistics SYNOPSIS struct rtnl_link_stats64 * dev_get_stats (struct net_device *dev , struct rtnl_link_stats64 *storage ); ARGUMENTS dev device to get statistics from storage place to store stats DESCRIPTION Get network statistics from device. Return stora...
dev_get_tstats64(9)
NAME dev_get_tstats64 - ndo_get_stats64 implementation SYNOPSIS void dev_get_tstats64 (struct net_device *dev , struct rtnl_link_stats64 *s ); ARGUMENTS dev device to get statistics from s place to store stats DESCRIPTION Populate s from dev->stats and dev->tstats. Can be used as ndo_get_st...
dev_getbyhwaddr(9)
NAME dev_getbyhwaddr - find a device by its hardware address SYNOPSIS struct net_device * dev_getbyhwaddr (struct net *net , unsigned short type , const char *ha ); ARGUMENTS net the applicable net namespace type media type of device ha hardware address DESCRIPTION Similar to ...
dev_getbyhwaddr_rcu(9)
NAME dev_getbyhwaddr_rcu - find a device by its hardware address SYNOPSIS struct net_device * dev_getbyhwaddr_rcu (struct net *net , unsigned short type , const char *ha ); ARGUMENTS net the applicable net namespace type media type of device ha hardware address DESCRIPTION Sea...
dev_hold(9)
NAME dev_hold - get reference to device SYNOPSIS void dev_hold (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Hold reference to device to keep it from being freed. Try using netdev_hold instead. SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled...
dev_index_reserve(9)
NAME dev_index_reserve - allocate an ifindex in a namespace SYNOPSIS int dev_index_reserve (struct net *net , u32 ifindex ); ARGUMENTS net the applicable net namespace ifindex requested ifindex, pass 0 to get one allocated DESCRIPTION Allocate a ifindex for a new device. Caller must either use th...
dev_ioctl(9)
NAME dev_ioctl - network device ioctl SYNOPSIS int dev_ioctl (struct net *net , unsigned int cmd , struct ifreq *ifr , void __user *data , bool *need_copyout ); ARGUMENTS net the applicable net namespace cmd command to issue ifr pointer to a struct ifreq in user space d...
dev_load(9)
NAME dev_load - load a network module SYNOPSIS void dev_load (struct net *net , const char *name ); ARGUMENTS net the applicable net namespace name name of interface DESCRIPTION If a network interface is not present and the process has suitable privileges this function loads the module. If mod...
dev_loopback_xmit(9)
NAME dev_loopback_xmit - loop back @skb SYNOPSIS int dev_loopback_xmit (struct net *net , struct sock *sk , struct sk_buff *skb ); ARGUMENTS net network namespace this loopback is happening in sk sk needed to be a netfilter okfn skb buffer to transmit SEE ALSO Kernel file ....
dev_mc_add(9)
NAME dev_mc_add - Add a multicast address SYNOPSIS int dev_mc_add (struct net_device *dev , const unsigned char *addr ); ARGUMENTS dev device addr address to add DESCRIPTION Add a multicast address to the device or increase the reference count if it already exists. SEE ALSO Kernel file ./ne...
dev_mc_add_excl(9)
NAME dev_mc_add_excl - Add a global secondary multicast address SYNOPSIS int dev_mc_add_excl (struct net_device *dev , const unsigned char *addr ); ARGUMENTS dev device addr address to add SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), _...
dev_mc_add_global(9)
NAME dev_mc_add_global - Add a global multicast address SYNOPSIS int dev_mc_add_global (struct net_device *dev , const unsigned char *addr ); ARGUMENTS dev device addr address to add DESCRIPTION Add a global multicast address to the device. SEE ALSO Kernel file ./net/core/dev_addr_lists.c ...
dev_mc_del(9)
NAME dev_mc_del - Delete a multicast address. SYNOPSIS int dev_mc_del (struct net_device *dev , const unsigned char *addr ); ARGUMENTS dev device addr address to delete DESCRIPTION Release reference to a multicast address and remove it from the device if the reference count drops to zero. SEE...
dev_mc_del_global(9)
NAME dev_mc_del_global - Delete a global multicast address. SYNOPSIS int dev_mc_del_global (struct net_device *dev , const unsigned char *addr ); ARGUMENTS dev device addr address to delete DESCRIPTION Release reference to a multicast address and remove it from the device if the reference coun...
dev_mc_flush(9)
NAME dev_mc_flush - Flush multicast addresses SYNOPSIS void dev_mc_flush (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Flush multicast addresses. SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), __hw_addr_ref_unsync_dev(9), __hw_addr_unsy...
dev_mc_init(9)
NAME dev_mc_init - Init multicast address list SYNOPSIS void dev_mc_init (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Init multicast address list. SEE ALSO Kernel file ./net/core/dev_addr_lists.c __hw_addr_sync_dev(9), __hw_addr_ref_sync_dev(9), __hw_addr_ref_unsync_dev(9), __hw_addr_un...
dev_mc_sync(9)
NAME dev_mc_sync - Synchronize device's multicast list to another device SYNOPSIS int dev_mc_sync (struct net_device *to , struct net_device *from ); ARGUMENTS to destination device from source device DESCRIPTION Add newly added addresses to the destination device and release addresses that...
dev_mc_sync_multiple(9)
NAME dev_mc_sync_multiple - Synchronize device's multicast list to another device, but allow for multiple calls to sync to multiple devices. SYNOPSIS int dev_mc_sync_multiple (struct net_device *to , struct net_device *from ); ARGUMENTS to destination device from source device DESCRIPTION Add...
dev_mc_unsync(9)
NAME dev_mc_unsync - Remove synchronized addresses from the destination device SYNOPSIS void dev_mc_unsync (struct net_device *to , struct net_device *from ); ARGUMENTS to destination device from source device DESCRIPTION Remove all addresses that were added to the destination device by dev_m...
dev_mmio(9)
NAME dev_mmio - Get the MMIO address of PDC2027x extended registers SYNOPSIS void __iomem * dev_mmio (struct ata_port *ap , struct ata_device *adev , unsigned int offset ); ARGUMENTS ap Port adev device offset offset from mmio base SEE ALSO Kernel file ./drivers/ata/pata_pdc2...
dev_monitor(9)
NAME dev_monitor - periodic monitoring SYNOPSIS void dev_monitor (struct timer_list *t ); ARGUMENTS t timer list containing a network device pointer. DESCRIPTION This routine is run in a kernel timer to monitor the network device. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz...
dev_name(9)
NAME dev_name - Return a device's name. SYNOPSIS const char * dev_name (const struct device *dev ); ARGUMENTS dev Device with name to get. RETURN The kobject name of the device, or its initial name if unavailable. SEE ALSO Kernel file ./include/linux/device.h struct subsys_interface(9), struct device_...
dev_nit_active_rcu(9)
NAME dev_nit_active_rcu - return true if any network interface taps are in use SYNOPSIS bool dev_nit_active_rcu (const struct net_device *dev ); ARGUMENTS dev network device to check for the presence of taps DESCRIPTION The caller must hold the RCU lock SEE ALSO Kernel file ./net/core/dev.c dev_add_pack(...
dev_open(9)
NAME dev_open - prepare an interface for use SYNOPSIS int dev_open (struct net_device *dev , struct netlink_ext_ack *extack ); ARGUMENTS dev device to open extack netlink extended ack DESCRIPTION Takes a device from down to up state. The device's private open function is invoked and then the...
dev_or_parent_of_node(9)
NAME dev_or_parent_of_node - Get device node of @dev or @dev's parent SYNOPSIS struct device_node * dev_or_parent_of_node (struct device *dev ); ARGUMENTS dev Device to get device node of RETURN device node pointer of dev, or the device node pointer of dev->parent if dev doesn't have a device node, or NULL i...
dev_page_is_reusable(9)
NAME dev_page_is_reusable - check whether a page can be reused for network Rx SYNOPSIS bool dev_page_is_reusable (const struct page *page ); ARGUMENTS page the page to test DESCRIPTION A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node. ...
dev_pm_arm_wake_irq(9)
NAME dev_pm_arm_wake_irq - Arm device wake-up SYNOPSIS void dev_pm_arm_wake_irq (struct wake_irq *wirq ); ARGUMENTS wirq Device wake-up interrupt DESCRIPTION Sets up the wake-up event conditionally based on the device_may_wake. SEE ALSO Kernel file ./drivers/base/power/wakeirq.c dev_pm_attach_wake_irq(...