diff options
46 files changed, 163 insertions, 103 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 2a167658bb95..35b8911b1c8e 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c | |||
@@ -212,7 +212,7 @@ static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req) | |||
212 | * this takes a list of pages. | 212 | * this takes a list of pages. |
213 | * @sg: scatter/gather list to pack into | 213 | * @sg: scatter/gather list to pack into |
214 | * @start: which segment of the sg_list to start at | 214 | * @start: which segment of the sg_list to start at |
215 | * @**pdata: a list of pages to add into sg. | 215 | * @pdata: a list of pages to add into sg. |
216 | * @nr_pages: number of pages to pack into the scatter/gather list | 216 | * @nr_pages: number of pages to pack into the scatter/gather list |
217 | * @data: data to pack into scatter/gather list | 217 | * @data: data to pack into scatter/gather list |
218 | * @count: amount of data to pack into the scatter/gather list | 218 | * @count: amount of data to pack into the scatter/gather list |
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index 86852963b7f7..33475291c9c1 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -129,8 +129,8 @@ found: | |||
129 | 129 | ||
130 | /** | 130 | /** |
131 | * atalk_find_or_insert_socket - Try to find a socket matching ADDR | 131 | * atalk_find_or_insert_socket - Try to find a socket matching ADDR |
132 | * @sk - socket to insert in the list if it is not there already | 132 | * @sk: socket to insert in the list if it is not there already |
133 | * @sat - address to search for | 133 | * @sat: address to search for |
134 | * | 134 | * |
135 | * Try to find a socket matching ADDR in the socket list, if found then return | 135 | * Try to find a socket matching ADDR in the socket list, if found then return |
136 | * it. If not, insert SK into the socket list. | 136 | * it. If not, insert SK into the socket list. |
@@ -1066,8 +1066,8 @@ static int atalk_release(struct socket *sock) | |||
1066 | 1066 | ||
1067 | /** | 1067 | /** |
1068 | * atalk_pick_and_bind_port - Pick a source port when one is not given | 1068 | * atalk_pick_and_bind_port - Pick a source port when one is not given |
1069 | * @sk - socket to insert into the tables | 1069 | * @sk: socket to insert into the tables |
1070 | * @sat - address to search for | 1070 | * @sat: address to search for |
1071 | * | 1071 | * |
1072 | * Pick a source port when one is not given. If we can find a suitable free | 1072 | * Pick a source port when one is not given. If we can find a suitable free |
1073 | * one, we insert the socket into the tables using it. | 1073 | * one, we insert the socket into the tables using it. |
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c index 49e10d91c00b..3483e4035cbe 100644 --- a/net/batman-adv/bridge_loop_avoidance.c +++ b/net/batman-adv/bridge_loop_avoidance.c | |||
@@ -162,12 +162,13 @@ static struct batadv_claim *batadv_claim_hash_find(struct batadv_priv *bat_priv, | |||
162 | return claim_tmp; | 162 | return claim_tmp; |
163 | } | 163 | } |
164 | 164 | ||
165 | /* @bat_priv: the bat priv with all the soft interface information | 165 | /** |
166 | * batadv_backbone_hash_find - looks for a claim in the hash | ||
167 | * @bat_priv: the bat priv with all the soft interface information | ||
166 | * @addr: the address of the originator | 168 | * @addr: the address of the originator |
167 | * @vid: the VLAN ID | 169 | * @vid: the VLAN ID |
168 | * | 170 | * |
169 | * looks for a claim in the hash, and returns it if found | 171 | * Returns claim if found or NULL otherwise. |
170 | * or NULL otherwise. | ||
171 | */ | 172 | */ |
172 | static struct batadv_backbone_gw * | 173 | static struct batadv_backbone_gw * |
173 | batadv_backbone_hash_find(struct batadv_priv *bat_priv, | 174 | batadv_backbone_hash_find(struct batadv_priv *bat_priv, |
@@ -242,12 +243,12 @@ batadv_bla_del_backbone_claims(struct batadv_backbone_gw *backbone_gw) | |||
242 | backbone_gw->crc = BATADV_BLA_CRC_INIT; | 243 | backbone_gw->crc = BATADV_BLA_CRC_INIT; |
243 | } | 244 | } |
244 | 245 | ||
245 | /* @bat_priv: the bat priv with all the soft interface information | 246 | /** |
247 | * batadv_bla_send_claim - sends a claim frame according to the provided info | ||
248 | * @bat_priv: the bat priv with all the soft interface information | ||
246 | * @orig: the mac address to be announced within the claim | 249 | * @orig: the mac address to be announced within the claim |
247 | * @vid: the VLAN ID | 250 | * @vid: the VLAN ID |
248 | * @claimtype: the type of the claim (CLAIM, UNCLAIM, ANNOUNCE, ...) | 251 | * @claimtype: the type of the claim (CLAIM, UNCLAIM, ANNOUNCE, ...) |
249 | * | ||
250 | * sends a claim frame according to the provided info. | ||
251 | */ | 252 | */ |
252 | static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac, | 253 | static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac, |
253 | short vid, int claimtype) | 254 | short vid, int claimtype) |
@@ -348,7 +349,9 @@ out: | |||
348 | batadv_hardif_free_ref(primary_if); | 349 | batadv_hardif_free_ref(primary_if); |
349 | } | 350 | } |
350 | 351 | ||
351 | /* @bat_priv: the bat priv with all the soft interface information | 352 | /** |
353 | * batadv_bla_get_backbone_gw | ||
354 | * @bat_priv: the bat priv with all the soft interface information | ||
352 | * @orig: the mac address of the originator | 355 | * @orig: the mac address of the originator |
353 | * @vid: the VLAN ID | 356 | * @vid: the VLAN ID |
354 | * | 357 | * |
@@ -520,12 +523,12 @@ static void batadv_bla_send_announce(struct batadv_priv *bat_priv, | |||
520 | 523 | ||
521 | } | 524 | } |
522 | 525 | ||
523 | /* @bat_priv: the bat priv with all the soft interface information | 526 | /** |
527 | * batadv_bla_add_claim - Adds a claim in the claim hash | ||
528 | * @bat_priv: the bat priv with all the soft interface information | ||
524 | * @mac: the mac address of the claim | 529 | * @mac: the mac address of the claim |
525 | * @vid: the VLAN ID of the frame | 530 | * @vid: the VLAN ID of the frame |
526 | * @backbone_gw: the backbone gateway which claims it | 531 | * @backbone_gw: the backbone gateway which claims it |
527 | * | ||
528 | * Adds a claim in the claim hash. | ||
529 | */ | 532 | */ |
530 | static void batadv_bla_add_claim(struct batadv_priv *bat_priv, | 533 | static void batadv_bla_add_claim(struct batadv_priv *bat_priv, |
531 | const uint8_t *mac, const short vid, | 534 | const uint8_t *mac, const short vid, |
@@ -743,7 +746,9 @@ static int batadv_handle_claim(struct batadv_priv *bat_priv, | |||
743 | return 1; | 746 | return 1; |
744 | } | 747 | } |
745 | 748 | ||
746 | /* @bat_priv: the bat priv with all the soft interface information | 749 | /** |
750 | * batadv_check_claim_group | ||
751 | * @bat_priv: the bat priv with all the soft interface information | ||
747 | * @hw_src: the Hardware source in the ARP Header | 752 | * @hw_src: the Hardware source in the ARP Header |
748 | * @hw_dst: the Hardware destination in the ARP Header | 753 | * @hw_dst: the Hardware destination in the ARP Header |
749 | * @ethhdr: pointer to the Ethernet header of the claim frame | 754 | * @ethhdr: pointer to the Ethernet header of the claim frame |
@@ -975,7 +980,9 @@ purge_now: | |||
975 | } | 980 | } |
976 | } | 981 | } |
977 | 982 | ||
978 | /* @bat_priv: the bat priv with all the soft interface information | 983 | /** |
984 | * batadv_bla_purge_claims | ||
985 | * @bat_priv: the bat priv with all the soft interface information | ||
979 | * @primary_if: the selected primary interface, may be NULL if now is set | 986 | * @primary_if: the selected primary interface, may be NULL if now is set |
980 | * @now: whether the whole hash shall be wiped now | 987 | * @now: whether the whole hash shall be wiped now |
981 | * | 988 | * |
@@ -1023,7 +1030,9 @@ purge_now: | |||
1023 | } | 1030 | } |
1024 | } | 1031 | } |
1025 | 1032 | ||
1026 | /* @bat_priv: the bat priv with all the soft interface information | 1033 | /** |
1034 | * batadv_bla_update_orig_address | ||
1035 | * @bat_priv: the bat priv with all the soft interface information | ||
1027 | * @primary_if: the new selected primary_if | 1036 | * @primary_if: the new selected primary_if |
1028 | * @oldif: the old primary interface, may be NULL | 1037 | * @oldif: the old primary interface, may be NULL |
1029 | * | 1038 | * |
@@ -1193,7 +1202,9 @@ int batadv_bla_init(struct batadv_priv *bat_priv) | |||
1193 | return 0; | 1202 | return 0; |
1194 | } | 1203 | } |
1195 | 1204 | ||
1196 | /* @bat_priv: the bat priv with all the soft interface information | 1205 | /** |
1206 | * batadv_bla_check_bcast_duplist | ||
1207 | * @bat_priv: the bat priv with all the soft interface information | ||
1197 | * @bcast_packet: originator mac address | 1208 | * @bcast_packet: originator mac address |
1198 | * @hdr_size: maximum length of the frame | 1209 | * @hdr_size: maximum length of the frame |
1199 | * | 1210 | * |
@@ -1297,7 +1308,9 @@ int batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, uint8_t *orig) | |||
1297 | } | 1308 | } |
1298 | 1309 | ||
1299 | 1310 | ||
1300 | /* @skb: the frame to be checked | 1311 | /** |
1312 | * batadv_bla_is_backbone_gw | ||
1313 | * @skb: the frame to be checked | ||
1301 | * @orig_node: the orig_node of the frame | 1314 | * @orig_node: the orig_node of the frame |
1302 | * @hdr_size: maximum length of the frame | 1315 | * @hdr_size: maximum length of the frame |
1303 | * | 1316 | * |
@@ -1363,7 +1376,9 @@ void batadv_bla_free(struct batadv_priv *bat_priv) | |||
1363 | batadv_hardif_free_ref(primary_if); | 1376 | batadv_hardif_free_ref(primary_if); |
1364 | } | 1377 | } |
1365 | 1378 | ||
1366 | /* @bat_priv: the bat priv with all the soft interface information | 1379 | /** |
1380 | * batadv_bla_rx | ||
1381 | * @bat_priv: the bat priv with all the soft interface information | ||
1367 | * @skb: the frame to be checked | 1382 | * @skb: the frame to be checked |
1368 | * @vid: the VLAN ID of the frame | 1383 | * @vid: the VLAN ID of the frame |
1369 | * | 1384 | * |
@@ -1450,7 +1465,9 @@ out: | |||
1450 | return ret; | 1465 | return ret; |
1451 | } | 1466 | } |
1452 | 1467 | ||
1453 | /* @bat_priv: the bat priv with all the soft interface information | 1468 | /** |
1469 | * batadv_bla_tx | ||
1470 | * @bat_priv: the bat priv with all the soft interface information | ||
1454 | * @skb: the frame to be checked | 1471 | * @skb: the frame to be checked |
1455 | * @vid: the VLAN ID of the frame | 1472 | * @vid: the VLAN ID of the frame |
1456 | * | 1473 | * |
diff --git a/net/batman-adv/hash.h b/net/batman-adv/hash.h index 83990e318e43..977de9c75fc2 100644 --- a/net/batman-adv/hash.h +++ b/net/batman-adv/hash.h | |||
@@ -81,7 +81,8 @@ static inline void batadv_hash_delete(struct batadv_hashtable *hash, | |||
81 | batadv_hash_destroy(hash); | 81 | batadv_hash_destroy(hash); |
82 | } | 82 | } |
83 | 83 | ||
84 | /* hash_add - adds data to the hashtable | 84 | /** |
85 | * batadv_hash_add - adds data to the hashtable | ||
85 | * @hash: storage hash table | 86 | * @hash: storage hash table |
86 | * @compare: callback to determine if 2 hash elements are identical | 87 | * @compare: callback to determine if 2 hash elements are identical |
87 | * @choose: callback calculating the hash index | 88 | * @choose: callback calculating the hash index |
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index b8d4ac17f001..5d8fa0757947 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h | |||
@@ -216,7 +216,8 @@ static inline int batadv_compare_eth(const void *data1, const void *data2) | |||
216 | return (memcmp(data1, data2, ETH_ALEN) == 0 ? 1 : 0); | 216 | return (memcmp(data1, data2, ETH_ALEN) == 0 ? 1 : 0); |
217 | } | 217 | } |
218 | 218 | ||
219 | /* has_timed_out - compares current time (jiffies) and timestamp + timeout | 219 | /** |
220 | * has_timed_out - compares current time (jiffies) and timestamp + timeout | ||
220 | * @timestamp: base value to compare with (in jiffies) | 221 | * @timestamp: base value to compare with (in jiffies) |
221 | * @timeout: added to base value before comparing (in milliseconds) | 222 | * @timeout: added to base value before comparing (in milliseconds) |
222 | * | 223 | * |
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 2141c1304898..12635fd2c3d3 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h | |||
@@ -44,7 +44,8 @@ struct batadv_hard_iface { | |||
44 | struct rcu_head rcu; | 44 | struct rcu_head rcu; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | /* batadv_orig_node - structure for orig_list maintaining nodes of mesh | 47 | /** |
48 | * struct batadv_orig_node - structure for orig_list maintaining nodes of mesh | ||
48 | * @primary_addr: hosts primary interface address | 49 | * @primary_addr: hosts primary interface address |
49 | * @last_seen: when last packet from this node was received | 50 | * @last_seen: when last packet from this node was received |
50 | * @bcast_seqno_reset: time when the broadcast seqno window was reset | 51 | * @bcast_seqno_reset: time when the broadcast seqno window was reset |
diff --git a/net/core/dev.c b/net/core/dev.c index 9c21548e5b31..5ab6f4b37c0c 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1691,7 +1691,8 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) | |||
1691 | rcu_read_unlock(); | 1691 | rcu_read_unlock(); |
1692 | } | 1692 | } |
1693 | 1693 | ||
1694 | /* netif_setup_tc - Handle tc mappings on real_num_tx_queues change | 1694 | /** |
1695 | * netif_setup_tc - Handle tc mappings on real_num_tx_queues change | ||
1695 | * @dev: Network device | 1696 | * @dev: Network device |
1696 | * @txq: number of queues available | 1697 | * @txq: number of queues available |
1697 | * | 1698 | * |
@@ -1793,7 +1794,8 @@ int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq) | |||
1793 | EXPORT_SYMBOL(netif_set_real_num_rx_queues); | 1794 | EXPORT_SYMBOL(netif_set_real_num_rx_queues); |
1794 | #endif | 1795 | #endif |
1795 | 1796 | ||
1796 | /* netif_get_num_default_rss_queues - default number of RSS queues | 1797 | /** |
1798 | * netif_get_num_default_rss_queues - default number of RSS queues | ||
1797 | * | 1799 | * |
1798 | * This routine should set an upper limit on the number of RSS queues | 1800 | * This routine should set an upper limit on the number of RSS queues |
1799 | * used by default by multiqueue devices. | 1801 | * used by default by multiqueue devices. |
@@ -5670,7 +5672,7 @@ int netdev_refcnt_read(const struct net_device *dev) | |||
5670 | } | 5672 | } |
5671 | EXPORT_SYMBOL(netdev_refcnt_read); | 5673 | EXPORT_SYMBOL(netdev_refcnt_read); |
5672 | 5674 | ||
5673 | /* | 5675 | /** |
5674 | * netdev_wait_allrefs - wait until all references are gone. | 5676 | * netdev_wait_allrefs - wait until all references are gone. |
5675 | * | 5677 | * |
5676 | * This is called when unregistering network devices. | 5678 | * This is called when unregistering network devices. |
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 64127eee786d..045db8ad87c8 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -2174,7 +2174,7 @@ skip: | |||
2174 | } | 2174 | } |
2175 | 2175 | ||
2176 | /** | 2176 | /** |
2177 | * ndo_dflt_fdb_dump: default netdevice operation to dump an FDB table. | 2177 | * ndo_dflt_fdb_dump - default netdevice operation to dump an FDB table. |
2178 | * @nlh: netlink message header | 2178 | * @nlh: netlink message header |
2179 | * @dev: netdevice | 2179 | * @dev: netdevice |
2180 | * | 2180 | * |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 5a789a807ec3..506f678e9d95 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -713,7 +713,8 @@ struct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src) | |||
713 | } | 713 | } |
714 | EXPORT_SYMBOL_GPL(skb_morph); | 714 | EXPORT_SYMBOL_GPL(skb_morph); |
715 | 715 | ||
716 | /* skb_copy_ubufs - copy userspace skb frags buffers to kernel | 716 | /** |
717 | * skb_copy_ubufs - copy userspace skb frags buffers to kernel | ||
717 | * @skb: the skb to modify | 718 | * @skb: the skb to modify |
718 | * @gfp_mask: allocation priority | 719 | * @gfp_mask: allocation priority |
719 | * | 720 | * |
@@ -2614,7 +2615,7 @@ unsigned int skb_find_text(struct sk_buff *skb, unsigned int from, | |||
2614 | EXPORT_SYMBOL(skb_find_text); | 2615 | EXPORT_SYMBOL(skb_find_text); |
2615 | 2616 | ||
2616 | /** | 2617 | /** |
2617 | * skb_append_datato_frags: - append the user data to a skb | 2618 | * skb_append_datato_frags - append the user data to a skb |
2618 | * @sk: sock structure | 2619 | * @sk: sock structure |
2619 | * @skb: skb structure to be appened with user data. | 2620 | * @skb: skb structure to be appened with user data. |
2620 | * @getfrag: call back function to be used for getting the user data | 2621 | * @getfrag: call back function to be used for getting the user data |
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h index e2ab0627a5ff..a269aa7f7923 100644 --- a/net/dccp/ackvec.h +++ b/net/dccp/ackvec.h | |||
@@ -50,7 +50,8 @@ static inline u8 dccp_ackvec_state(const u8 *cell) | |||
50 | return *cell & ~DCCPAV_MAX_RUNLEN; | 50 | return *cell & ~DCCPAV_MAX_RUNLEN; |
51 | } | 51 | } |
52 | 52 | ||
53 | /** struct dccp_ackvec - Ack Vector main data structure | 53 | /** |
54 | * struct dccp_ackvec - Ack Vector main data structure | ||
54 | * | 55 | * |
55 | * This implements a fixed-size circular buffer within an array and is largely | 56 | * This implements a fixed-size circular buffer within an array and is largely |
56 | * based on Appendix A of RFC 4340. | 57 | * based on Appendix A of RFC 4340. |
@@ -76,7 +77,8 @@ struct dccp_ackvec { | |||
76 | struct list_head av_records; | 77 | struct list_head av_records; |
77 | }; | 78 | }; |
78 | 79 | ||
79 | /** struct dccp_ackvec_record - Records information about sent Ack Vectors | 80 | /** |
81 | * struct dccp_ackvec_record - Records information about sent Ack Vectors | ||
80 | * | 82 | * |
81 | * These list entries define the additional information which the HC-Receiver | 83 | * These list entries define the additional information which the HC-Receiver |
82 | * keeps about recently-sent Ack Vectors; again refer to RFC 4340, Appendix A. | 84 | * keeps about recently-sent Ack Vectors; again refer to RFC 4340, Appendix A. |
@@ -121,6 +123,7 @@ static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) | |||
121 | * @len: length of @vec | 123 | * @len: length of @vec |
122 | * @nonce: whether @vec had an ECN nonce of 0 or 1 | 124 | * @nonce: whether @vec had an ECN nonce of 0 or 1 |
123 | * @node: FIFO - arranged in descending order of ack_ackno | 125 | * @node: FIFO - arranged in descending order of ack_ackno |
126 | * | ||
124 | * This structure is used by CCIDs to access Ack Vectors in a received skb. | 127 | * This structure is used by CCIDs to access Ack Vectors in a received skb. |
125 | */ | 128 | */ |
126 | struct dccp_ackvec_parsed { | 129 | struct dccp_ackvec_parsed { |
diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c index 48b585a5cba7..597557254ddb 100644 --- a/net/dccp/ccid.c +++ b/net/dccp/ccid.c | |||
@@ -46,6 +46,7 @@ bool ccid_support_check(u8 const *ccid_array, u8 array_len) | |||
46 | * ccid_get_builtin_ccids - Populate a list of built-in CCIDs | 46 | * ccid_get_builtin_ccids - Populate a list of built-in CCIDs |
47 | * @ccid_array: pointer to copy into | 47 | * @ccid_array: pointer to copy into |
48 | * @array_len: value to return length into | 48 | * @array_len: value to return length into |
49 | * | ||
49 | * This function allocates memory - caller must see that it is freed after use. | 50 | * This function allocates memory - caller must see that it is freed after use. |
50 | */ | 51 | */ |
51 | int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len) | 52 | int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len) |
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 8c67bedf85b0..d65e98798eca 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -113,6 +113,7 @@ static u32 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now) | |||
113 | /** | 113 | /** |
114 | * ccid3_hc_tx_update_x - Update allowed sending rate X | 114 | * ccid3_hc_tx_update_x - Update allowed sending rate X |
115 | * @stamp: most recent time if available - can be left NULL. | 115 | * @stamp: most recent time if available - can be left NULL. |
116 | * | ||
116 | * This function tracks draft rfc3448bis, check there for latest details. | 117 | * This function tracks draft rfc3448bis, check there for latest details. |
117 | * | 118 | * |
118 | * Note: X and X_recv are both stored in units of 64 * bytes/second, to support | 119 | * Note: X and X_recv are both stored in units of 64 * bytes/second, to support |
@@ -161,9 +162,11 @@ static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) | |||
161 | } | 162 | } |
162 | } | 163 | } |
163 | 164 | ||
164 | /* | 165 | /** |
165 | * Track the mean packet size `s' (cf. RFC 4342, 5.3 and RFC 3448, 4.1) | 166 | * ccid3_hc_tx_update_s - Track the mean packet size `s' |
166 | * @len: DCCP packet payload size in bytes | 167 | * @len: DCCP packet payload size in bytes |
168 | * | ||
169 | * cf. RFC 4342, 5.3 and RFC 3448, 4.1 | ||
167 | */ | 170 | */ |
168 | static inline void ccid3_hc_tx_update_s(struct ccid3_hc_tx_sock *hc, int len) | 171 | static inline void ccid3_hc_tx_update_s(struct ccid3_hc_tx_sock *hc, int len) |
169 | { | 172 | { |
@@ -270,6 +273,7 @@ out: | |||
270 | /** | 273 | /** |
271 | * ccid3_hc_tx_send_packet - Delay-based dequeueing of TX packets | 274 | * ccid3_hc_tx_send_packet - Delay-based dequeueing of TX packets |
272 | * @skb: next packet candidate to send on @sk | 275 | * @skb: next packet candidate to send on @sk |
276 | * | ||
273 | * This function uses the convention of ccid_packet_dequeue_eval() and | 277 | * This function uses the convention of ccid_packet_dequeue_eval() and |
274 | * returns a millisecond-delay value between 0 and t_mbi = 64000 msec. | 278 | * returns a millisecond-delay value between 0 and t_mbi = 64000 msec. |
275 | */ | 279 | */ |
diff --git a/net/dccp/ccids/lib/loss_interval.c b/net/dccp/ccids/lib/loss_interval.c index 497723c4d4bb..57f9fd78c4df 100644 --- a/net/dccp/ccids/lib/loss_interval.c +++ b/net/dccp/ccids/lib/loss_interval.c | |||
@@ -133,6 +133,7 @@ static inline u8 tfrc_lh_is_new_loss(struct tfrc_loss_interval *cur, | |||
133 | * @rh: Receive history containing a fresh loss event | 133 | * @rh: Receive history containing a fresh loss event |
134 | * @calc_first_li: Caller-dependent routine to compute length of first interval | 134 | * @calc_first_li: Caller-dependent routine to compute length of first interval |
135 | * @sk: Used by @calc_first_li in caller-specific way (subtyping) | 135 | * @sk: Used by @calc_first_li in caller-specific way (subtyping) |
136 | * | ||
136 | * Updates I_mean and returns 1 if a new interval has in fact been added to @lh. | 137 | * Updates I_mean and returns 1 if a new interval has in fact been added to @lh. |
137 | */ | 138 | */ |
138 | int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, | 139 | int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, |
diff --git a/net/dccp/ccids/lib/packet_history.c b/net/dccp/ccids/lib/packet_history.c index de8fe294bf0b..08df7a3acb3d 100644 --- a/net/dccp/ccids/lib/packet_history.c +++ b/net/dccp/ccids/lib/packet_history.c | |||
@@ -315,6 +315,7 @@ static void __three_after_loss(struct tfrc_rx_hist *h) | |||
315 | * @ndp: The NDP count belonging to @skb | 315 | * @ndp: The NDP count belonging to @skb |
316 | * @calc_first_li: Caller-dependent computation of first loss interval in @lh | 316 | * @calc_first_li: Caller-dependent computation of first loss interval in @lh |
317 | * @sk: Used by @calc_first_li (see tfrc_lh_interval_add) | 317 | * @sk: Used by @calc_first_li (see tfrc_lh_interval_add) |
318 | * | ||
318 | * Chooses action according to pending loss, updates LI database when a new | 319 | * Chooses action according to pending loss, updates LI database when a new |
319 | * loss was detected, and does required post-processing. Returns 1 when caller | 320 | * loss was detected, and does required post-processing. Returns 1 when caller |
320 | * should send feedback, 0 otherwise. | 321 | * should send feedback, 0 otherwise. |
@@ -387,7 +388,7 @@ static inline struct tfrc_rx_hist_entry * | |||
387 | } | 388 | } |
388 | 389 | ||
389 | /** | 390 | /** |
390 | * tfrc_rx_hist_rtt_prev_s: previously suitable (wrt rtt_last_s) RTT-sampling entry | 391 | * tfrc_rx_hist_rtt_prev_s - previously suitable (wrt rtt_last_s) RTT-sampling entry |
391 | */ | 392 | */ |
392 | static inline struct tfrc_rx_hist_entry * | 393 | static inline struct tfrc_rx_hist_entry * |
393 | tfrc_rx_hist_rtt_prev_s(const struct tfrc_rx_hist *h) | 394 | tfrc_rx_hist_rtt_prev_s(const struct tfrc_rx_hist *h) |
diff --git a/net/dccp/ccids/lib/tfrc_equation.c b/net/dccp/ccids/lib/tfrc_equation.c index a052a4377e26..88ef98285bec 100644 --- a/net/dccp/ccids/lib/tfrc_equation.c +++ b/net/dccp/ccids/lib/tfrc_equation.c | |||
@@ -611,6 +611,7 @@ static inline u32 tfrc_binsearch(u32 fval, u8 small) | |||
611 | * @s: packet size in bytes | 611 | * @s: packet size in bytes |
612 | * @R: RTT scaled by 1000000 (i.e., microseconds) | 612 | * @R: RTT scaled by 1000000 (i.e., microseconds) |
613 | * @p: loss ratio estimate scaled by 1000000 | 613 | * @p: loss ratio estimate scaled by 1000000 |
614 | * | ||
614 | * Returns X_calc in bytes per second (not scaled). | 615 | * Returns X_calc in bytes per second (not scaled). |
615 | */ | 616 | */ |
616 | u32 tfrc_calc_x(u16 s, u32 R, u32 p) | 617 | u32 tfrc_calc_x(u16 s, u32 R, u32 p) |
@@ -659,6 +660,7 @@ u32 tfrc_calc_x(u16 s, u32 R, u32 p) | |||
659 | /** | 660 | /** |
660 | * tfrc_calc_x_reverse_lookup - try to find p given f(p) | 661 | * tfrc_calc_x_reverse_lookup - try to find p given f(p) |
661 | * @fvalue: function value to match, scaled by 1000000 | 662 | * @fvalue: function value to match, scaled by 1000000 |
663 | * | ||
662 | * Returns closest match for p, also scaled by 1000000 | 664 | * Returns closest match for p, also scaled by 1000000 |
663 | */ | 665 | */ |
664 | u32 tfrc_calc_x_reverse_lookup(u32 fvalue) | 666 | u32 tfrc_calc_x_reverse_lookup(u32 fvalue) |
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 9040be049d8c..708e75bf623d 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -352,6 +352,7 @@ static inline int dccp_bad_service_code(const struct sock *sk, | |||
352 | * @dccpd_opt_len: total length of all options (5.8) in the packet | 352 | * @dccpd_opt_len: total length of all options (5.8) in the packet |
353 | * @dccpd_seq: sequence number | 353 | * @dccpd_seq: sequence number |
354 | * @dccpd_ack_seq: acknowledgment number subheader field value | 354 | * @dccpd_ack_seq: acknowledgment number subheader field value |
355 | * | ||
355 | * This is used for transmission as well as for reception. | 356 | * This is used for transmission as well as for reception. |
356 | */ | 357 | */ |
357 | struct dccp_skb_cb { | 358 | struct dccp_skb_cb { |
diff --git a/net/dccp/feat.c b/net/dccp/feat.c index 78a2ad70e1b0..9733ddbc96cb 100644 --- a/net/dccp/feat.c +++ b/net/dccp/feat.c | |||
@@ -350,6 +350,7 @@ static int __dccp_feat_activate(struct sock *sk, const int idx, | |||
350 | * @feat_num: feature to activate, one of %dccp_feature_numbers | 350 | * @feat_num: feature to activate, one of %dccp_feature_numbers |
351 | * @local: whether local (1) or remote (0) @feat_num is meant | 351 | * @local: whether local (1) or remote (0) @feat_num is meant |
352 | * @fval: the value (SP or NN) to activate, or NULL to use the default value | 352 | * @fval: the value (SP or NN) to activate, or NULL to use the default value |
353 | * | ||
353 | * For general use this function is preferable over __dccp_feat_activate(). | 354 | * For general use this function is preferable over __dccp_feat_activate(). |
354 | */ | 355 | */ |
355 | static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local, | 356 | static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local, |
@@ -446,6 +447,7 @@ static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list, | |||
446 | * @head: list to add to | 447 | * @head: list to add to |
447 | * @feat: feature number | 448 | * @feat: feature number |
448 | * @local: whether the local (1) or remote feature with number @feat is meant | 449 | * @local: whether the local (1) or remote feature with number @feat is meant |
450 | * | ||
449 | * This is the only constructor and serves to ensure the above invariants. | 451 | * This is the only constructor and serves to ensure the above invariants. |
450 | */ | 452 | */ |
451 | static struct dccp_feat_entry * | 453 | static struct dccp_feat_entry * |
@@ -504,6 +506,7 @@ static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local, | |||
504 | * @feat: one of %dccp_feature_numbers | 506 | * @feat: one of %dccp_feature_numbers |
505 | * @local: whether local (1) or remote (0) @feat_num is being confirmed | 507 | * @local: whether local (1) or remote (0) @feat_num is being confirmed |
506 | * @fval: pointer to NN/SP value to be inserted or NULL | 508 | * @fval: pointer to NN/SP value to be inserted or NULL |
509 | * | ||
507 | * Returns 0 on success, a Reset code for further processing otherwise. | 510 | * Returns 0 on success, a Reset code for further processing otherwise. |
508 | */ | 511 | */ |
509 | static int dccp_feat_push_confirm(struct list_head *fn_list, u8 feat, u8 local, | 512 | static int dccp_feat_push_confirm(struct list_head *fn_list, u8 feat, u8 local, |
@@ -691,6 +694,7 @@ int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq, | |||
691 | * @feat: an NN feature from %dccp_feature_numbers | 694 | * @feat: an NN feature from %dccp_feature_numbers |
692 | * @mandatory: use Mandatory option if 1 | 695 | * @mandatory: use Mandatory option if 1 |
693 | * @nn_val: value to register (restricted to 4 bytes) | 696 | * @nn_val: value to register (restricted to 4 bytes) |
697 | * | ||
694 | * Note that NN features are local by definition (RFC 4340, 6.3.2). | 698 | * Note that NN features are local by definition (RFC 4340, 6.3.2). |
695 | */ | 699 | */ |
696 | static int __feat_register_nn(struct list_head *fn, u8 feat, | 700 | static int __feat_register_nn(struct list_head *fn, u8 feat, |
@@ -760,6 +764,7 @@ int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, | |||
760 | * dccp_feat_nn_get - Query current/pending value of NN feature | 764 | * dccp_feat_nn_get - Query current/pending value of NN feature |
761 | * @sk: DCCP socket of an established connection | 765 | * @sk: DCCP socket of an established connection |
762 | * @feat: NN feature number from %dccp_feature_numbers | 766 | * @feat: NN feature number from %dccp_feature_numbers |
767 | * | ||
763 | * For a known NN feature, returns value currently being negotiated, or | 768 | * For a known NN feature, returns value currently being negotiated, or |
764 | * current (confirmed) value if no negotiation is going on. | 769 | * current (confirmed) value if no negotiation is going on. |
765 | */ | 770 | */ |
@@ -790,6 +795,7 @@ EXPORT_SYMBOL_GPL(dccp_feat_nn_get); | |||
790 | * @sk: DCCP socket of an established connection | 795 | * @sk: DCCP socket of an established connection |
791 | * @feat: NN feature number from %dccp_feature_numbers | 796 | * @feat: NN feature number from %dccp_feature_numbers |
792 | * @nn_val: the new value to use | 797 | * @nn_val: the new value to use |
798 | * | ||
793 | * This function is used to communicate NN updates out-of-band. | 799 | * This function is used to communicate NN updates out-of-band. |
794 | */ | 800 | */ |
795 | int dccp_feat_signal_nn_change(struct sock *sk, u8 feat, u64 nn_val) | 801 | int dccp_feat_signal_nn_change(struct sock *sk, u8 feat, u64 nn_val) |
@@ -930,6 +936,7 @@ static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) | |||
930 | * @fn: feature-negotiation list to update | 936 | * @fn: feature-negotiation list to update |
931 | * @id: CCID number to track | 937 | * @id: CCID number to track |
932 | * @is_local: whether TX CCID (1) or RX CCID (0) is meant | 938 | * @is_local: whether TX CCID (1) or RX CCID (0) is meant |
939 | * | ||
933 | * This function needs to be called after registering all other features. | 940 | * This function needs to be called after registering all other features. |
934 | */ | 941 | */ |
935 | static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) | 942 | static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) |
@@ -953,6 +960,7 @@ static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) | |||
953 | /** | 960 | /** |
954 | * dccp_feat_finalise_settings - Finalise settings before starting negotiation | 961 | * dccp_feat_finalise_settings - Finalise settings before starting negotiation |
955 | * @dp: client or listening socket (settings will be inherited) | 962 | * @dp: client or listening socket (settings will be inherited) |
963 | * | ||
956 | * This is called after all registrations (socket initialisation, sysctls, and | 964 | * This is called after all registrations (socket initialisation, sysctls, and |
957 | * sockopt calls), and before sending the first packet containing Change options | 965 | * sockopt calls), and before sending the first packet containing Change options |
958 | * (ie. client-Request or server-Response), to ensure internal consistency. | 966 | * (ie. client-Request or server-Response), to ensure internal consistency. |
@@ -1284,6 +1292,7 @@ confirmation_failed: | |||
1284 | * @feat: NN number, one of %dccp_feature_numbers | 1292 | * @feat: NN number, one of %dccp_feature_numbers |
1285 | * @val: NN value | 1293 | * @val: NN value |
1286 | * @len: length of @val in bytes | 1294 | * @len: length of @val in bytes |
1295 | * | ||
1287 | * This function combines the functionality of change_recv/confirm_recv, with | 1296 | * This function combines the functionality of change_recv/confirm_recv, with |
1288 | * the following differences (reset codes are the same): | 1297 | * the following differences (reset codes are the same): |
1289 | * - cleanup after receiving the Confirm; | 1298 | * - cleanup after receiving the Confirm; |
@@ -1379,6 +1388,7 @@ fast_path_failed: | |||
1379 | * @feat: one of %dccp_feature_numbers | 1388 | * @feat: one of %dccp_feature_numbers |
1380 | * @val: value contents of @opt | 1389 | * @val: value contents of @opt |
1381 | * @len: length of @val in bytes | 1390 | * @len: length of @val in bytes |
1391 | * | ||
1382 | * Returns 0 on success, a Reset code for ending the connection otherwise. | 1392 | * Returns 0 on success, a Reset code for ending the connection otherwise. |
1383 | */ | 1393 | */ |
1384 | int dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, | 1394 | int dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, |
diff --git a/net/dccp/input.c b/net/dccp/input.c index bc93a333931e..14cdafad7a90 100644 --- a/net/dccp/input.c +++ b/net/dccp/input.c | |||
@@ -710,6 +710,7 @@ EXPORT_SYMBOL_GPL(dccp_rcv_state_process); | |||
710 | /** | 710 | /** |
711 | * dccp_sample_rtt - Validate and finalise computation of RTT sample | 711 | * dccp_sample_rtt - Validate and finalise computation of RTT sample |
712 | * @delta: number of microseconds between packet and acknowledgment | 712 | * @delta: number of microseconds between packet and acknowledgment |
713 | * | ||
713 | * The routine is kept generic to work in different contexts. It should be | 714 | * The routine is kept generic to work in different contexts. It should be |
714 | * called immediately when the ACK used for the RTT sample arrives. | 715 | * called immediately when the ACK used for the RTT sample arrives. |
715 | */ | 716 | */ |
diff --git a/net/dccp/options.c b/net/dccp/options.c index 68fa6b7a3e01..a58e0b634050 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -527,6 +527,7 @@ int dccp_insert_option_mandatory(struct sk_buff *skb) | |||
527 | * @val: NN value or SP array (preferred element first) to copy | 527 | * @val: NN value or SP array (preferred element first) to copy |
528 | * @len: true length of @val in bytes (excluding first element repetition) | 528 | * @len: true length of @val in bytes (excluding first element repetition) |
529 | * @repeat_first: whether to copy the first element of @val twice | 529 | * @repeat_first: whether to copy the first element of @val twice |
530 | * | ||
530 | * The last argument is used to construct Confirm options, where the preferred | 531 | * The last argument is used to construct Confirm options, where the preferred |
531 | * value and the preference list appear separately (RFC 4340, 6.3.1). Preference | 532 | * value and the preference list appear separately (RFC 4340, 6.3.1). Preference |
532 | * lists are kept such that the preferred entry is always first, so we only need | 533 | * lists are kept such that the preferred entry is always first, so we only need |
diff --git a/net/dccp/output.c b/net/dccp/output.c index 787367308797..d17fc90a74b6 100644 --- a/net/dccp/output.c +++ b/net/dccp/output.c | |||
@@ -214,6 +214,7 @@ void dccp_write_space(struct sock *sk) | |||
214 | * dccp_wait_for_ccid - Await CCID send permission | 214 | * dccp_wait_for_ccid - Await CCID send permission |
215 | * @sk: socket to wait for | 215 | * @sk: socket to wait for |
216 | * @delay: timeout in jiffies | 216 | * @delay: timeout in jiffies |
217 | * | ||
217 | * This is used by CCIDs which need to delay the send time in process context. | 218 | * This is used by CCIDs which need to delay the send time in process context. |
218 | */ | 219 | */ |
219 | static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) | 220 | static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) |
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index db6a6c17d790..4efad533e5f6 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -232,6 +232,7 @@ EXPORT_SYMBOL(eth_header_parse); | |||
232 | * @neigh: source neighbour | 232 | * @neigh: source neighbour |
233 | * @hh: destination cache entry | 233 | * @hh: destination cache entry |
234 | * @type: Ethernet type field | 234 | * @type: Ethernet type field |
235 | * | ||
235 | * Create an Ethernet header template from the neighbour. | 236 | * Create an Ethernet header template from the neighbour. |
236 | */ | 237 | */ |
237 | int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) | 238 | int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) |
@@ -274,6 +275,7 @@ EXPORT_SYMBOL(eth_header_cache_update); | |||
274 | * eth_mac_addr - set new Ethernet hardware address | 275 | * eth_mac_addr - set new Ethernet hardware address |
275 | * @dev: network device | 276 | * @dev: network device |
276 | * @p: socket address | 277 | * @p: socket address |
278 | * | ||
277 | * Change hardware address of device. | 279 | * Change hardware address of device. |
278 | * | 280 | * |
279 | * This doesn't change hardware matching, so needs to be overridden | 281 | * This doesn't change hardware matching, so needs to be overridden |
@@ -331,6 +333,7 @@ const struct header_ops eth_header_ops ____cacheline_aligned = { | |||
331 | /** | 333 | /** |
332 | * ether_setup - setup Ethernet network device | 334 | * ether_setup - setup Ethernet network device |
333 | * @dev: network device | 335 | * @dev: network device |
336 | * | ||
334 | * Fill in the fields of the device structure with Ethernet-generic values. | 337 | * Fill in the fields of the device structure with Ethernet-generic values. |
335 | */ | 338 | */ |
336 | void ether_setup(struct net_device *dev) | 339 | void ether_setup(struct net_device *dev) |
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index b4ac39f11d19..5716c6b808d6 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -524,8 +524,8 @@ failure: | |||
524 | } | 524 | } |
525 | #endif | 525 | #endif |
526 | 526 | ||
527 | /* | 527 | /** |
528 | * Delete a VIF entry | 528 | * vif_delete - Delete a VIF entry |
529 | * @notify: Set to 1, if the caller is a notifier_call | 529 | * @notify: Set to 1, if the caller is a notifier_call |
530 | */ | 530 | */ |
531 | 531 | ||
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 04a3cba2c123..6af3fcfdcbbd 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -252,7 +252,7 @@ static void ip6_dev_free(struct net_device *dev) | |||
252 | } | 252 | } |
253 | 253 | ||
254 | /** | 254 | /** |
255 | * ip6_tnl_create() - create a new tunnel | 255 | * ip6_tnl_create - create a new tunnel |
256 | * @p: tunnel parameters | 256 | * @p: tunnel parameters |
257 | * @pt: pointer to new tunnel | 257 | * @pt: pointer to new tunnel |
258 | * | 258 | * |
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index fe5453c3e719..f6fe4d400502 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c | |||
@@ -1024,7 +1024,7 @@ static int llc_ui_ioctl(struct socket *sock, unsigned int cmd, | |||
1024 | * @sock: Socket to set options on. | 1024 | * @sock: Socket to set options on. |
1025 | * @level: Socket level user is requesting operations on. | 1025 | * @level: Socket level user is requesting operations on. |
1026 | * @optname: Operation name. | 1026 | * @optname: Operation name. |
1027 | * @optval User provided operation data. | 1027 | * @optval: User provided operation data. |
1028 | * @optlen: Length of optval. | 1028 | * @optlen: Length of optval. |
1029 | * | 1029 | * |
1030 | * Set various connection specific parameters. | 1030 | * Set various connection specific parameters. |
diff --git a/net/llc/llc_station.c b/net/llc/llc_station.c index cf4aea3ba30f..39a8d8924b9c 100644 --- a/net/llc/llc_station.c +++ b/net/llc/llc_station.c | |||
@@ -30,12 +30,12 @@ | |||
30 | * | 30 | * |
31 | * SAP and connection resource manager, one per adapter. | 31 | * SAP and connection resource manager, one per adapter. |
32 | * | 32 | * |
33 | * @state - state of station | 33 | * @state: state of station |
34 | * @xid_r_count - XID response PDU counter | 34 | * @xid_r_count: XID response PDU counter |
35 | * @mac_sa - MAC source address | 35 | * @mac_sa: MAC source address |
36 | * @sap_list - list of related SAPs | 36 | * @sap_list: list of related SAPs |
37 | * @ev_q - events entering state mach. | 37 | * @ev_q: events entering state mach. |
38 | * @mac_pdu_q - PDUs ready to send to MAC | 38 | * @mac_pdu_q: PDUs ready to send to MAC |
39 | */ | 39 | */ |
40 | struct llc_station { | 40 | struct llc_station { |
41 | u8 state; | 41 | u8 state; |
@@ -646,7 +646,7 @@ static void llc_station_service_events(void) | |||
646 | } | 646 | } |
647 | 647 | ||
648 | /** | 648 | /** |
649 | * llc_station_state_process: queue event and try to process queue. | 649 | * llc_station_state_process - queue event and try to process queue. |
650 | * @skb: Address of the event | 650 | * @skb: Address of the event |
651 | * | 651 | * |
652 | * Queues an event (on the station event queue) for handling by the | 652 | * Queues an event (on the station event queue) for handling by the |
@@ -672,7 +672,7 @@ static void llc_station_ack_tmr_cb(unsigned long timeout_data) | |||
672 | } | 672 | } |
673 | } | 673 | } |
674 | 674 | ||
675 | /* | 675 | /** |
676 | * llc_station_rcv - send received pdu to the station state machine | 676 | * llc_station_rcv - send received pdu to the station state machine |
677 | * @skb: received frame. | 677 | * @skb: received frame. |
678 | * | 678 | * |
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 764593d65fc3..6fac18c0423f 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -133,7 +133,7 @@ bool mesh_peer_accepts_plinks(struct ieee802_11_elems *ie) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * mesh_accept_plinks_update: update accepting_plink in local mesh beacons | 136 | * mesh_accept_plinks_update - update accepting_plink in local mesh beacons |
137 | * | 137 | * |
138 | * @sdata: mesh interface in which mesh beacons are going to be updated | 138 | * @sdata: mesh interface in which mesh beacons are going to be updated |
139 | */ | 139 | */ |
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index fb7b6a11d0ba..494bc39f61a4 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
@@ -1054,12 +1054,15 @@ enddiscovery: | |||
1054 | kfree(preq_node); | 1054 | kfree(preq_node); |
1055 | } | 1055 | } |
1056 | 1056 | ||
1057 | /* mesh_nexthop_resolve - lookup next hop for given skb and start path | 1057 | /** |
1058 | * discovery if no forwarding information is found. | 1058 | * mesh_nexthop_resolve - lookup next hop; conditionally start path discovery |
1059 | * | 1059 | * |
1060 | * @skb: 802.11 frame to be sent | 1060 | * @skb: 802.11 frame to be sent |
1061 | * @sdata: network subif the frame will be sent through | 1061 | * @sdata: network subif the frame will be sent through |
1062 | * | 1062 | * |
1063 | * Lookup next hop for given skb and start path discovery if no | ||
1064 | * forwarding information is found. | ||
1065 | * | ||
1063 | * Returns: 0 if the next hop was found and -ENOENT if the frame was queued. | 1066 | * Returns: 0 if the next hop was found and -ENOENT if the frame was queued. |
1064 | * skb is freeed here if no mpath could be allocated. | 1067 | * skb is freeed here if no mpath could be allocated. |
1065 | */ | 1068 | */ |
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c index c9ae931dd693..075bc535c601 100644 --- a/net/mac80211/mesh_pathtbl.c +++ b/net/mac80211/mesh_pathtbl.c | |||
@@ -778,7 +778,7 @@ static void __mesh_path_del(struct mesh_table *tbl, struct mpath_node *node) | |||
778 | /** | 778 | /** |
779 | * mesh_path_flush_by_nexthop - Deletes mesh paths if their next hop matches | 779 | * mesh_path_flush_by_nexthop - Deletes mesh paths if their next hop matches |
780 | * | 780 | * |
781 | * @sta - mesh peer to match | 781 | * @sta: mesh peer to match |
782 | * | 782 | * |
783 | * RCU notes: this function is called when a mesh plink transitions from | 783 | * RCU notes: this function is called when a mesh plink transitions from |
784 | * PLINK_ESTAB to any other state, since PLINK_ESTAB state is the only one that | 784 | * PLINK_ESTAB to any other state, since PLINK_ESTAB state is the only one that |
@@ -833,7 +833,7 @@ static void table_flush_by_iface(struct mesh_table *tbl, | |||
833 | * | 833 | * |
834 | * This function deletes both mesh paths as well as mesh portal paths. | 834 | * This function deletes both mesh paths as well as mesh portal paths. |
835 | * | 835 | * |
836 | * @sdata - interface data to match | 836 | * @sdata: interface data to match |
837 | * | 837 | * |
838 | */ | 838 | */ |
839 | void mesh_path_flush_by_iface(struct ieee80211_sub_if_data *sdata) | 839 | void mesh_path_flush_by_iface(struct ieee80211_sub_if_data *sdata) |
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index a1dbd1540276..9ad74dd87a7b 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c | |||
@@ -99,7 +99,7 @@ static struct sta_info *mesh_plink_alloc(struct ieee80211_sub_if_data *sdata, | |||
99 | return sta; | 99 | return sta; |
100 | } | 100 | } |
101 | 101 | ||
102 | /* | 102 | /** |
103 | * mesh_set_ht_prot_mode - set correct HT protection mode | 103 | * mesh_set_ht_prot_mode - set correct HT protection mode |
104 | * | 104 | * |
105 | * Section 9.23.3.5 of IEEE 80211-2012 describes the protection rules for HT | 105 | * Section 9.23.3.5 of IEEE 80211-2012 describes the protection rules for HT |
@@ -320,7 +320,8 @@ static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata, | |||
320 | return 0; | 320 | return 0; |
321 | } | 321 | } |
322 | 322 | ||
323 | /* mesh_peer_init - initialize new mesh peer and return resulting sta_info | 323 | /** |
324 | * mesh_peer_init - initialize new mesh peer and return resulting sta_info | ||
324 | * | 325 | * |
325 | * @sdata: local meshif | 326 | * @sdata: local meshif |
326 | * @addr: peer's address | 327 | * @addr: peer's address |
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 839cac8fab57..67edd69e8421 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -94,7 +94,7 @@ ieee80211_rx_radiotap_len(struct ieee80211_local *local, | |||
94 | return len; | 94 | return len; |
95 | } | 95 | } |
96 | 96 | ||
97 | /* | 97 | /** |
98 | * ieee80211_add_rx_radiotap_header - add radiotap header | 98 | * ieee80211_add_rx_radiotap_header - add radiotap header |
99 | * | 99 | * |
100 | * add a radiotap header containing all the fields which the hardware provided. | 100 | * add a radiotap header containing all the fields which the hardware provided. |
diff --git a/net/netfilter/xt_TPROXY.c b/net/netfilter/xt_TPROXY.c index 146033a86de8..d7f195388f66 100644 --- a/net/netfilter/xt_TPROXY.c +++ b/net/netfilter/xt_TPROXY.c | |||
@@ -69,7 +69,7 @@ tproxy_laddr4(struct sk_buff *skb, __be32 user_laddr, __be32 daddr) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * tproxy_handle_time_wait4() - handle IPv4 TCP TIME_WAIT reopen redirections | 72 | * tproxy_handle_time_wait4 - handle IPv4 TCP TIME_WAIT reopen redirections |
73 | * @skb: The skb being processed. | 73 | * @skb: The skb being processed. |
74 | * @laddr: IPv4 address to redirect to or zero. | 74 | * @laddr: IPv4 address to redirect to or zero. |
75 | * @lport: TCP port to redirect to or zero. | 75 | * @lport: TCP port to redirect to or zero. |
@@ -220,7 +220,7 @@ tproxy_laddr6(struct sk_buff *skb, const struct in6_addr *user_laddr, | |||
220 | } | 220 | } |
221 | 221 | ||
222 | /** | 222 | /** |
223 | * tproxy_handle_time_wait6() - handle IPv6 TCP TIME_WAIT reopen redirections | 223 | * tproxy_handle_time_wait6 - handle IPv6 TCP TIME_WAIT reopen redirections |
224 | * @skb: The skb being processed. | 224 | * @skb: The skb being processed. |
225 | * @tproto: Transport protocol. | 225 | * @tproto: Transport protocol. |
226 | * @thoff: Transport protocol header offset. | 226 | * @thoff: Transport protocol header offset. |
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 32761b53015e..62ebe3c6291c 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c | |||
@@ -504,7 +504,7 @@ EXPORT_SYMBOL(genl_unregister_family); | |||
504 | * @pid: netlink pid the message is addressed to | 504 | * @pid: netlink pid the message is addressed to |
505 | * @seq: sequence number (usually the one of the sender) | 505 | * @seq: sequence number (usually the one of the sender) |
506 | * @family: generic netlink family | 506 | * @family: generic netlink family |
507 | * @flags netlink message flags | 507 | * @flags: netlink message flags |
508 | * @cmd: generic netlink command | 508 | * @cmd: generic netlink command |
509 | * | 509 | * |
510 | * Returns pointer to user specific header | 510 | * Returns pointer to user specific header |
diff --git a/net/rds/page.c b/net/rds/page.c index 2499cd108421..9005a2c920ee 100644 --- a/net/rds/page.c +++ b/net/rds/page.c | |||
@@ -74,11 +74,12 @@ int rds_page_copy_user(struct page *page, unsigned long offset, | |||
74 | } | 74 | } |
75 | EXPORT_SYMBOL_GPL(rds_page_copy_user); | 75 | EXPORT_SYMBOL_GPL(rds_page_copy_user); |
76 | 76 | ||
77 | /* | 77 | /** |
78 | * Message allocation uses this to build up regions of a message. | 78 | * rds_page_remainder_alloc - build up regions of a message. |
79 | * | 79 | * |
80 | * @bytes - the number of bytes needed. | 80 | * @scat: Scatter list for message |
81 | * @gfp - the waiting behaviour of the allocation | 81 | * @bytes: the number of bytes needed. |
82 | * @gfp: the waiting behaviour of the allocation | ||
82 | * | 83 | * |
83 | * @gfp is always ored with __GFP_HIGHMEM. Callers must be prepared to | 84 | * @gfp is always ored with __GFP_HIGHMEM. Callers must be prepared to |
84 | * kmap the pages, etc. | 85 | * kmap the pages, etc. |
diff --git a/net/rxrpc/ar-output.c b/net/rxrpc/ar-output.c index 16ae88762d00..e1ac183d50bb 100644 --- a/net/rxrpc/ar-output.c +++ b/net/rxrpc/ar-output.c | |||
@@ -242,7 +242,7 @@ int rxrpc_kernel_send_data(struct rxrpc_call *call, struct msghdr *msg, | |||
242 | 242 | ||
243 | EXPORT_SYMBOL(rxrpc_kernel_send_data); | 243 | EXPORT_SYMBOL(rxrpc_kernel_send_data); |
244 | 244 | ||
245 | /* | 245 | /** |
246 | * rxrpc_kernel_abort_call - Allow a kernel service to abort a call | 246 | * rxrpc_kernel_abort_call - Allow a kernel service to abort a call |
247 | * @call: The call to be aborted | 247 | * @call: The call to be aborted |
248 | * @abort_code: The abort code to stick into the ABORT packet | 248 | * @abort_code: The abort code to stick into the ABORT packet |
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c index 31def68a0f6e..5a3d675d2f2f 100644 --- a/net/sunrpc/backchannel_rqst.c +++ b/net/sunrpc/backchannel_rqst.c | |||
@@ -176,13 +176,14 @@ out_free: | |||
176 | } | 176 | } |
177 | EXPORT_SYMBOL_GPL(xprt_setup_backchannel); | 177 | EXPORT_SYMBOL_GPL(xprt_setup_backchannel); |
178 | 178 | ||
179 | /* | 179 | /** |
180 | * Destroys the backchannel preallocated structures. | 180 | * xprt_destroy_backchannel - Destroys the backchannel preallocated structures. |
181 | * @xprt: the transport holding the preallocated strucures | ||
182 | * @max_reqs the maximum number of preallocated structures to destroy | ||
183 | * | ||
181 | * Since these structures may have been allocated by multiple calls | 184 | * Since these structures may have been allocated by multiple calls |
182 | * to xprt_setup_backchannel, we only destroy up to the maximum number | 185 | * to xprt_setup_backchannel, we only destroy up to the maximum number |
183 | * of reqs specified by the caller. | 186 | * of reqs specified by the caller. |
184 | * @xprt: the transport holding the preallocated strucures | ||
185 | * @max_reqs the maximum number of preallocated structures to destroy | ||
186 | */ | 187 | */ |
187 | void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) | 188 | void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) |
188 | { | 189 | { |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index f56f045778ae..00eb859b7de5 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -385,7 +385,7 @@ out_no_rpciod: | |||
385 | return ERR_PTR(err); | 385 | return ERR_PTR(err); |
386 | } | 386 | } |
387 | 387 | ||
388 | /* | 388 | /** |
389 | * rpc_create - create an RPC client and transport with one call | 389 | * rpc_create - create an RPC client and transport with one call |
390 | * @args: rpc_clnt create argument structure | 390 | * @args: rpc_clnt create argument structure |
391 | * | 391 | * |
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index fddcccfcdf76..0cf165580d8d 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c | |||
@@ -180,7 +180,9 @@ EXPORT_SYMBOL_GPL(xdr_inline_pages); | |||
180 | 180 | ||
181 | /* | 181 | /* |
182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf | 182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf |
183 | * | 183 | */ |
184 | |||
185 | /** | ||
184 | * _shift_data_right_pages | 186 | * _shift_data_right_pages |
185 | * @pages: vector of pages containing both the source and dest memory area. | 187 | * @pages: vector of pages containing both the source and dest memory area. |
186 | * @pgto_base: page vector address of destination | 188 | * @pgto_base: page vector address of destination |
@@ -242,7 +244,7 @@ _shift_data_right_pages(struct page **pages, size_t pgto_base, | |||
242 | } while ((len -= copy) != 0); | 244 | } while ((len -= copy) != 0); |
243 | } | 245 | } |
244 | 246 | ||
245 | /* | 247 | /** |
246 | * _copy_to_pages | 248 | * _copy_to_pages |
247 | * @pages: array of pages | 249 | * @pages: array of pages |
248 | * @pgbase: page vector address of destination | 250 | * @pgbase: page vector address of destination |
@@ -286,7 +288,7 @@ _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) | |||
286 | flush_dcache_page(*pgto); | 288 | flush_dcache_page(*pgto); |
287 | } | 289 | } |
288 | 290 | ||
289 | /* | 291 | /** |
290 | * _copy_from_pages | 292 | * _copy_from_pages |
291 | * @p: pointer to destination | 293 | * @p: pointer to destination |
292 | * @pages: array of pages | 294 | * @pages: array of pages |
@@ -326,7 +328,7 @@ _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) | |||
326 | } | 328 | } |
327 | EXPORT_SYMBOL_GPL(_copy_from_pages); | 329 | EXPORT_SYMBOL_GPL(_copy_from_pages); |
328 | 330 | ||
329 | /* | 331 | /** |
330 | * xdr_shrink_bufhead | 332 | * xdr_shrink_bufhead |
331 | * @buf: xdr_buf | 333 | * @buf: xdr_buf |
332 | * @len: bytes to remove from buf->head[0] | 334 | * @len: bytes to remove from buf->head[0] |
@@ -399,7 +401,7 @@ xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) | |||
399 | buf->len = buf->buflen; | 401 | buf->len = buf->buflen; |
400 | } | 402 | } |
401 | 403 | ||
402 | /* | 404 | /** |
403 | * xdr_shrink_pagelen | 405 | * xdr_shrink_pagelen |
404 | * @buf: xdr_buf | 406 | * @buf: xdr_buf |
405 | * @len: bytes to remove from buf->pages | 407 | * @len: bytes to remove from buf->pages |
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 3c83035cdaa9..a5a402a7d21f 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -531,7 +531,7 @@ void xprt_set_retrans_timeout_def(struct rpc_task *task) | |||
531 | } | 531 | } |
532 | EXPORT_SYMBOL_GPL(xprt_set_retrans_timeout_def); | 532 | EXPORT_SYMBOL_GPL(xprt_set_retrans_timeout_def); |
533 | 533 | ||
534 | /* | 534 | /** |
535 | * xprt_set_retrans_timeout_rtt - set a request's retransmit timeout | 535 | * xprt_set_retrans_timeout_rtt - set a request's retransmit timeout |
536 | * @task: task whose timeout is to be set | 536 | * @task: task whose timeout is to be set |
537 | * | 537 | * |
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 2625f5ebe3e8..d9df34fbd7ca 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -162,7 +162,7 @@ static void bclink_update_last_sent(struct tipc_node *node, u32 seqno) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | 164 | ||
165 | /* | 165 | /** |
166 | * tipc_bclink_retransmit_to - get most recent node to request retransmission | 166 | * tipc_bclink_retransmit_to - get most recent node to request retransmission |
167 | * | 167 | * |
168 | * Called with bc_lock locked | 168 | * Called with bc_lock locked |
@@ -270,7 +270,7 @@ exit: | |||
270 | spin_unlock_bh(&bc_lock); | 270 | spin_unlock_bh(&bc_lock); |
271 | } | 271 | } |
272 | 272 | ||
273 | /* | 273 | /** |
274 | * tipc_bclink_update_link_state - update broadcast link state | 274 | * tipc_bclink_update_link_state - update broadcast link state |
275 | * | 275 | * |
276 | * tipc_net_lock and node lock set | 276 | * tipc_net_lock and node lock set |
@@ -330,7 +330,7 @@ void tipc_bclink_update_link_state(struct tipc_node *n_ptr, u32 last_sent) | |||
330 | } | 330 | } |
331 | } | 331 | } |
332 | 332 | ||
333 | /* | 333 | /** |
334 | * bclink_peek_nack - monitor retransmission requests sent by other nodes | 334 | * bclink_peek_nack - monitor retransmission requests sent by other nodes |
335 | * | 335 | * |
336 | * Delay any upcoming NACK by this node if another node has already | 336 | * Delay any upcoming NACK by this node if another node has already |
@@ -381,7 +381,7 @@ exit: | |||
381 | return res; | 381 | return res; |
382 | } | 382 | } |
383 | 383 | ||
384 | /* | 384 | /** |
385 | * bclink_accept_pkt - accept an incoming, in-sequence broadcast packet | 385 | * bclink_accept_pkt - accept an incoming, in-sequence broadcast packet |
386 | * | 386 | * |
387 | * Called with both sending node's lock and bc_lock taken. | 387 | * Called with both sending node's lock and bc_lock taken. |
@@ -406,7 +406,7 @@ static void bclink_accept_pkt(struct tipc_node *node, u32 seqno) | |||
406 | } | 406 | } |
407 | } | 407 | } |
408 | 408 | ||
409 | /* | 409 | /** |
410 | * tipc_bclink_recv_pkt - receive a broadcast packet, and deliver upwards | 410 | * tipc_bclink_recv_pkt - receive a broadcast packet, and deliver upwards |
411 | * | 411 | * |
412 | * tipc_net_lock is read_locked, no other locks set | 412 | * tipc_net_lock is read_locked, no other locks set |
diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index a297e3a2e3e7..86b703f55092 100644 --- a/net/tipc/bearer.c +++ b/net/tipc/bearer.c | |||
@@ -172,8 +172,8 @@ struct sk_buff *tipc_media_get_names(void) | |||
172 | 172 | ||
173 | /** | 173 | /** |
174 | * bearer_name_validate - validate & (optionally) deconstruct bearer name | 174 | * bearer_name_validate - validate & (optionally) deconstruct bearer name |
175 | * @name - ptr to bearer name string | 175 | * @name: ptr to bearer name string |
176 | * @name_parts - ptr to area for bearer name components (or NULL if not needed) | 176 | * @name_parts: ptr to area for bearer name components (or NULL if not needed) |
177 | * | 177 | * |
178 | * Returns 1 if bearer name is valid, otherwise 0. | 178 | * Returns 1 if bearer name is valid, otherwise 0. |
179 | */ | 179 | */ |
@@ -520,8 +520,7 @@ exit: | |||
520 | } | 520 | } |
521 | 521 | ||
522 | /** | 522 | /** |
523 | * tipc_block_bearer(): Block the bearer with the given name, | 523 | * tipc_block_bearer - Block the bearer with the given name, and reset all its links |
524 | * and reset all its links | ||
525 | */ | 524 | */ |
526 | int tipc_block_bearer(const char *name) | 525 | int tipc_block_bearer(const char *name) |
527 | { | 526 | { |
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index e3b2be37fb31..4680de118aff 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | #define TIPC_MEDIA_TYPE_ETH 1 | 58 | #define TIPC_MEDIA_TYPE_ETH 1 |
59 | 59 | ||
60 | /* | 60 | /** |
61 | * struct tipc_media_addr - destination address used by TIPC bearers | 61 | * struct tipc_media_addr - destination address used by TIPC bearers |
62 | * @value: address info (format defined by media) | 62 | * @value: address info (format defined by media) |
63 | * @media_id: TIPC media type identifier | 63 | * @media_id: TIPC media type identifier |
diff --git a/net/tipc/link.c b/net/tipc/link.c index 7a614f43549d..f6bf4830ddfe 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -153,8 +153,8 @@ int tipc_link_is_active(struct tipc_link *l_ptr) | |||
153 | 153 | ||
154 | /** | 154 | /** |
155 | * link_name_validate - validate & (optionally) deconstruct tipc_link name | 155 | * link_name_validate - validate & (optionally) deconstruct tipc_link name |
156 | * @name - ptr to link name string | 156 | * @name: ptr to link name string |
157 | * @name_parts - ptr to area for link name components (or NULL if not needed) | 157 | * @name_parts: ptr to area for link name components (or NULL if not needed) |
158 | * | 158 | * |
159 | * Returns 1 if link name is valid, otherwise 0. | 159 | * Returns 1 if link name is valid, otherwise 0. |
160 | */ | 160 | */ |
@@ -944,7 +944,7 @@ int tipc_link_send(struct sk_buff *buf, u32 dest, u32 selector) | |||
944 | return res; | 944 | return res; |
945 | } | 945 | } |
946 | 946 | ||
947 | /* | 947 | /** |
948 | * tipc_link_send_names - send name table entries to new neighbor | 948 | * tipc_link_send_names - send name table entries to new neighbor |
949 | * | 949 | * |
950 | * Send routine for bulk delivery of name table messages when contact | 950 | * Send routine for bulk delivery of name table messages when contact |
@@ -1787,7 +1787,7 @@ cont: | |||
1787 | read_unlock_bh(&tipc_net_lock); | 1787 | read_unlock_bh(&tipc_net_lock); |
1788 | } | 1788 | } |
1789 | 1789 | ||
1790 | /* | 1790 | /** |
1791 | * tipc_link_defer_pkt - Add out-of-sequence message to deferred reception queue | 1791 | * tipc_link_defer_pkt - Add out-of-sequence message to deferred reception queue |
1792 | * | 1792 | * |
1793 | * Returns increase in queue length (i.e. 0 or 1) | 1793 | * Returns increase in queue length (i.e. 0 or 1) |
@@ -2635,8 +2635,8 @@ void tipc_link_set_queue_limits(struct tipc_link *l_ptr, u32 window) | |||
2635 | 2635 | ||
2636 | /** | 2636 | /** |
2637 | * link_find_link - locate link by name | 2637 | * link_find_link - locate link by name |
2638 | * @name - ptr to link name string | 2638 | * @name: ptr to link name string |
2639 | * @node - ptr to area to be filled with ptr to associated node | 2639 | * @node: ptr to area to be filled with ptr to associated node |
2640 | * | 2640 | * |
2641 | * Caller must hold 'tipc_net_lock' to ensure node and bearer are not deleted; | 2641 | * Caller must hold 'tipc_net_lock' to ensure node and bearer are not deleted; |
2642 | * this also prevents link deletion. | 2642 | * this also prevents link deletion. |
@@ -2671,8 +2671,8 @@ static struct tipc_link *link_find_link(const char *name, | |||
2671 | /** | 2671 | /** |
2672 | * link_value_is_valid -- validate proposed link tolerance/priority/window | 2672 | * link_value_is_valid -- validate proposed link tolerance/priority/window |
2673 | * | 2673 | * |
2674 | * @cmd - value type (TIPC_CMD_SET_LINK_*) | 2674 | * @cmd: value type (TIPC_CMD_SET_LINK_*) |
2675 | * @new_value - the new value | 2675 | * @new_value: the new value |
2676 | * | 2676 | * |
2677 | * Returns 1 if value is within range, 0 if not. | 2677 | * Returns 1 if value is within range, 0 if not. |
2678 | */ | 2678 | */ |
@@ -2693,9 +2693,9 @@ static int link_value_is_valid(u16 cmd, u32 new_value) | |||
2693 | 2693 | ||
2694 | /** | 2694 | /** |
2695 | * link_cmd_set_value - change priority/tolerance/window for link/bearer/media | 2695 | * link_cmd_set_value - change priority/tolerance/window for link/bearer/media |
2696 | * @name - ptr to link, bearer, or media name | 2696 | * @name: ptr to link, bearer, or media name |
2697 | * @new_value - new value of link, bearer, or media setting | 2697 | * @new_value: new value of link, bearer, or media setting |
2698 | * @cmd - which link, bearer, or media attribute to set (TIPC_CMD_SET_LINK_*) | 2698 | * @cmd: which link, bearer, or media attribute to set (TIPC_CMD_SET_LINK_*) |
2699 | * | 2699 | * |
2700 | * Caller must hold 'tipc_net_lock' to ensure link/bearer/media is not deleted. | 2700 | * Caller must hold 'tipc_net_lock' to ensure link/bearer/media is not deleted. |
2701 | * | 2701 | * |
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index 010f24a59da2..13fb9d559ea5 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c | |||
@@ -191,7 +191,7 @@ static void nameseq_delete_empty(struct name_seq *seq) | |||
191 | } | 191 | } |
192 | } | 192 | } |
193 | 193 | ||
194 | /* | 194 | /** |
195 | * nameseq_find_subseq - find sub-sequence (if any) matching a name instance | 195 | * nameseq_find_subseq - find sub-sequence (if any) matching a name instance |
196 | * | 196 | * |
197 | * Very time-critical, so binary searches through sub-sequence array. | 197 | * Very time-critical, so binary searches through sub-sequence array. |
@@ -435,7 +435,7 @@ found: | |||
435 | } | 435 | } |
436 | 436 | ||
437 | /** | 437 | /** |
438 | * tipc_nameseq_subscribe: attach a subscription, and issue | 438 | * tipc_nameseq_subscribe - attach a subscription, and issue |
439 | * the prescribed number of events if there is any sub- | 439 | * the prescribed number of events if there is any sub- |
440 | * sequence overlapping with the requested sequence | 440 | * sequence overlapping with the requested sequence |
441 | */ | 441 | */ |
@@ -520,7 +520,7 @@ struct publication *tipc_nametbl_remove_publ(u32 type, u32 lower, | |||
520 | return publ; | 520 | return publ; |
521 | } | 521 | } |
522 | 522 | ||
523 | /* | 523 | /** |
524 | * tipc_nametbl_translate - perform name translation | 524 | * tipc_nametbl_translate - perform name translation |
525 | * | 525 | * |
526 | * On entry, 'destnode' is the search domain used during translation. | 526 | * On entry, 'destnode' is the search domain used during translation. |
@@ -751,7 +751,7 @@ void tipc_nametbl_unsubscribe(struct tipc_subscription *s) | |||
751 | 751 | ||
752 | 752 | ||
753 | /** | 753 | /** |
754 | * subseq_list: print specified sub-sequence contents into the given buffer | 754 | * subseq_list - print specified sub-sequence contents into the given buffer |
755 | */ | 755 | */ |
756 | static void subseq_list(struct sub_seq *sseq, struct print_buf *buf, u32 depth, | 756 | static void subseq_list(struct sub_seq *sseq, struct print_buf *buf, u32 depth, |
757 | u32 index) | 757 | u32 index) |
@@ -787,7 +787,7 @@ static void subseq_list(struct sub_seq *sseq, struct print_buf *buf, u32 depth, | |||
787 | } | 787 | } |
788 | 788 | ||
789 | /** | 789 | /** |
790 | * nameseq_list: print specified name sequence contents into the given buffer | 790 | * nameseq_list - print specified name sequence contents into the given buffer |
791 | */ | 791 | */ |
792 | static void nameseq_list(struct name_seq *seq, struct print_buf *buf, u32 depth, | 792 | static void nameseq_list(struct name_seq *seq, struct print_buf *buf, u32 depth, |
793 | u32 type, u32 lowbound, u32 upbound, u32 index) | 793 | u32 type, u32 lowbound, u32 upbound, u32 index) |
diff --git a/net/tipc/port.c b/net/tipc/port.c index a1e828989d7a..70bf78bd5b75 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -69,7 +69,7 @@ static u32 port_peerport(struct tipc_port *p_ptr) | |||
69 | return msg_destport(&p_ptr->phdr); | 69 | return msg_destport(&p_ptr->phdr); |
70 | } | 70 | } |
71 | 71 | ||
72 | /* | 72 | /** |
73 | * tipc_port_peer_msg - verify message was sent by connected port's peer | 73 | * tipc_port_peer_msg - verify message was sent by connected port's peer |
74 | * | 74 | * |
75 | * Handles cases where the node's network address has changed from | 75 | * Handles cases where the node's network address has changed from |
diff --git a/net/tipc/port.h b/net/tipc/port.h index 98cbec9c4532..4660e3065790 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -79,6 +79,7 @@ typedef void (*tipc_continue_event) (void *usr_handle, u32 portref); | |||
79 | * struct user_port - TIPC user port (used with native API) | 79 | * struct user_port - TIPC user port (used with native API) |
80 | * @usr_handle: user-specified field | 80 | * @usr_handle: user-specified field |
81 | * @ref: object reference to associated TIPC port | 81 | * @ref: object reference to associated TIPC port |
82 | * | ||
82 | * <various callback routines> | 83 | * <various callback routines> |
83 | */ | 84 | */ |
84 | struct user_port { | 85 | struct user_port { |
diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c index cf6366270054..277c8d2448d6 100644 --- a/net/x25/x25_route.c +++ b/net/x25/x25_route.c | |||
@@ -66,7 +66,7 @@ out: | |||
66 | 66 | ||
67 | /** | 67 | /** |
68 | * __x25_remove_route - remove route from x25_route_list | 68 | * __x25_remove_route - remove route from x25_route_list |
69 | * @rt - route to remove | 69 | * @rt: route to remove |
70 | * | 70 | * |
71 | * Remove route from x25_route_list. If it was there. | 71 | * Remove route from x25_route_list. If it was there. |
72 | * Caller must hold x25_route_list_lock. | 72 | * Caller must hold x25_route_list_lock. |