/net/sched/ |
D | em_meta.c | 78 unsigned long value; member 113 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR() 126 dst->value = fixed_loadavg(avenrun[0]); in META_COLLECTOR() 131 dst->value = fixed_loadavg(avenrun[1]); in META_COLLECTOR() 136 dst->value = fixed_loadavg(avenrun[2]); in META_COLLECTOR() 148 dst->value = dev->ifindex; in int_dev() 157 dst->value = (unsigned long) dev->name; in var_dev() 181 dst->value = skb_vlan_tag_get(skb); in META_COLLECTOR() 183 dst->value = tag; in META_COLLECTOR() 196 dst->value = skb->priority; in META_COLLECTOR() [all …]
|
D | sch_dsmark.c | 41 u8 value; member 138 p->mv[*arg - 1].value = nla_get_u8(tb[TCA_DSMARK_VALUE]); in dsmark_change() 157 p->mv[arg - 1].value = 0; in dsmark_delete() 174 if (p->mv[i].mask == 0xff && !p->mv[i].value) in dsmark_walk() 303 p->mv[index].value); in dsmark_dequeue() 307 p->mv[index].value); in dsmark_dequeue() 315 if (p->mv[index].mask != 0xff || p->mv[index].value) in dsmark_dequeue() 376 p->mv[i].value = 0; in dsmark_init() 435 nla_put_u8(skb, TCA_DSMARK_VALUE, p->mv[cl - 1].value)) in dsmark_dump_class()
|
/net/dccp/ |
D | options.c | 28 u64 value = 0; in dccp_decode_value_var() local 31 value += ((u64)*bf++) << 40; in dccp_decode_value_var() 33 value += ((u64)*bf++) << 32; in dccp_decode_value_var() 35 value += ((u64)*bf++) << 24; in dccp_decode_value_var() 37 value += ((u64)*bf++) << 16; in dccp_decode_value_var() 39 value += ((u64)*bf++) << 8; in dccp_decode_value_var() 41 value += *bf; in dccp_decode_value_var() 43 return value; in dccp_decode_value_var() 63 unsigned char *uninitialized_var(value); in dccp_parse_options() 75 value = NULL; in dccp_parse_options() [all …]
|
/net/core/ |
D | pktgen.c | 752 int value; in hex32_arg() local 757 value = hex_to_bin(c); in hex32_arg() 758 if (value >= 0) in hex32_arg() 759 *num |= value; in hex32_arg() 870 unsigned long value = 0; in pktgen_if_write() local 919 len = num_arg(&user_buffer[i], 10, &value); in pktgen_if_write() 924 if (value < 14 + 20 + 8) in pktgen_if_write() 925 value = 14 + 20 + 8; in pktgen_if_write() 926 if (value != pkt_dev->min_pkt_size) { in pktgen_if_write() 927 pkt_dev->min_pkt_size = value; in pktgen_if_write() [all …]
|
D | devlink.c | 1808 struct devlink_dpipe_value *value) in devlink_dpipe_value_put() argument 1811 value->value_size, value->value)) in devlink_dpipe_value_put() 1813 if (value->mask) in devlink_dpipe_value_put() 1815 value->value_size, value->mask)) in devlink_dpipe_value_put() 1817 if (value->mapping_valid) in devlink_dpipe_value_put() 1819 value->mapping_value)) in devlink_dpipe_value_put() 1825 struct devlink_dpipe_value *value) in devlink_dpipe_action_value_put() argument 1827 if (!value->action) in devlink_dpipe_action_value_put() 1829 if (devlink_dpipe_action_put(skb, value->action)) in devlink_dpipe_action_value_put() 1831 if (devlink_dpipe_value_put(skb, value)) in devlink_dpipe_action_value_put() [all …]
|
D | netclassid_cgroup.c | 123 u64 value) in write_classid() argument 131 cs->classid = (u32)value; in write_classid()
|
/net/wireless/ |
D | wext-compat.c | 261 else if (rts->value < 0) in cfg80211_wext_siwrts() 264 wdev->wiphy->rts_threshold = rts->value; in cfg80211_wext_siwrts() 280 rts->value = wdev->wiphy->rts_threshold; in cfg80211_wext_giwrts() 281 rts->disabled = rts->value == (u32) -1; in cfg80211_wext_giwrts() 299 else if (frag->value < 256) in cfg80211_wext_siwfrag() 303 wdev->wiphy->frag_threshold = frag->value & ~0x1; in cfg80211_wext_siwfrag() 320 frag->value = wdev->wiphy->frag_threshold; in cfg80211_wext_giwfrag() 321 frag->disabled = frag->value == (u32) -1; in cfg80211_wext_giwfrag() 339 if (retry->disabled || retry->value < 1 || retry->value > 255 || in cfg80211_wext_siwretry() 344 wdev->wiphy->retry_long = retry->value; in cfg80211_wext_siwretry() [all …]
|
D | debugfs.c | 16 #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...) \ argument 24 res = scnprintf(buf, buflen, fmt "\n", ##value); \
|
/net/tipc/ |
D | ib_media.c | 52 sprintf(str_buf, "%20phC", a->value); in tipc_ib_addr2str() 61 memcpy(msg, addr->value, INFINIBAND_ALEN); in tipc_ib_addr2msg() 71 memcpy(addr->value, msg, INFINIBAND_ALEN); in tipc_ib_raw2addr() 73 addr->broadcast = !memcmp(msg, b->bcast_addr.value, in tipc_ib_raw2addr()
|
D | eth_media.c | 47 sprintf(strbuf, "%pM", addr->value); in tipc_eth_addr2str() 56 memcpy(msg + TIPC_MEDIA_ADDR_OFFSET, addr->value, ETH_ALEN); in tipc_eth_addr2msg() 68 ether_addr_copy(addr->value, msg); in tipc_eth_raw2addr() 70 addr->broadcast = !memcmp(addr->value, bcast_mac, ETH_ALEN); in tipc_eth_raw2addr()
|
D | name_table.h | 125 u32 value; member 128 bool u32_push(struct list_head *l, u32 value); 130 bool u32_find(struct list_head *l, u32 value); 131 bool u32_del(struct list_head *l, u32 value);
|
D | name_table.c | 1060 bool u32_find(struct list_head *l, u32 value) in u32_find() argument 1065 if (item->value == value) in u32_find() 1071 bool u32_push(struct list_head *l, u32 value) in u32_push() argument 1076 if (item->value == value) in u32_push() 1083 item->value = value; in u32_push() 1091 u32 value = 0; in u32_pop() local 1096 value = item->value; in u32_pop() 1099 return value; in u32_pop() 1102 bool u32_del(struct list_head *l, u32 value) in u32_del() argument 1107 if (item->value != value) in u32_del()
|
D | udp_media.c | 113 memcpy(addr->value, ua, sizeof(struct udp_media_addr)); in tipc_udp_media_addr_set() 122 struct udp_media_addr *ua = (struct udp_media_addr *)&a->value; in tipc_udp_addr2str() 151 memcpy(msg + TIPC_MEDIA_ADDR_OFFSET, a->value, in tipc_udp_addr2msg() 211 struct udp_media_addr *src = (struct udp_media_addr *)&b->addr.value; in tipc_udp_send_msg() 212 struct udp_media_addr *dst = (struct udp_media_addr *)&addr->value; in tipc_udp_send_msg() 305 dst = (struct udp_media_addr *)&b->bcast_addr.value; in tipc_udp_rcast_disc() 517 struct udp_media_addr *src = (struct udp_media_addr *)&b->addr.value; in tipc_udp_nl_add_bearer_data() 533 dst = (struct udp_media_addr *)&b->bcast_addr.value; in tipc_udp_nl_add_bearer_data() 615 dst = (struct udp_media_addr *)&b->bcast_addr.value; in tipc_udp_nl_bearer_add() 731 memcpy(&b->bcast_addr.value, &remote, sizeof(remote)); in tipc_udp_enable()
|
D | socket.c | 2374 u32 value = 0; in tipc_setsockopt() local 2387 if (ol < sizeof(value)) in tipc_setsockopt() 2389 res = get_user(value, (u32 __user *)ov); in tipc_setsockopt() 2402 res = tsk_set_importance(tsk, value); in tipc_setsockopt() 2406 tsk_set_unreliable(tsk, value); in tipc_setsockopt() 2411 tsk_set_unreturnable(tsk, value); in tipc_setsockopt() 2414 tipc_sk(sk)->conn_timeout = value; in tipc_setsockopt() 2452 u32 value; in tipc_getsockopt() local 2467 value = tsk_importance(tsk); in tipc_getsockopt() 2470 value = tsk_unreliable(tsk); in tipc_getsockopt() [all …]
|
/net/dcb/ |
D | dcbnl.c | 232 u8 value; in dcbnl_getpfccfg() local 260 &value); in dcbnl_getpfccfg() 261 ret = nla_put_u8(skb, i, value); in dcbnl_getpfccfg() 290 u8 value; in dcbnl_getcap() local 317 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap() 318 ret = nla_put_u8(skb, i, value); in dcbnl_getcap() 334 u8 value; in dcbnl_getnumtcs() local 361 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs() 363 ret = nla_put_u8(skb, i, value); in dcbnl_getnumtcs() 381 u8 value; in dcbnl_setnumtcs() local [all …]
|
/net/802/ |
D | mrp.c | 218 static void mrp_attrvalue_inc(void *value, u8 len) in mrp_attrvalue_inc() argument 220 u8 *v = (u8 *)value; in mrp_attrvalue_inc() 230 const void *value, u8 len, u8 type) in mrp_attr_cmp() argument 236 return memcmp(attr->value, value, len); in mrp_attr_cmp() 240 const void *value, u8 len, u8 type) in mrp_attr_lookup() argument 248 d = mrp_attr_cmp(attr, value, len, type); in mrp_attr_lookup() 260 const void *value, u8 len, u8 type) in mrp_attr_create() argument 269 d = mrp_attr_cmp(attr, value, len, type); in mrp_attr_create() 285 memcpy(attr->value, value, len); in mrp_attr_create() 423 memcmp(mrp_cb(app->pdu)->attrvalue, attr->value, attr->len)) { in mrp_pdu_append_vecattr_event() [all …]
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 116 err = gssx_enc_buffer(xdr, &opt->value); in gssx_enc_option() 128 err = gssx_dec_buffer(xdr, &opt->value); in gssx_dec_option() 272 oa->data[0].value.data = (void *)creds; in gssx_dec_option_array() 273 oa->data[0].value.len = 0; in gssx_dec_option_array() 295 oa->data[0].value.len = 1; /* presence */ in gssx_dec_option_array() 376 opt.value.data = LUCID_VALUE; in gssx_enc_call_ctx() 377 opt.value.len = sizeof(LUCID_VALUE); in gssx_enc_call_ctx() 383 opt.value.data = CREDS_VALUE; in gssx_enc_call_ctx() 384 opt.value.len = sizeof(CREDS_VALUE); in gssx_enc_call_ctx() 401 err = gssx_dec_buffer(xdr, &attr->value); in gssx_dec_name_attr()
|
D | gss_rpc_upcall.c | 308 gssx_buffer *value = &res.options.data[0].value; in gssp_accept_sec_context_upcall() local 312 if (value->len == 1) { in gssp_accept_sec_context_upcall() 314 data->creds = *(struct svc_cred *)value->data; in gssp_accept_sec_context_upcall() 318 kfree(value->data); in gssp_accept_sec_context_upcall()
|
/net/netfilter/ipset/ |
D | ip_set_bitmap_gen.h | 120 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test() argument 124 const struct mtype_adt_elem *e = value; in mtype_test() 141 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() argument 145 const struct mtype_adt_elem *e = value; in mtype_add() 186 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() argument 190 const struct mtype_adt_elem *e = value; in mtype_del()
|
D | ip_set_hash_gen.h | 75 unsigned char value[0] /* the array of the values */ 356 ((struct mtype_elem *)((n)->value + ((i) * (dsize)))) 516 memcpy(tmp->value + d * dsize, data, dsize); in mtype_expire() 696 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() argument 701 const struct mtype_elem *d = value; in mtype_add() 718 key = HKEY(value, h->initval, t->htable_bits); in mtype_add() 838 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() argument 843 const struct mtype_elem *d = value; in mtype_del() 851 key = HKEY(value, h->initval, t->htable_bits); in mtype_del() 899 memcpy(tmp->value + k * dsize, data, dsize); in mtype_del() [all …]
|
/net/sunrpc/ |
D | sysctl.c | 81 unsigned int value; in proc_dodebug() local 106 value = simple_strtol(tmpbuf, &s, 0); in proc_dodebug() 115 *(unsigned int *) table->data = value; in proc_dodebug()
|
/net/netfilter/ |
D | xt_set.c | 170 return counter == info->value; in match_counter0() 172 return counter != info->value; in match_counter0() 174 return counter < info->value; in match_counter0() 176 return counter > info->value; in match_counter0() 217 return counter == info->value; in match_counter() 219 return counter != info->value; in match_counter() 221 return counter < info->value; in match_counter() 223 return counter > info->value; in match_counter()
|
D | xt_u32.c | 79 if (ct->value[i].min <= val && val <= ct->value[i].max) in u32_match_it()
|
/net/nfc/ |
D | llcp_commands.c | 91 u8 *nfc_llcp_build_tlv(u8 type, u8 *value, u8 value_length, u8 *tlv_length) in nfc_llcp_build_tlv() argument 113 memcpy(tlv + 2, value, length); in nfc_llcp_build_tlv() 121 u8 value[2]; in nfc_llcp_build_sdres_tlv() local 127 value[0] = tid; in nfc_llcp_build_sdres_tlv() 128 value[1] = sap; in nfc_llcp_build_sdres_tlv() 130 sdres->tlv = nfc_llcp_build_tlv(LLCP_TLV_SDRES, value, 2, in nfc_llcp_build_sdres_tlv()
|
/net/mac80211/ |
D | debugfs.c | 35 #define DEBUGFS_READONLY_FILE_FN(name, fmt, value...) \ argument 42 fmt "\n", ##value); \ 52 #define DEBUGFS_READONLY_FILE(name, fmt, value...) \ argument 53 DEBUGFS_READONLY_FILE_FN(name, fmt, value) \
|