Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 37) sorted by relevance

12

/net/mac80211/
Dmichael.c18 mctx->l ^= val; in michael_block()
19 mctx->r ^= rol32(mctx->l, 17); in michael_block()
20 mctx->l += mctx->r; in michael_block()
21 mctx->r ^= ((mctx->l & 0xff00ff00) >> 8) | in michael_block()
22 ((mctx->l & 0x00ff00ff) << 8); in michael_block()
23 mctx->l += mctx->r; in michael_block()
24 mctx->r ^= rol32(mctx->l, 3); in michael_block()
25 mctx->l += mctx->r; in michael_block()
26 mctx->r ^= ror32(mctx->l, 2); in michael_block()
27 mctx->l += mctx->r; in michael_block()
[all …]
Dmichael.h18 u32 l, r; member
/net/ipv4/
Dfib_trie.c208 static inline t_key mask_pfx(t_key k, unsigned short l) in mask_pfx() argument
210 return (l == 0) ? 0 : k >> (KEYLENGTH-l) << (KEYLENGTH-l); in mask_pfx()
333 struct leaf *l = container_of(head, struct leaf, rcu); in __leaf_free_rcu() local
334 kmem_cache_free(trie_leaf_kmem, l); in __leaf_free_rcu()
337 static inline void free_leaf(struct leaf *l) in free_leaf() argument
339 call_rcu_bh(&l->rcu, __leaf_free_rcu); in free_leaf()
390 struct leaf *l = kmem_cache_alloc(trie_leaf_kmem, GFP_KERNEL); in leaf_new() local
391 if (l) { in leaf_new()
392 l->parent = T_LEAF; in leaf_new()
393 INIT_HLIST_HEAD(&l->list); in leaf_new()
[all …]
Dinetpeer.c188 struct inet_peer **nodep, *node, *l, *r; in peer_avl_rebalance() local
194 l = node->avl_left; in peer_avl_rebalance()
196 lh = node_height(l); in peer_avl_rebalance()
201 ll = l->avl_left; in peer_avl_rebalance()
202 lr = l->avl_right; in peer_avl_rebalance()
208 l->avl_left = ll; /* ll: RH+1 */ in peer_avl_rebalance()
209 l->avl_right = node; /* node: RH+1 or RH+2 */ in peer_avl_rebalance()
210 l->avl_height = node->avl_height + 1; in peer_avl_rebalance()
211 *nodep = l; in peer_avl_rebalance()
218 l->avl_left = ll; /* ll: RH */ in peer_avl_rebalance()
[all …]
Dip_options.c215 int l = opt->optlen; in ip_options_fragment() local
218 while (l > 0) { in ip_options_fragment()
223 l--; in ip_options_fragment()
228 if (optlen<2 || optlen>l) in ip_options_fragment()
232 l -= optlen; in ip_options_fragment()
252 int l; in ip_options_compile() local
266 for (l = opt->optlen; l > 0; ) { in ip_options_compile()
269 for (optptr++, l--; l>0; optptr++, l--) { in ip_options_compile()
277 l--; in ip_options_compile()
282 if (optlen<2 || optlen>l) { in ip_options_compile()
[all …]
Dah4.c20 int l = iph->ihl*4 - sizeof(struct iphdr); in ip_clear_mutable_options() local
23 while (l > 0) { in ip_clear_mutable_options()
28 l--; in ip_clear_mutable_options()
33 if (optlen<2 || optlen>l) in ip_clear_mutable_options()
51 l -= optlen; in ip_clear_mutable_options()
/net/rose/
Drose_subr.c242 unsigned char l, lg, n = 0; in rose_parse_national() local
268 l = p[1]; in rose_parse_national()
291 for (pt = p + 2, lg = 0 ; lg < l ; pt += AX25_ADDR_LEN, lg += AX25_ADDR_LEN) { in rose_parse_national()
298 p += l + 2; in rose_parse_national()
299 n += l + 2; in rose_parse_national()
300 len -= l + 2; in rose_parse_national()
310 unsigned char l, n = 0; in rose_parse_ccitt() local
334 l = p[1]; in rose_parse_ccitt()
337 memcpy(callsign, p + 12, l - 10); in rose_parse_ccitt()
338 callsign[l - 10] = '\0'; in rose_parse_ccitt()
[all …]
/net/tipc/
Dhandler.c82 struct list_head *l, *n; in process_signal_queue() local
85 list_for_each_safe(l, n, &signal_queue_head) { in process_signal_queue()
86 item = list_entry(l, struct queue_item, next_signal); in process_signal_queue()
112 struct list_head *l, *n; in tipc_handler_stop() local
123 list_for_each_safe(l, n, &signal_queue_head) { in tipc_handler_stop()
124 item = list_entry(l, struct queue_item, next_signal); in tipc_handler_stop()
/net/appletalk/
Datalk_proc.c32 loff_t l = *pos; in atalk_seq_interface_start() local
35 return l ? atalk_get_interface_idx(--l) : SEQ_START_TOKEN; in atalk_seq_interface_start()
93 loff_t l = *pos; in atalk_seq_route_start() local
96 return l ? atalk_get_route_idx(--l) : SEQ_START_TOKEN; in atalk_seq_route_start()
163 loff_t l = *pos; in atalk_seq_socket_start() local
166 return l ? atalk_get_socket_idx(--l) : SEQ_START_TOKEN; in atalk_seq_socket_start()
/net/x25/
Dx25_proc.c46 loff_t l = *pos; in x25_seq_route_start() local
49 return l ? x25_get_route_idx(--l) : SEQ_START_TOKEN; in x25_seq_route_start()
112 loff_t l = *pos; in x25_seq_socket_start() local
115 return l ? x25_get_socket_idx(--l) : SEQ_START_TOKEN; in x25_seq_socket_start()
192 loff_t l = *pos; in x25_seq_forward_start() local
195 return l ? x25_get_forward_idx(--l) : SEQ_START_TOKEN; in x25_seq_forward_start()
/net/ipv4/netfilter/
Dipt_ULOG.c344 struct ipt_ulog_info l = { in ulog_tg_compat_from_user() local
350 memcpy(l.prefix, cl->prefix, sizeof(l.prefix)); in ulog_tg_compat_from_user()
351 memcpy(dst, &l, sizeof(l)); in ulog_tg_compat_from_user()
356 const struct ipt_ulog_info *l = src; in ulog_tg_compat_to_user() local
358 .nl_group = l->nl_group, in ulog_tg_compat_to_user()
359 .copy_range = l->copy_range, in ulog_tg_compat_to_user()
360 .qthreshold = l->qthreshold, in ulog_tg_compat_to_user()
363 memcpy(cl.prefix, l->prefix, sizeof(cl.prefix)); in ulog_tg_compat_to_user()
/net/netfilter/
Dnf_conntrack_h323_asn1.c182 unsigned int v, l; in get_bits() local
185 l = b + bs->bit; in get_bits()
187 if (l < 8) { in get_bits()
188 v >>= 8 - l; in get_bits()
189 bs->bit = l; in get_bits()
190 } else if (l == 8) { in get_bits()
197 v >>= 16 - l; in get_bits()
198 bs->bit = l - 8; in get_bits()
208 unsigned int v, l, shift, bytes; in get_bitmap() local
213 l = bs->bit + b; in get_bitmap()
[all …]
/net/bluetooth/
Dl2cap.c110 static struct sock *__l2cap_get_chan_by_dcid(struct l2cap_chan_list *l, u16 cid) in __l2cap_get_chan_by_dcid() argument
113 for (s = l->head; s; s = l2cap_pi(s)->next_c) { in __l2cap_get_chan_by_dcid()
120 static struct sock *__l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid) in __l2cap_get_chan_by_scid() argument
123 for (s = l->head; s; s = l2cap_pi(s)->next_c) { in __l2cap_get_chan_by_scid()
132 static inline struct sock *l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid) in l2cap_get_chan_by_scid() argument
135 read_lock(&l->lock); in l2cap_get_chan_by_scid()
136 s = __l2cap_get_chan_by_scid(l, cid); in l2cap_get_chan_by_scid()
138 read_unlock(&l->lock); in l2cap_get_chan_by_scid()
142 static struct sock *__l2cap_get_chan_by_ident(struct l2cap_chan_list *l, u8 ident) in __l2cap_get_chan_by_ident() argument
145 for (s = l->head; s; s = l2cap_pi(s)->next_c) { in __l2cap_get_chan_by_ident()
[all …]
Daf_bluetooth.c195 void bt_sock_link(struct bt_sock_list *l, struct sock *sk) in bt_sock_link() argument
197 write_lock_bh(&l->lock); in bt_sock_link()
198 sk_add_node(sk, &l->head); in bt_sock_link()
199 write_unlock_bh(&l->lock); in bt_sock_link()
203 void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk) in bt_sock_unlink() argument
205 write_lock_bh(&l->lock); in bt_sock_unlink()
207 write_unlock_bh(&l->lock); in bt_sock_unlink()
/net/ipx/
Dipx_proc.c39 loff_t l = *pos; in ipx_seq_interface_start() local
42 return l ? ipx_get_interface_idx(--l) : SEQ_START_TOKEN; in ipx_seq_interface_start()
124 loff_t l = *pos; in ipx_seq_route_start() local
126 return l ? ipx_get_route_idx(--l) : SEQ_START_TOKEN; in ipx_seq_route_start()
195 loff_t l = *pos; in ipx_seq_socket_start() local
198 return l ? ipx_get_socket_idx(--l) : SEQ_START_TOKEN; in ipx_seq_socket_start()
/net/netfilter/ipvs/
Dip_vs_conn.c66 rwlock_t l; member
75 read_lock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_lock()
80 read_unlock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_unlock()
85 write_lock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_lock()
90 write_unlock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_unlock()
95 read_lock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_lock_bh()
100 read_unlock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_unlock_bh()
105 write_lock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_lock_bh()
110 write_unlock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_unlock_bh()
778 struct list_head *e, *l = seq->private; in ip_vs_conn_seq_next() local
[all …]
/net/ethernet/
Deth.c394 size_t l; in sysfs_format_mac() local
396 l = _format_mac_addr(buf, PAGE_SIZE, addr, len); in sysfs_format_mac()
397 l += strlcpy(buf + l, "\n", PAGE_SIZE - l); in sysfs_format_mac()
398 return ((ssize_t) l); in sysfs_format_mac()
/net/core/
Dutils.c55 unsigned long l; in in_aton() local
59 l = 0; in in_aton()
62 l <<= 8; in in_aton()
72 l |= val; in in_aton()
77 return(htonl(l)); in in_aton()
/net/sunrpc/
Dxdr.c904 unsigned int l = min(avail_page, in xdr_xcode_array2() local
919 memcpy(c, elem + copied, l); in xdr_xcode_array2()
920 copied += l; in xdr_xcode_array2()
924 memcpy(elem + copied, c, l); in xdr_xcode_array2()
925 copied += l; in xdr_xcode_array2()
933 avail_page -= l; in xdr_xcode_array2()
934 c += l; in xdr_xcode_array2()
944 unsigned int l = min(avail_page, in xdr_xcode_array2() local
959 memcpy(c, elem + copied, l); in xdr_xcode_array2()
960 copied += l; in xdr_xcode_array2()
[all …]
/net/atm/
Dproc.c77 static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l) in __vcc_walk() argument
89 l--; in __vcc_walk()
93 l -= compare_family(sk, family); in __vcc_walk()
94 if (l < 0) in __vcc_walk()
104 return (l < 0); in __vcc_walk()
107 static inline void *vcc_walk(struct vcc_state *state, loff_t l) in vcc_walk() argument
109 return __vcc_walk(&state->sk, state->family, &state->bucket, l) ? in vcc_walk()
Dmpoa_proc.c98 loff_t l = *pos; in mpc_start() local
101 if (!l--) in mpc_start()
104 if (!l--) in mpc_start()
Dlec.c1003 loff_t *l) in lec_tbl_walk() argument
1012 --*l; in lec_tbl_walk()
1016 if (--*l < 0) in lec_tbl_walk()
1021 return (*l < 0) ? state : NULL; in lec_tbl_walk()
1024 static void *lec_arp_walk(struct lec_state *state, loff_t *l, in lec_arp_walk() argument
1031 v = lec_tbl_walk(state, &priv->lec_arp_tables[p], l); in lec_arp_walk()
1039 static void *lec_misc_walk(struct lec_state *state, loff_t *l, in lec_misc_walk() argument
1051 v = lec_tbl_walk(state, lec_misc_tables[q], l); in lec_misc_walk()
1059 static void *lec_priv_walk(struct lec_state *state, loff_t *l, in lec_priv_walk() argument
1066 if (!lec_arp_walk(state, l, priv) && !lec_misc_walk(state, l, priv)) { in lec_priv_walk()
[all …]
/net/llc/
Dllc_proc.c58 loff_t l = *pos; in llc_seq_start() local
61 return l ? llc_get_sk_idx(--l) : SEQ_START_TOKEN; in llc_seq_start()
/net/wanrouter/
Dwanproc.c85 loff_t l = *pos; in r_start() local
88 if (!l--) in r_start()
90 for (wandev = wanrouter_router_devlist; l-- && wandev; in r_start()
/net/sched/
Dcls_basic.c64 unsigned long l = 0UL; in basic_get() local
73 l = (unsigned long) f; in basic_get()
75 return l; in basic_get()

12