| /net/tipc/ |
| A D | link.c | 310 return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l)); in link_is_bc_rcvlink() 407 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap() 586 l->bc_rcvlink = l; in tipc_link_bc_create() 837 tipc_mon_get_state(l->net, l->addr, mstate, l->bearer_id); in tipc_link_timeout() 853 l->checkpoint = l->snd_nxt; in tipc_link_timeout() 964 l->mtu = l->advertised_mtu; in tipc_link_reset() 1118 l->window = min_t(u16, l->ssthresh, l->window); in tipc_link_update_cwin() 1124 l->window = l->min_win; in tipc_link_update_cwin() 1703 l->snd_nxt = l->rcv_nxt; in tipc_link_build_state_msg() 1818 rc |= tipc_link_input(l, skb, l->inputq, &l->reasm_buf); in tipc_link_rcv() [all …]
|
| A D | link.h | 97 bool tipc_link_is_up(struct tipc_link *l); 105 void tipc_link_reset(struct tipc_link *l); 110 u16 tipc_link_rcv_nxt(struct tipc_link *l); 111 u16 tipc_link_acked(struct tipc_link *l); 112 u32 tipc_link_id(struct tipc_link *l); 113 char *tipc_link_name(struct tipc_link *l); 114 u32 tipc_link_state(struct tipc_link *l); 115 char tipc_link_plane(struct tipc_link *l); 116 int tipc_link_prio(struct tipc_link *l); 143 int tipc_link_mtu(struct tipc_link *l); [all …]
|
| A D | bcast.c | 268 if (tipc_link_bc_peers(l)) in tipc_bcast_xmit() 511 tipc_link_bc_init_rcv(l, hdr); in tipc_bcast_sync_rcv() 574 if (!l) in tipc_bclink_reset_stats() 578 tipc_link_reset_stats(l); in tipc_bclink_reset_stats() 587 if (!l) in tipc_bc_link_set_queue_limits() 594 tipc_link_set_queue_limits(l, tipc_link_min_win(l), max_win); in tipc_bc_link_set_queue_limits() 693 struct tipc_link *l = NULL; in tipc_bcast_init() local 709 &l)) in tipc_bcast_init() 711 bb->link = l; in tipc_bcast_init() 712 tn->bcl = l; in tipc_bcast_init() [all …]
|
| A D | node.c | 522 if (l) in tipc_node_create() 967 if (l && !tipc_link_is_reset(l)) in tipc_node_link_failover() 976 if (l) in tipc_node_link_failover() 999 if (!l || tipc_link_is_reset(l)) in __tipc_node_link_down() 1009 tipc_link_name(l), tipc_link_plane(l)); in __tipc_node_link_down() 1070 if (!l) in tipc_node_link_down() 1201 link_up = l && tipc_link_is_up(l); in tipc_node_check_dest() 1202 link_is_reset = l && tipc_link_is_reset(l); in tipc_node_check_dest() 1273 if (!l) { in tipc_node_check_dest() 1536 if (l) in node_lost_contact() [all …]
|
| A D | name_table.c | 132 struct rb_node *l, *r; local 139 l = n->rb_left; 140 if (l && service_range_entry(l)->max >= start) { 145 n = l; 580 struct list_head *l; in tipc_nametbl_lookup_anycast() local 595 l = &r->local_publ; in tipc_nametbl_lookup_anycast() 596 if (list_empty(l)) in tipc_nametbl_lookup_anycast() 601 l = &r->local_publ; in tipc_nametbl_lookup_anycast() 605 l = &r->all_publ; in tipc_nametbl_lookup_anycast() 1164 list_add(&dst->list, l); in tipc_dest_push() [all …]
|
| A D | bcast.h | 83 void tipc_bcast_add_peer(struct net *net, struct tipc_link *l, 95 int tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb); 96 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, 98 int tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, 104 int tipc_bclink_reset_stats(struct net *net, struct tipc_link *l);
|
| A D | name_table.h | 151 struct tipc_dest *tipc_dest_find(struct list_head *l, u32 node, u32 port); 152 bool tipc_dest_push(struct list_head *l, u32 node, u32 port); 153 bool tipc_dest_pop(struct list_head *l, u32 *node, u32 *port); 154 bool tipc_dest_del(struct list_head *l, u32 node, u32 port); 155 void tipc_dest_list_purge(struct list_head *l);
|
| A D | trace.h | 132 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf); 246 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header), 248 TP_ARGS(l, dqueues, header), 258 memcpy(__entry->name, tipc_link_name(l), TIPC_MAX_LINK_NAME); 259 tipc_link_dump(l, dqueues, __get_str(buf)); 268 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header), \ 269 TP_ARGS(l, dqueues, header)) 277 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header), \ 278 TP_ARGS(l, dqueues, header), \ 280 DEFINE_LINK_EVENT_COND(tipc_link_too_silent, tipc_link_too_silent(l));
|
| /net/ceph/ |
| A D | striper.c | 28 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_calc_file_object_mapping() 41 *objno = objsetno * l->stripe_count + stripepos; in ceph_calc_file_object_mapping() 42 *objoff = objsetpos * l->stripe_unit + blockoff; in ceph_calc_file_object_mapping() 43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping() 216 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_extent_to_file() 238 div_u64_rem(objoff, l->stripe_unit, &blockoff); in ceph_extent_to_file() 243 stripeno = div_u64(objoff, l->stripe_unit) + in ceph_extent_to_file() 246 off = blockno * l->stripe_unit + blockoff; in ceph_extent_to_file() 265 u64 period = (u64)l->stripe_count * l->object_size; in ceph_get_num_objects() 272 remainder_bytes < (u64)l->stripe_count * l->stripe_unit) in ceph_get_num_objects() [all …]
|
| A D | pagevec.c | 67 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_from_page_vector() local 69 memcpy(data, page_address(pages[i]) + po, l); in ceph_copy_from_page_vector() 70 data += l; in ceph_copy_from_page_vector() 71 left -= l; in ceph_copy_from_page_vector() 72 po += l; in ceph_copy_from_page_vector()
|
| /net/caif/ |
| A D | cfcnfg.c | 226 memset(l, 0, sizeof(*l)); in caif_connect_req_to_link_param() 234 l->phyid = res; in caif_connect_req_to_link_param() 249 l->phyid = dev_info->id; in caif_connect_req_to_link_param() 259 l->chtype = 0x00; in caif_connect_req_to_link_param() 264 l->chtype = 0x03; in caif_connect_req_to_link_param() 265 l->endpoint = 0x00; in caif_connect_req_to_link_param() 272 sizeof(l->u.rfm.volume)); in caif_connect_req_to_link_param() 276 l->endpoint = 0x00; in caif_connect_req_to_link_param() 277 l->chtype = 0x00; in caif_connect_req_to_link_param() 282 if (l->u.utility.paramlen > sizeof(l->u.utility.params)) in caif_connect_req_to_link_param() [all …]
|
| /net/mac80211/ |
| A D | michael.c | 15 mctx->l ^= val; in michael_block() 16 mctx->r ^= rol32(mctx->l, 17); in michael_block() 17 mctx->l += mctx->r; in michael_block() 19 ((mctx->l & 0x00ff00ff) << 8); in michael_block() 20 mctx->l += mctx->r; in michael_block() 21 mctx->r ^= rol32(mctx->l, 3); in michael_block() 22 mctx->l += mctx->r; in michael_block() 23 mctx->r ^= ror32(mctx->l, 2); in michael_block() 24 mctx->l += mctx->r; in michael_block() 39 mctx->l = get_unaligned_le32(key); in michael_mic_hdr() [all …]
|
| /net/rose/ |
| A D | rose_subr.c | 276 l = p[1]; in rose_parse_national() 277 if (len < 2 + l) in rose_parse_national() 323 p += l + 2; in rose_parse_national() 324 n += l + 2; in rose_parse_national() 325 len -= l + 2; in rose_parse_national() 335 unsigned char l, n = 0; in rose_parse_ccitt() local 367 l = p[1]; in rose_parse_ccitt() 370 if (l < 10 || l > 20) in rose_parse_ccitt() 385 p += l + 2; in rose_parse_ccitt() 386 n += l + 2; in rose_parse_ccitt() [all …]
|
| /net/ipv4/ |
| A D | fib_trie.c | 358 l = kv->kv; in leaf_new() 360 l->pos = 0; in leaf_new() 368 return l; in leaf_new() 1025 if (!l) in fib_find_matching_alias() 1110 if (!l) in fib_insert_node() 1158 if (!l) in fib_insert_alias() 1359 l = l ? l : fib_find_node(t, &tp, key); in fib_table_insert() 1702 if (!l) in fib_table_delete() 2854 if (l) in fib_route_get_idx() 2859 return l; in fib_route_get_idx() [all …]
|
| A D | ip_options.c | 199 int l = opt->optlen; in ip_options_fragment() local 202 while (l > 0) { in ip_options_fragment() 207 l--; in ip_options_fragment() 212 if (optlen < 2 || optlen > l) in ip_options_fragment() 216 l -= optlen; in ip_options_fragment() 250 int optlen, l; in __ip_options_compile() local 259 for (l = opt->optlen; l > 0; ) { in __ip_options_compile() 262 for (optptr++, l--; l > 0; optptr++, l--) { in __ip_options_compile() 270 l--; in __ip_options_compile() 274 if (unlikely(l < 2)) { in __ip_options_compile() [all …]
|
| /net/bluetooth/ |
| A D | af_bluetooth.c | 177 write_lock(&l->lock); in bt_sock_link() 178 sk_add_node(sk, &l->head); in bt_sock_link() 179 write_unlock(&l->lock); in bt_sock_link() 185 write_lock(&l->lock); in bt_sock_unlink() 187 write_unlock(&l->lock); in bt_sock_unlink() 195 if (!l || !s) in bt_sock_linked() 198 read_lock(&l->lock); in bt_sock_linked() 202 read_unlock(&l->lock); in bt_sock_linked() 207 read_unlock(&l->lock); in bt_sock_linked() 783 read_lock(&l->lock); in bt_seq_start() [all …]
|
| /net/netfilter/ |
| A D | nf_conntrack_h323_asn1.c | 190 unsigned int v, l; in get_bits() local 193 l = b + bs->bit; in get_bits() 195 if (l < 8) { in get_bits() 196 v >>= 8 - l; in get_bits() 197 bs->bit = l; in get_bits() 205 v >>= 16 - l; in get_bits() 206 bs->bit = l - 8; in get_bits() 220 l = bs->bit + b; in get_bitmap() 222 if (l < 8) { in get_bitmap() 224 bs->bit = l; in get_bitmap() [all …]
|
| /net/appletalk/ |
| A D | atalk_proc.c | 30 loff_t l = *pos; in atalk_seq_interface_start() local 33 return l ? atalk_get_interface_idx(--l) : SEQ_START_TOKEN; in atalk_seq_interface_start() 91 loff_t l = *pos; in atalk_seq_route_start() local 94 return l ? atalk_get_route_idx(--l) : SEQ_START_TOKEN; in atalk_seq_route_start()
|
| /net/smc/ |
| A D | smc_stats.h | 96 typeof(_len) l = (_len); \ 101 if (r <= 0 || l <= 0) \ 103 _pos = fls64((l - 1) >> 13); \ 171 typeof(_len) l = (_len); \ 173 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, rx, is_add, l); \ 175 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, tx, is_add, l); \ 177 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, rx, is_add, l); \ 179 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, tx, is_add, l); \
|
| /net/mpls/ |
| A D | mpls_iptunnel.c | 266 int l; in mpls_encap_cmp() local 273 for (l = 0; l < a_hdr->labels; l++) in mpls_encap_cmp() 274 if (a_hdr->label[l] != b_hdr->label[l]) in mpls_encap_cmp()
|
| /net/atm/ |
| A D | proc.c | 78 static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l) in __vcc_walk() argument 90 l--; in __vcc_walk() 94 l -= compare_family(sk, family); in __vcc_walk() 95 if (l < 0) in __vcc_walk() 105 return (l < 0); in __vcc_walk() 108 static inline void *vcc_walk(struct seq_file *seq, loff_t l) in vcc_walk() argument 113 return __vcc_walk(&state->sk, family, &state->bucket, l) ? in vcc_walk()
|
| /net/nfc/ |
| A D | rawsock.c | 23 static void nfc_sock_link(struct nfc_sock_list *l, struct sock *sk) in nfc_sock_link() argument 25 write_lock(&l->lock); in nfc_sock_link() 26 sk_add_node(sk, &l->head); in nfc_sock_link() 27 write_unlock(&l->lock); in nfc_sock_link() 30 static void nfc_sock_unlink(struct nfc_sock_list *l, struct sock *sk) in nfc_sock_unlink() argument 32 write_lock(&l->lock); in nfc_sock_unlink() 34 write_unlock(&l->lock); in nfc_sock_unlink()
|
| /net/core/ |
| A D | utils.c | 52 unsigned int l; in in_aton() local 56 l = 0; in in_aton() 58 l <<= 8; in in_aton() 66 l |= val; in in_aton() 71 return htonl(l); in in_aton()
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_mh.c | 108 struct ip_vs_mh_lookup *l; in ip_vs_mh_reset() local 111 l = &s->lookup[0]; in ip_vs_mh_reset() 113 dest = rcu_dereference_protected(l->dest, 1); in ip_vs_mh_reset() 116 RCU_INIT_POINTER(l->dest, NULL); in ip_vs_mh_reset() 118 l++; in ip_vs_mh_reset()
|
| /net/llc/ |
| A D | llc_proc.c | 61 loff_t l = *pos; in llc_seq_start() local 64 return l ? llc_get_sk_idx(--l) : SEQ_START_TOKEN; in llc_seq_start()
|