id
stringlengths
4
63
text
stringlengths
153
8.81M
batadv_update_min_mtu(9)
NAME batadv_update_min_mtu - Adjusts the MTU if a new interface with a smaller MTU appeared SYNOPSIS void batadv_update_min_mtu (struct net_device *mesh_iface ); ARGUMENTS mesh_iface netdev struct of the mesh interface SEE ALSO Kernel file ./net/batman-adv/hard-interface.c batadv_hardif_release(9), batadv_har...
batadv_update_route(9)
NAME batadv_update_route - set the router for this originator SYNOPSIS void batadv_update_route (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , struct batadv_hard_iface *recv_if , struct batadv_neigh_node *neigh_node ); ARGUMENTS bat_priv the bat priv with all the mesh interface information ...
batadv_v_elp_get_throughput(9)
NAME batadv_v_elp_get_throughput - get the throughput towards a neighbour SYNOPSIS bool batadv_v_elp_get_throughput (struct batadv_hardif_neigh_node *neigh , u32 *pthroughput ); ARGUMENTS neigh the neighbour for which the throughput has to be obtained pthroughput calculated throughput towards the given ...
batadv_v_elp_iface_activate(9)
NAME batadv_v_elp_iface_activate - update the ELP buffer belonging to the given hard-interface SYNOPSIS void batadv_v_elp_iface_activate (struct batadv_hard_iface *primary_iface , struct batadv_hard_iface *hard_iface ); ARGUMENTS primary_iface the new primary interface hard_iface interface holding the to-be-...
batadv_v_elp_iface_disable(9)
NAME batadv_v_elp_iface_disable - release ELP interface private resources SYNOPSIS void batadv_v_elp_iface_disable (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface interface for which the resources have to be released SEE ALSO Kernel file ./net/batman-adv/bat_v_elp.c struct batadv_v_metric_queue_en...
batadv_v_elp_iface_enable(9)
NAME batadv_v_elp_iface_enable - setup the ELP interface private resources SYNOPSIS int batadv_v_elp_iface_enable (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface interface for which the data has to be prepared RETURN 0 on success or a -ENOMEM in case of failure. SEE ALSO Kernel file ./net/batman-ad...
batadv_v_elp_neigh_update(9)
NAME batadv_v_elp_neigh_update - update an ELP neighbour node SYNOPSIS void batadv_v_elp_neigh_update (struct batadv_priv *bat_priv , u8 *neigh_addr , struct batadv_hard_iface *if_incoming , struct batadv_elp_packet *elp_packet ); ARGUMENTS bat_priv the bat priv with all the mesh interface information neig...
batadv_v_elp_packet_recv(9)
NAME batadv_v_elp_packet_recv - main ELP packet handler SYNOPSIS int batadv_v_elp_packet_recv (struct sk_buff *skb , struct batadv_hard_iface *if_incoming ); ARGUMENTS skb the received packet if_incoming the interface this packet was received through RETURN NET_RX_SUCCESS and consumes the skb if the ...
batadv_v_elp_periodic_work(9)
NAME batadv_v_elp_periodic_work - ELP periodic task per interface SYNOPSIS void batadv_v_elp_periodic_work (struct work_struct *work ); ARGUMENTS work work queue item DESCRIPTION Emits broadcast ELP messages in regular intervals. SEE ALSO Kernel file ./net/batman-adv/bat_v_elp.c struct batadv_v_metric_qu...
batadv_v_elp_primary_iface_set(9)
NAME batadv_v_elp_primary_iface_set - change internal data to reflect the new primary interface SYNOPSIS void batadv_v_elp_primary_iface_set (struct batadv_hard_iface *primary_iface ); ARGUMENTS primary_iface the new primary interface SEE ALSO Kernel file ./net/batman-adv/bat_v_elp.c struct batadv_v_metric_queue_en...
batadv_v_elp_start_timer(9)
NAME batadv_v_elp_start_timer - restart timer for ELP periodic work SYNOPSIS void batadv_v_elp_start_timer (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface for which the timer has to be reset SEE ALSO Kernel file ./net/batman-adv/bat_v_elp.c struct batadv_v_metric_queue_entry(9), batad...
batadv_v_elp_throughput_metric_update(9)
NAME batadv_v_elp_throughput_metric_update - worker updating the throughput metric of a single hop neighbour SYNOPSIS void batadv_v_elp_throughput_metric_update (struct batadv_hardif_neigh_node *neigh ); ARGUMENTS neigh the neighbour to probe SEE ALSO Kernel file ./net/batman-adv/bat_v_elp.c struct bat...
batadv_v_elp_wifi_neigh_probe(9)
NAME batadv_v_elp_wifi_neigh_probe - send link probing packets to a neighbour SYNOPSIS bool batadv_v_elp_wifi_neigh_probe (struct batadv_hardif_neigh_node *neigh ); ARGUMENTS neigh the neighbour to probe DESCRIPTION Sends a predefined number of unicast wifi packets to a given neighbour in order to trigger the...
batadv_v_forward_penalty(9)
NAME batadv_v_forward_penalty - apply a penalty to the throughput metric forwarded with B.A.T.M.A.N. V OGMs SYNOPSIS u32 batadv_v_forward_penalty (struct batadv_priv *bat_priv , struct batadv_hard_iface *if_incoming , struct batadv_hard_iface *if_outgoing , u32 throughput ); ARGUMENTS bat_priv the bat priv with al...
batadv_v_gw_dump(9)
NAME batadv_v_gw_dump - Dump gateways into a message SYNOPSIS void batadv_v_gw_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv ); ARGUMENTS msg Netlink message to dump into cb Control block containing additional options bat_priv The bat priv w...
batadv_v_gw_dump_entry(9)
NAME batadv_v_gw_dump_entry - Dump a gateway into a message SYNOPSIS int batadv_v_gw_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_gw_node *gw_node ); ARGUMENTS msg Netlink message to dump into portid Port making netlink ...
batadv_v_gw_get_best_gw_node(9)
NAME batadv_v_gw_get_best_gw_node - retrieve the best GW node SYNOPSIS struct batadv_gw_node * batadv_v_gw_get_best_gw_node (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information RETURN the GW node having the best GW-metric, NULL if no GW is known SEE ALSO Kernel...
batadv_v_gw_is_eligible(9)
NAME batadv_v_gw_is_eligible - check if a originator would be selected as GW SYNOPSIS bool batadv_v_gw_is_eligible (struct batadv_priv *bat_priv , struct batadv_orig_node *curr_gw_orig , struct batadv_orig_node *orig_node ); ARGUMENTS bat_priv the bat priv with all the mesh interface information curr_gw_or...
batadv_v_gw_throughput_get(9)
NAME batadv_v_gw_throughput_get - retrieve the GW-bandwidth for a given GW SYNOPSIS int batadv_v_gw_throughput_get (struct batadv_gw_node *gw_node , u32 *bw ); ARGUMENTS gw_node the GW to retrieve the metric for bw the pointer where the metric will be stored. The metric is computed as the minimum...
batadv_v_hardif_init(9)
NAME batadv_v_hardif_init - initialize the algorithm specific fields in the hard-interface object SYNOPSIS void batadv_v_hardif_init (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the hard-interface to initialize SEE ALSO Kernel file ./net/batman-adv/bat_v.c batadv_v_iface_update_mac(9), batadv_...
batadv_v_iface_update_mac(9)
NAME batadv_v_iface_update_mac - react to hard-interface MAC address change SYNOPSIS void batadv_v_iface_update_mac (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the modified interface DESCRIPTION If the modified interface is the primary one, update the originator address in the ELP and OGM messages...
batadv_v_init(9)
NAME batadv_v_init - B.A.T.M.A.N. V initialization function SYNOPSIS int batadv_v_init (void ); ARGUMENTS void no arguments DESCRIPTION Takes care of initializing all the subcomponents. It is invoked upon module load only. RETURN 0 on success or a negative error code otherwise SEE ALSO Kernel file ./net...
batadv_v_init_sel_class(9)
NAME batadv_v_init_sel_class - initialize GW selection class SYNOPSIS void batadv_v_init_sel_class (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information SEE ALSO Kernel file ./net/batman-adv/bat_v.c batadv_v_iface_update_mac(9), batadv_v_neigh_dump_neigh(9),...
batadv_v_mesh_free(9)
NAME batadv_v_mesh_free - free the B.A.T.M.A.N. V private resources for a mesh SYNOPSIS void batadv_v_mesh_free (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the object representing the mesh interface to free SEE ALSO Kernel file ./net/batman-adv/bat_v.c batadv_v_iface_update_mac(9), batadv_v_neigh_dum...
batadv_v_mesh_init(9)
NAME batadv_v_mesh_init - initialize the B.A.T.M.A.N. V private resources for a mesh SYNOPSIS int batadv_v_mesh_init (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the object representing the mesh interface to initialise RETURN 0 on success or a negative error code otherwise SEE ALSO Kernel file ./net/ba...
batadv_v_neigh_dump(9)
NAME batadv_v_neigh_dump - Dump the neighbours of a hard interface into a message SYNOPSIS void batadv_v_neigh_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hard_iface *single_hardif ); ARGUMENTS msg Netlink message to dump into cb Cont...
batadv_v_neigh_dump_hardif(9)
NAME batadv_v_neigh_dump_hardif - Dump the neighbours of a hard interface into a message SYNOPSIS int batadv_v_neigh_dump_hardif (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *hard_iface , int *idx_s ); ARGUMENTS msg Netlink message to dump into ...
batadv_v_neigh_dump_neigh(9)
NAME batadv_v_neigh_dump_neigh - Dump a neighbour into a message SYNOPSIS int batadv_v_neigh_dump_neigh (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_hardif_neigh_node *hardif_neigh ); ARGUMENTS msg Netlink message to dump into portid Port making netlink request seq ...
batadv_v_ogm_aggr_list_free(9)
NAME batadv_v_ogm_aggr_list_free - free all elements in an aggregation queue SYNOPSIS void batadv_v_ogm_aggr_list_free (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface holding the aggregation queue DESCRIPTION Empties the OGMv2 aggregation queue and frees all the skbs it contains. Caller...
batadv_v_ogm_aggr_packet(9)
NAME batadv_v_ogm_aggr_packet - checks if there is another OGM aggregated SYNOPSIS bool batadv_v_ogm_aggr_packet (int buff_pos , int packet_len , const struct batadv_ogm2_packet *ogm2_packet ); ARGUMENTS buff_pos current position in the skb packet_len total length of the skb ogm2_packet potential ...
batadv_v_ogm_aggr_send(9)
NAME batadv_v_ogm_aggr_send - flush & send aggregation queue SYNOPSIS void batadv_v_ogm_aggr_send (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface with the aggregation queue to flush DESCRIPTION Aggregates all OGMv2 packets currently in the aggregation queue into a single OGMv...
batadv_v_ogm_aggr_work(9)
NAME batadv_v_ogm_aggr_work - OGM queue periodic task per interface SYNOPSIS void batadv_v_ogm_aggr_work (struct work_struct *work ); ARGUMENTS work work queue item DESCRIPTION Emits aggregated OGM messages in regular intervals. SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9)...
batadv_v_ogm_forward(9)
NAME batadv_v_ogm_forward - check conditions and forward an OGM to the given outgoing interface SYNOPSIS void batadv_v_ogm_forward (struct batadv_priv *bat_priv , const struct batadv_ogm2_packet *ogm_received , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node , struct batadv_hard_iface *if_inc...
batadv_v_ogm_free(9)
NAME batadv_v_ogm_free - free OGM private resources SYNOPSIS void batadv_v_ogm_free (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_start_queue_timer(9), bata...
batadv_v_ogm_iface_disable(9)
NAME batadv_v_ogm_iface_disable - release OGM interface private resources SYNOPSIS void batadv_v_ogm_iface_disable (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface interface for which the resources have to be released SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), b...
batadv_v_ogm_iface_enable(9)
NAME batadv_v_ogm_iface_enable - prepare an interface for B.A.T.M.A.N. V SYNOPSIS int batadv_v_ogm_iface_enable (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface to prepare DESCRIPTION Takes care of scheduling its own OGM sending routine for this interface. RETURN 0 on success or a negati...
batadv_v_ogm_init(9)
NAME batadv_v_ogm_init - initialise the OGM2 engine SYNOPSIS int batadv_v_ogm_init (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information RETURN 0 on success or a negative error code in case of failure SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c ...
batadv_v_ogm_len(9)
NAME batadv_v_ogm_len - OGMv2 packet length SYNOPSIS unsigned int batadv_v_ogm_len (struct sk_buff *skb ); ARGUMENTS skb the OGM to check RETURN Length of the given OGMv2 packet, including tvlv length, excluding ethernet header length. SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_g...
batadv_v_ogm_metric_update(9)
NAME batadv_v_ogm_metric_update - update route metric based on OGM SYNOPSIS int batadv_v_ogm_metric_update (struct batadv_priv *bat_priv , const struct batadv_ogm2_packet *ogm2 , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node , struct batadv_hard_iface *if_incoming , struct batadv...
batadv_v_ogm_orig_get(9)
NAME batadv_v_ogm_orig_get - retrieve and possibly create an originator node SYNOPSIS struct batadv_orig_node * batadv_v_ogm_orig_get (struct batadv_priv *bat_priv , const u8 *addr ); ARGUMENTS bat_priv the bat priv with all the mesh interface information addr the address of the originator RETURN t...
batadv_v_ogm_packet_recv(9)
NAME batadv_v_ogm_packet_recv - OGM2 receiving handler SYNOPSIS int batadv_v_ogm_packet_recv (struct sk_buff *skb , struct batadv_hard_iface *if_incoming ); ARGUMENTS skb the received OGM if_incoming the interface where this OGM has been received RETURN NET_RX_SUCCESS and consume the skb on success o...
batadv_v_ogm_primary_iface_set(9)
NAME batadv_v_ogm_primary_iface_set - set a new primary interface SYNOPSIS void batadv_v_ogm_primary_iface_set (struct batadv_hard_iface *primary_iface ); ARGUMENTS primary_iface the new primary interface SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_start_queue_tim...
batadv_v_ogm_process(9)
NAME batadv_v_ogm_process - process an incoming batman v OGM SYNOPSIS void batadv_v_ogm_process (const struct sk_buff *skb , int ogm_offset , struct batadv_hard_iface *if_incoming ); ARGUMENTS skb the skb containing the OGM ogm_offset offset to the OGM which should be processed (for aggregates) ...
batadv_v_ogm_process_per_outif(9)
NAME batadv_v_ogm_process_per_outif - process a batman v OGM for an outgoing if SYNOPSIS void batadv_v_ogm_process_per_outif (struct batadv_priv *bat_priv , const struct ethhdr *ethhdr , const struct batadv_ogm2_packet *ogm2 , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node , struct batadv_h...
batadv_v_ogm_queue_left(9)
NAME batadv_v_ogm_queue_left - check if given OGM still fits aggregation queue SYNOPSIS bool batadv_v_ogm_queue_left (struct sk_buff *skb , struct batadv_hard_iface *hard_iface ); ARGUMENTS skb the OGM to check hard_iface the interface to use to send the OGM DESCRIPTION Caller needs to hold the hard...
batadv_v_ogm_queue_on_if(9)
NAME batadv_v_ogm_queue_on_if - queue a batman ogm on a given interface SYNOPSIS void batadv_v_ogm_queue_on_if (struct sk_buff *skb , struct batadv_hard_iface *hard_iface ); ARGUMENTS skb the OGM to queue hard_iface the interface to queue the OGM on SEE ALSO Kernel file ./net/batman-adv/bat_v_og...
batadv_v_ogm_route_update(9)
NAME batadv_v_ogm_route_update - update routes based on OGM SYNOPSIS bool batadv_v_ogm_route_update (struct batadv_priv *bat_priv , const struct ethhdr *ethhdr , const struct batadv_ogm2_packet *ogm2 , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_node , struct batadv_hard_iface *if_incomi...
batadv_v_ogm_send(9)
NAME batadv_v_ogm_send - periodic worker broadcasting the own OGM SYNOPSIS void batadv_v_ogm_send (struct work_struct *work ); ARGUMENTS work work queue item SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_start_queue_timer(9), batadv_v_ogm_start_timer(9), ...
batadv_v_ogm_send_meshif(9)
NAME batadv_v_ogm_send_meshif - periodic worker broadcasting the own OGM SYNOPSIS void batadv_v_ogm_send_meshif (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_...
batadv_v_ogm_send_to_if(9)
NAME batadv_v_ogm_send_to_if - send a batman ogm using a given interface SYNOPSIS void batadv_v_ogm_send_to_if (struct sk_buff *skb , struct batadv_hard_iface *hard_iface ); ARGUMENTS skb the OGM to send hard_iface the interface to use to send the OGM SEE ALSO Kernel file ./net/batman-adv/bat_v_...
batadv_v_ogm_start_queue_timer(9)
NAME batadv_v_ogm_start_queue_timer - restart the OGM aggregation timer SYNOPSIS void batadv_v_ogm_start_queue_timer (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface to use to send the OGM SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_st...
batadv_v_ogm_start_timer(9)
NAME batadv_v_ogm_start_timer - restart the OGM sending timer SYNOPSIS void batadv_v_ogm_start_timer (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information SEE ALSO Kernel file ./net/batman-adv/bat_v_ogm.c batadv_v_ogm_orig_get(9), batadv_v_ogm_start_queue_...
batadv_v_orig_dump(9)
NAME batadv_v_orig_dump - Dump the originators into a message SYNOPSIS void batadv_v_orig_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing ); ARGUMENTS msg Netlink message to dump into cb Control block containing ad...
batadv_v_orig_dump_bucket(9)
NAME batadv_v_orig_dump_bucket - Dump an originator bucket into a message SYNOPSIS int batadv_v_orig_dump_bucket (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct hlist_head *head , int *idx_s , int *sub ); ARGUMENTS msg Netlink message...
batadv_v_orig_dump_entry(9)
NAME batadv_v_orig_dump_entry - Dump an originator entry into a message SYNOPSIS int batadv_v_orig_dump_entry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct batadv_orig_node *orig_node , int *sub_s ); ARGUMENTS msg Netlink message to...
batadv_v_orig_dump_subentry(9)
NAME batadv_v_orig_dump_subentry - Dump an originator subentry into a message SYNOPSIS int batadv_v_orig_dump_subentry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neigh_nod...
batadv_vlan_ap_isola_get(9)
NAME batadv_vlan_ap_isola_get - return AP isolation status for the given vlan SYNOPSIS bool batadv_vlan_ap_isola_get (struct batadv_priv *bat_priv , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information vid the VLAN identifier for which the AP isolation attri...
batadv_vlan_id_valid(9)
NAME batadv_vlan_id_valid - check if vlan id is in valid batman-adv encoding SYNOPSIS bool batadv_vlan_id_valid (unsigned short vid ); ARGUMENTS vid the VLAN identifier RETURN true when either no vlan is set or if VLAN is in correct range, false otherwise SEE ALSO Kernel file ./net/batman-adv/originator....
batadv_wifi_flags_evaluate(9)
NAME batadv_wifi_flags_evaluate - calculate wifi flags for net_device SYNOPSIS u32 batadv_wifi_flags_evaluate (struct net_device *net_device ); ARGUMENTS net_device the device to check RETURN batadv_hard_iface_wifi_flags flags of the device SEE ALSO Kernel file ./net/batman-adv/hard-interface.c batadv_hardif_re...
batadv_window_protected(9)
NAME batadv_window_protected - checks whether the host restarted and is in the protection time. SYNOPSIS bool batadv_window_protected (struct batadv_priv *bat_priv , s32 seq_num_diff , s32 seq_old_max_diff , unsigned long *last_reset , bool *protection_started ); ARGUMENTS bat_priv the bat priv with all the mesh i...
batch(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME batch — schedule commands to be executed in a batch queue ...
baudrate.3x(3)
NAME baudrate, erasechar, erasewchar, has_ic, has_il, killchar, killwchar, longname, term_attrs, termattrs, termname - curses environment query routines SYNOPSIS #include <ncursesw/curses.h> int baudrate(void); char erasechar(void); int erasewchar(wchar_t *wc); bool has_ic(void); bo...
baudrate_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
bbox(1)
NAME bbox - prints out the bounding box of a rawppm or rawpbm image SYNOPSIS bbox [ -l ] [ -r ] [ -h ] [ -V ] [ rawpbmfile ] DESCRIPTION bbox reads a rawppm or rawpbm file and prints out the bounding box of the image (as postscript comment and in postscript points, i.e. 1/72dpi) as well as the high resolution boundin...
bc(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME bc — arbitrary-precision arithmetic language SYNOPSIS bc ...
bc_send_request(9)
NAME bc_send_request - Send a backchannel Call on a TCP socket SYNOPSIS int bc_send_request (struct rpc_rqst *req ); ARGUMENTS req rpc_rqst containing Call message to be sent DESCRIPTION xpt_mutex ensures rqstp's whole message is written to the socket without interruption. Return values: 0 if the message wa...
bcache-super-show(8)
NAME bcache-super-show - Print the bcache superblock SYNOPSIS bcache-super-show [ -f] device OPTIONS -f Keep going if the superblock crc is invalid
bch_bio_alloc_pages(9)
NAME bch_bio_alloc_pages - allocates a single page for each bvec in a bio SYNOPSIS int bch_bio_alloc_pages (struct bio *bio , gfp_t gfp_mask ); ARGUMENTS bio bio to allocate pages for gfp_mask flags for allocation DESCRIPTION Allocates pages up to bio->bi_vcnt. Returns 0 on success, -ENOMEM on fa...
bch_decode(9)
NAME bch_decode - decode received codeword and find bit error locations SYNOPSIS int bch_decode (struct bch_control *bch , const uint8_t *data , unsigned int len , const uint8_t *recv_ecc , const uint8_t *calc_ecc , const unsigned int *syn , unsigned int *errloc ); ARGUMENTS bch BCH control structure ...
bch_encode(9)
NAME bch_encode - calculate BCH ecc parity of data SYNOPSIS void bch_encode (struct bch_control *bch , const uint8_t *data , unsigned int len , uint8_t *ecc ); ARGUMENTS bch BCH control structure data data to encode len data length in bytes ecc ecc parity data, m...
bch_free(9)
NAME bch_free - free the BCH control structure SYNOPSIS void bch_free (struct bch_control *bch ); ARGUMENTS bch BCH control structure to release SEE ALSO Kernel file ./lib/bch.c bch_encode(9), bch_decode(9), bch_init(9) April 2026 ...
bch_hprint(9)
NAME bch_hprint - formats @v to human readable string for sysfs. SYNOPSIS ssize_t bch_hprint (char *buf , int64_t v ); ARGUMENTS buf the (at least 8 byte) buffer to format the result into. v signed 64 bit integer DESCRIPTION Returns the number of bytes used by format. SEE ALSO Kernel file ...
bch_init(9)
NAME bch_init - initialize a BCH encoder/decoder SYNOPSIS struct bch_control * bch_init (int m , int t , unsigned int prim_poly , bool swap_bits ); ARGUMENTS m Galois field order, should be in the range 5-15 t maximum error correction capability, in bits prim_poly user-provided p...
bch_next_delay(9)
NAME bch_next_delay - update ratelimiting statistics and calculate next delay SYNOPSIS uint64_t bch_next_delay (struct bch_ratelimit *d , uint64_t done ); ARGUMENTS d the struct bch_ratelimit to update done the amount of work done, in arbitrary units DESCRIPTION Increment d by the amount of ...
bcm2835_dma_create_cb_chain(9)
NAME bcm2835_dma_create_cb_chain - create a control block and fills data in SYNOPSIS struct bcm2835_desc * bcm2835_dma_create_cb_chain (struct dma_chan *chan , enum dma_transfer_direction direction , bool cyclic , u32 info , u32 finalextrainfo , size_t frames , dma_addr_t src , dma_addr_t dst , size_t buf_len , si...
bcm2835_rd_fifo_blind(9)
NAME bcm2835_rd_fifo_blind - blindly read up to @count bytes from RX FIFO SYNOPSIS void bcm2835_rd_fifo_blind (struct bcm2835_spi *bs , int count ); ARGUMENTS bs BCM2835 SPI controller count bytes available for reading in RX FIFO SEE ALSO Kernel file ./drivers/spi/spi-bcm2835.c struct bcm2...
bcm2835_rd_fifo_count(9)
NAME bcm2835_rd_fifo_count - blindly read exactly @count bytes from RX FIFO SYNOPSIS void bcm2835_rd_fifo_count (struct bcm2835_spi *bs , int count ); ARGUMENTS bs BCM2835 SPI controller count bytes to read from RX FIFO DESCRIPTION The caller must ensure that bs->rx_len is greater than or equ...
bcm2835_spi_dma_rx_done(9)
NAME bcm2835_spi_dma_rx_done - callback for DMA RX channel SYNOPSIS void bcm2835_spi_dma_rx_done (void *data ); ARGUMENTS data SPI host controller DESCRIPTION Used for bidirectional and RX-only transfers. SEE ALSO Kernel file ./drivers/spi/spi-bcm2835.c struct bcm2835_spi(9), struct bcm2835_s...
bcm2835_spi_dma_tx_done(9)
NAME bcm2835_spi_dma_tx_done - callback for DMA TX channel SYNOPSIS void bcm2835_spi_dma_tx_done (void *data ); ARGUMENTS data SPI host controller DESCRIPTION Used for TX-only transfers. SEE ALSO Kernel file ./drivers/spi/spi-bcm2835.c struct bcm2835_spi(9), struct bcm2835_spidev(9), bcm283...
bcm2835_spi_prepare_sg(9)
NAME bcm2835_spi_prepare_sg - prepare and submit DMA descriptor for sglist SYNOPSIS int bcm2835_spi_prepare_sg (struct spi_controller *ctlr , struct spi_transfer *tfr , struct bcm2835_spi *bs , struct bcm2835_spidev *target , bool is_tx ); ARGUMENTS ctlr SPI host controller tfr SPI transfer ...
bcm2835_spi_transfer_one_dma(9)
NAME bcm2835_spi_transfer_one_dma - perform SPI transfer using DMA engine SYNOPSIS int bcm2835_spi_transfer_one_dma (struct spi_controller *ctlr , struct spi_transfer *tfr , struct bcm2835_spidev *target , u32 cs ); ARGUMENTS ctlr SPI host controller tfr SPI transfer target BCM2835...
bcm2835_spi_transfer_prologue(9)
NAME bcm2835_spi_transfer_prologue - transfer first few bytes without DMA SYNOPSIS void bcm2835_spi_transfer_prologue (struct spi_controller *ctlr , struct spi_transfer *tfr , struct bcm2835_spi *bs , u32 cs ); ARGUMENTS ctlr SPI host controller tfr SPI transfer bs BCM2835 SPI ...
bcm2835_spi_undo_prologue(9)
NAME bcm2835_spi_undo_prologue - reconstruct original sglist state SYNOPSIS void bcm2835_spi_undo_prologue (struct bcm2835_spi *bs ); ARGUMENTS bs BCM2835 SPI controller DESCRIPTION Undo changes which were made to an SPI transfer's sglist when transmitting the prologue. This is necessary to ensure the same...
bcm2835_wait_tx_fifo_empty(9)
NAME bcm2835_wait_tx_fifo_empty - busy-wait for TX FIFO to empty SYNOPSIS void bcm2835_wait_tx_fifo_empty (struct bcm2835_spi *bs ); ARGUMENTS bs BCM2835 SPI controller DESCRIPTION The caller must ensure that the RX FIFO can accommodate as many bytes as have been written to the TX FIFO: Transmission is hal...
bcm2835_wr_fifo_blind(9)
NAME bcm2835_wr_fifo_blind - blindly write up to @count bytes to TX FIFO SYNOPSIS void bcm2835_wr_fifo_blind (struct bcm2835_spi *bs , int count ); ARGUMENTS bs BCM2835 SPI controller count bytes available for writing in TX FIFO SEE ALSO Kernel file ./drivers/spi/spi-bcm2835.c struct bcm28...
bcm2835_wr_fifo_count(9)
NAME bcm2835_wr_fifo_count - blindly write exactly @count bytes to TX FIFO SYNOPSIS void bcm2835_wr_fifo_count (struct bcm2835_spi *bs , int count ); ARGUMENTS bs BCM2835 SPI controller count bytes to write to TX FIFO DESCRIPTION The caller must ensure that bs->tx_len is greater than or equal...
bcm47xx_nvram_copy(9)
NAME bcm47xx_nvram_copy - copy NVRAM to internal buffer SYNOPSIS void bcm47xx_nvram_copy (void __iomem *nvram_start , size_t res_size ); ARGUMENTS nvram_start -- undescribed -- res_size -- undescribed -- SEE ALSO Kernel file ./drivers/firmware/broadcom/bcm47xx_nvram.c bcm47xx_nvram_is_valid(9), bcm47xx_nv...
bcm47xx_nvram_find_and_copy(9)
NAME bcm47xx_nvram_find_and_copy - find NVRAM on flash mapping & copy it SYNOPSIS int bcm47xx_nvram_find_and_copy (void __iomem *flash_start , size_t res_size ); ARGUMENTS flash_start -- undescribed -- res_size -- undescribed -- SEE ALSO Kernel file ./drivers/firmware/broadcom/bcm47xx_nvram.c bcm47xx_nvra...
bcm47xx_nvram_is_valid(9)
NAME bcm47xx_nvram_is_valid - check for a valid NVRAM at specified memory SYNOPSIS bool bcm47xx_nvram_is_valid (void __iomem *nvram ); ARGUMENTS nvram -- undescribed -- SEE ALSO Kernel file ./drivers/firmware/broadcom/bcm47xx_nvram.c bcm47xx_nvram_copy(9), bcm47xx_nvram_find_and_copy(9) April 2026 ...
bcm47xxpart_bootpartition(9)
NAME bcm47xxpart_bootpartition - gets index of TRX partition used by bootloader SYNOPSIS int bcm47xxpart_bootpartition (void ); ARGUMENTS void no arguments DESCRIPTION Some devices may have more than one TRX partition. In such case one of them is the main one and another a failsafe one. Bootloader may fall...
bcm5481x_read_abilities(9)
NAME bcm5481x_read_abilities - read PHY abilities from LRESR or Clause 22 (BMSR) registers, based on whether the PHY is in BroadR-Reach or IEEE mode SYNOPSIS int bcm5481x_read_abilities (struct phy_device *phydev ); ARGUMENTS phydev target phy_device struct DESCRIPTION Reads the PHY's abilities and populate...
bcm63xx_ep0_complete(9)
NAME bcm63xx_ep0_complete - Set completion status and "stage" the callback. SYNOPSIS void bcm63xx_ep0_complete (struct bcm63xx_udc *udc , struct usb_request *req , int status ); ARGUMENTS udc Reference to the device controller. req USB gadget layer representation of the request. status...
bcm63xx_ep0_do_idle(9)
NAME bcm63xx_ep0_do_idle - Check for outstanding requests if ep0 is idle. SYNOPSIS int bcm63xx_ep0_do_idle (struct bcm63xx_udc *udc ); ARGUMENTS udc Reference to the device controller. DESCRIPTION In state EP0_IDLE, the RX descriptor is either pending, or has been filled with a SETUP packet from the host. ...
bcm63xx_ep0_do_setup(9)
NAME bcm63xx_ep0_do_setup - Parse new SETUP packet and decide how to handle it. SYNOPSIS enum bcm63xx_ep0_state bcm63xx_ep0_do_setup (struct bcm63xx_udc *udc ); ARGUMENTS udc Reference to the device controller. DESCRIPTION EP0_IDLE probably shouldn't ever happen. EP0_REQUEUE means we're ready for the next p...
bcm63xx_ep0_internal_request(9)
NAME bcm63xx_ep0_internal_request - Helper function to submit an ep0 request. SYNOPSIS void bcm63xx_ep0_internal_request (struct bcm63xx_udc *udc , int ch_idx , int length ); ARGUMENTS udc Reference to the device controller. ch_idx IUDMA channel number. length Number of bytes to TX/R...
bcm63xx_ep0_map_write(9)
NAME bcm63xx_ep0_map_write - dma_map and iudma_write a single request. SYNOPSIS void bcm63xx_ep0_map_write (struct bcm63xx_udc *udc , int ch_idx , struct usb_request *req ); ARGUMENTS udc Reference to the device controller. ch_idx IUDMA channel number. req USB gadget layer represe...
bcm63xx_ep0_nuke_reply(9)
NAME bcm63xx_ep0_nuke_reply - Abort request from the gadget driver due to reset/shutdown. SYNOPSIS void bcm63xx_ep0_nuke_reply (struct bcm63xx_udc *udc , int is_tx ); ARGUMENTS udc Reference to the device controller. is_tx Nonzero for TX (IN), zero for RX (OUT). SEE ALSO Kernel file ./drivers...
bcm63xx_ep0_one_round(9)
NAME bcm63xx_ep0_one_round - Handle the current ep0 state. SYNOPSIS int bcm63xx_ep0_one_round (struct bcm63xx_udc *udc ); ARGUMENTS udc Reference to the device controller. DESCRIPTION Returns 0 if work was done; -EAGAIN if nothing to do. SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct ...
bcm63xx_ep0_process(9)
NAME bcm63xx_ep0_process - ep0 worker thread / state machine. SYNOPSIS void bcm63xx_ep0_process (struct work_struct *w ); ARGUMENTS w Workqueue struct. DESCRIPTION bcm63xx_ep0_process is triggered any time an event occurs on ep0. It is used to synchronize ep0 events and ensure that both HW and SW events o...
bcm63xx_ep0_read_complete(9)
NAME bcm63xx_ep0_read_complete - Close out the pending ep0 request; return transfer len. SYNOPSIS int bcm63xx_ep0_read_complete (struct bcm63xx_udc *udc ); ARGUMENTS udc Reference to the device controller. SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_...