/net/core/ |
H A D | netevent.c | 59 * @val: value passed unmodified to notifier function 66 int call_netevent_notifiers(unsigned long val, void *v) argument 68 return atomic_notifier_call_chain(&netevent_notif_chain, val, v);
|
/net/dcb/ |
H A D | dcbevent.c | 38 int call_dcbevent_notifiers(unsigned long val, void *v) argument 40 return atomic_notifier_call_chain(&dcbevent_notif_chain, val, v);
|
/net/9p/ |
H A D | error.c | 41 * @val: numeric id most closely representing @name 47 int val; member in struct:errormap 232 errno = c->val;
|
H A D | protocol.c | 109 int8_t *val = va_arg(ap, int8_t *); local 110 if (pdu_read(pdu, val, sizeof(*val))) { 117 int16_t *val = va_arg(ap, int16_t *); local 123 *val = le16_to_cpu(le_val); 127 int32_t *val = va_arg(ap, int32_t *); local 133 *val = le32_to_cpu(le_val); 137 int64_t *val = va_arg(ap, int64_t *); local 143 *val = le64_to_cpu(le_val); 367 int8_t val local 373 __le16 val = cpu_to_le16(va_arg(ap, int)); local 379 __le32 val = cpu_to_le32(va_arg(ap, int32_t)); local 385 __le64 val = cpu_to_le64(va_arg(ap, int64_t)); local 405 __le32 val = cpu_to_le32( local 412 __le32 val = cpu_to_le32( local [all...] |
/net/mac80211/ |
H A D | michael.c | 16 static void michael_block(struct michael_mic_ctx *mctx, u32 val) argument 18 mctx->l ^= val; 59 u32 val; local 74 val = 0x5a; 76 val <<= 8; 78 val |= data[blocks * 4 + left]; 81 michael_block(&mctx, val);
|
/net/sched/ |
H A D | em_cmp.c | 30 u32 val = 0; local 37 val = *ptr; 41 val = get_unaligned_be16(ptr); 44 val = be16_to_cpu(val); 51 val = get_unaligned_be32(ptr); 54 val = be32_to_cpu(val); 62 val &= cmp->mask; 66 return val [all...] |
/net/netfilter/ |
H A D | nf_nat_irc.c | 110 static int warn_set(const char *val, struct kernel_param *kp) argument
|
H A D | xt_u32.c | 26 u_int32_t val; local 43 val = ntohl(n); 51 val &= number; 54 val <<= number; 57 val >>= number; 60 if (at + val < at) 62 at += val; 71 val = ntohl(n); 79 if (ct->value[i].min <= val && val < [all...] |
H A D | nf_nat_ftp.c | 137 static int warn_set(const char *val, struct kernel_param *kp) argument
|
H A D | nf_sockopt.c | 62 int val, int get) 73 if (val >= ops->get_optmin && 74 val < ops->get_optmax) 77 if (val >= ops->set_optmin && 78 val < ops->set_optmax) 92 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, argument 98 ops = nf_sockopt_find(sk, pf, val, get); 103 ret = ops->get(sk, val, opt, len); 105 ret = ops->set(sk, val, opt, *len); 111 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, cha argument 61 nf_sockopt_find(struct sock *sk, u_int8_t pf, int val, int get) argument 118 nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, int *len) argument 126 compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, int *len, int get) argument 152 compat_nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, unsigned int len) argument 159 compat_nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, int *len) argument [all...] |
/net/ipv4/ |
H A D | tcp_memcontrol.c | 53 static int tcp_update_limit(struct mem_cgroup *memcg, u64 val) argument 63 if (val > RES_COUNTER_MAX) 64 val = RES_COUNTER_MAX; 66 ret = res_counter_set_limit(&cg_proto->memory_allocated, val); 71 cg_proto->sysctl_mem[i] = min_t(long, val >> PAGE_SHIFT, 74 if (val == RES_COUNTER_MAX) 76 else if (val != RES_COUNTER_MAX) { 109 unsigned long long val; local 117 ret = res_counter_memparse_write_strategy(buf, &val); 120 ret = tcp_update_limit(memcg, val); 154 u64 val; local [all...] |
H A D | proc.c | 316 unsigned long vals[PERLINE], val; local 321 val = atomic_long_read(&net->mib.icmpmsg_statistics->mibs[i]); 322 if (val) { 324 vals[count++] = val;
|
H A D | tcp_cong.c | 202 int tcp_set_allowed_congestion_control(char *val) argument 208 saved_clone = clone = kstrdup(val, GFP_USER); 227 while ((name = strsep(&val, " ")) && *name) {
|
/net/ipv6/ |
H A D | addrconf_core.c | 104 int inet6addr_notifier_call_chain(unsigned long val, void *v) argument 106 return atomic_notifier_call_chain(&inet6addr_chain, val, v);
|
/net/rds/ |
H A D | ib_ring.c | 97 u32 rds_ib_ring_alloc(struct rds_ib_work_ring *ring, u32 val, u32 *pos) argument 103 rdsdebug("ring %p val %u next %u free %u\n", ring, val, 106 if (val && avail) { 107 ret = min(val, avail); 117 void rds_ib_ring_free(struct rds_ib_work_ring *ring, u32 val) argument 119 ring->w_free_ptr = (ring->w_free_ptr + val) % ring->w_nr; 120 atomic_add(val, &ring->w_free_ctr); 127 void rds_ib_ring_unalloc(struct rds_ib_work_ring *ring, u32 val) argument 129 ring->w_alloc_ptr = (ring->w_alloc_ptr - val) [all...] |
H A D | iw_ring.c | 97 u32 rds_iw_ring_alloc(struct rds_iw_work_ring *ring, u32 val, u32 *pos) argument 103 rdsdebug("ring %p val %u next %u free %u\n", ring, val, 106 if (val && avail) { 107 ret = min(val, avail); 117 void rds_iw_ring_free(struct rds_iw_work_ring *ring, u32 val) argument 119 ring->w_free_ptr = (ring->w_free_ptr + val) % ring->w_nr; 120 atomic_add(val, &ring->w_free_ctr); 127 void rds_iw_ring_unalloc(struct rds_iw_work_ring *ring, u32 val) argument 129 ring->w_alloc_ptr = (ring->w_alloc_ptr - val) [all...] |
H A D | tcp_send.c | 40 static void rds_tcp_cork(struct socket *sock, int val) argument 46 sock->ops->setsockopt(sock, SOL_TCP, TCP_CORK, (char __user *)&val, 47 sizeof(val));
|
H A D | tcp.c | 59 int val = 1; local 62 sock->ops->setsockopt(sock, SOL_TCP, TCP_NODELAY, (char __user *)&val, 63 sizeof(val));
|
/net/bridge/ |
H A D | br_stp_if.c | 173 void br_stp_set_enabled(struct net_bridge *br, unsigned long val) argument 177 if (val) {
|
H A D | br_stp.c | 521 int br_set_hello_time(struct net_bridge *br, unsigned long val) argument 523 unsigned long t = clock_t_to_jiffies(val); 536 int br_set_max_age(struct net_bridge *br, unsigned long val) argument 538 unsigned long t = clock_t_to_jiffies(val); 559 int br_set_forward_delay(struct net_bridge *br, unsigned long val) argument 561 unsigned long t = clock_t_to_jiffies(val);
|
H A D | br_sysfs_if.c | 239 unsigned long val; local 244 val = simple_strtoul(buf, &endp, 0); 250 ret = brport_attr->store(p, val);
|
H A D | br_vlan.c | 416 int br_vlan_filter_toggle(struct net_bridge *br, unsigned long val) argument 421 if (br->vlan_enabled == val) 424 br->vlan_enabled = val; 434 int br_vlan_set_proto(struct net_bridge *br, unsigned long val) argument 442 if (val != ETH_P_8021Q && val != ETH_P_8021AD) 448 proto = htons(val); 600 int br_vlan_set_default_pvid(struct net_bridge *br, unsigned long val) argument 602 u16 pvid = val; 605 if (val > [all...] |
/net/dccp/ |
H A D | feat.h | 60 * @val: feature's current value (SP features may have preference list) 70 dccp_feat_val val; member in struct:dccp_feat_entry 94 * @val: corresponding default value for @dependent_feat (u8 is sufficient here) 100 u8 val; member in struct:ccid_dependency 115 u8 mand, u8 opt, u8 feat, u8 *val, u8 len); 135 int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, u8 *val, u8 len,
|
/net/irda/ |
H A D | irsysctl.c | 83 struct ias_value *val; local 85 val = irias_new_string_value(sysctl_devname); 86 if (val) 87 irias_object_change_attribute("Device", "DeviceName", val);
|
/net/6lowpan/ |
H A D | iphc.c | 264 u8 tmp = 0, val = 0; local 280 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); 281 uh->dest = htons(val + LOWPAN_NHC_UDP_8BIT_PORT); 284 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); 285 uh->source = htons(val + LOWPAN_NHC_UDP_8BIT_PORT); 290 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); 292 (val >> 514 u8 val = 0; local [all...] |