/net/batman-adv/ |
H A D | ring_buffer.h | 24 uint8_t value);
|
H A D | ring_buffer.c | 24 uint8_t value) 26 lq_recv[*lq_index] = value; 23 batadv_ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index, uint8_t value) argument
|
/net/irda/ |
H A D | irias_object.c | 36 * Used when a missing value needs to be returned 100 irias_delete_value(attrib->value); 251 attrib->value->owner = owner; 259 * Change the value of an objects attribute. 289 if ( attrib->value->type != new_value->type) { 290 IRDA_DEBUG( 0, "%s(), changing value type not allowed!\n", 296 /* Delete old value */ 297 irias_delete_value(attrib->value); 299 /* Insert new value */ 300 attrib->value 314 irias_add_integer_attrib(struct ias_object *obj, char *name, int value, int owner) argument 398 irias_add_string_attrib(struct ias_object *obj, char *name, char *value, int owner) argument 442 struct ias_value *value; local 467 struct ias_value *value; local 498 struct ias_value *value; local 523 struct ias_value *value; local 542 irias_delete_value(struct ias_value *value) argument [all...] |
H A D | qos.c | 51 * Maximum value of the lap disconnect timer we negotiate with the other end. 52 * Most often, the value below represent the best compromise, but some user 60 * mtt value which was announced by the other end during negotiation. 62 * Default is 10us which means using the unmodified value given by the 78 * to play with this value anyway. 163 * Function value_index (value, array, size) 165 * Returns the index to the value in the specified array 167 static inline int value_index(__u32 value, __u32 *array, int size) argument 172 if (array[i] == value) 180 * Returns value t 225 value_lower_bits(__u32 value, __u32 *array, int size, __u16 *field) argument 251 value_highest_bit(__u32 value, __u32 *array, int size, __u16 *field) argument [all...] |
H A D | irlap.c | 822 speed = qos->baud_rate.value; 823 min_turn_time = qos->min_turn_time.value; 952 /* xbofs : Default value in NDM */ 978 self->qos_tx.baud_rate.value = 9600; 979 self->qos_rx.baud_rate.value = 9600; 980 self->qos_tx.max_turn_time.value = 0; 981 self->qos_rx.max_turn_time.value = 0; 982 self->qos_tx.min_turn_time.value = 0; 983 self->qos_rx.min_turn_time.value = 0; 984 self->qos_tx.data_size.value [all...] |
H A D | iriap.c | 201 * we connect, so this must have a sane value... Jean II */ 330 * it a NULL value. Warning, the client might close us, so 442 struct ias_value *value; local 477 value = irias_new_integer_value(tmp_cpu32); 480 IRDA_DEBUG(4, "%s(), lsap=%d\n", __func__, value->t.integer); 519 value = irias_new_string_value(fp+n); 526 value = irias_new_octseq_value(fp+n, value_len); 529 value = irias_new_missing_value(); 540 self->confirm(IAS_SUCCESS, obj_id, value, self->priv); 543 irias_delete_value(value); 553 iriap_getvaluebyclass_response(struct iriap_cb *self, __u16 obj_id, __u8 ret_code, struct ias_value *value) argument [all...] |
H A D | wrapper.c | 70 /* Non-special value, no transparency required */ 90 __u16 value; member in union:__anon61 95 fcs.value = INIT_FCS; 143 fcs.value = irda_fcs(fcs.value, skb->data[i]); 147 fcs.value = ~fcs.value;
|
/net/tipc/ |
H A D | ib_media.c | 70 * Media-dependent "value" field stores MAC address in first 6 bytes 76 BUILD_BUG_ON(sizeof(a->value) < INFINIBAND_ALEN); 77 memcpy(a->value, mac, INFINIBAND_ALEN); 79 a->broadcast = !memcmp(mac, tb_ptr->bcast_addr.value, INFINIBAND_ALEN); 108 dev_hard_header(clone, dev, ETH_P_TIPC, dest->value, 199 memset(tb_ptr->bcast_addr.value, 0, sizeof(tb_ptr->bcast_addr.value)); 200 memcpy(tb_ptr->bcast_addr.value, dev->broadcast, INFINIBAND_ALEN); 306 a->value[0], a->value[ [all...] |
H A D | config.c | 79 static struct sk_buff *tipc_cfg_reply_unsigned_type(u16 tlv_type, u32 value) argument 84 buf = tipc_cfg_reply_alloc(TLV_SPACE(sizeof(value))); 86 value_net = htonl(value); 93 static struct sk_buff *tipc_cfg_reply_unsigned(u32 value) argument 95 return tipc_cfg_reply_unsigned_type(TIPC_TLV_UNSIGNED, value); 116 u32 value; local 121 value = ntohl(*(u32 *)TLV_DATA(req_tlv_area)); 122 if (value != 0) 201 u32 value; local 206 value 213 u32 value; local 229 u32 value; local [all...] |
H A D | eth_media.c | 77 * Media-dependent "value" field stores MAC address in first 6 bytes 83 memcpy(a->value, mac, ETH_ALEN); 84 memset(a->value + ETH_ALEN, 0, sizeof(a->value) - ETH_ALEN); 86 a->broadcast = !memcmp(mac, tb_ptr->bcast_addr.value, ETH_ALEN); 115 dev_hard_header(clone, dev, ETH_P_TIPC, dest->value, 206 memset(tb_ptr->bcast_addr.value, 0, sizeof(tb_ptr->bcast_addr.value)); 207 memcpy(tb_ptr->bcast_addr.value, dev->broadcast, ETH_ALEN); 306 sprintf(str_buf, "%pM", a->value); [all...] |
/net/irda/irlan/ |
H A D | irlan_client.c | 68 char *value, int val_len); 373 char *value; local 399 value = kmalloc(1016, GFP_ATOMIC); 400 if (!value) { 414 ret = irlan_extract_param(ptr, name, value, &val_len); 420 irlan_check_response_param(self, name, value, val_len); 424 kfree(value); 428 * Function irlan_check_response_param (self, param, value, val_len) 434 char *value, int val_len) 436 __u16 tmp_cpu; /* Temporary value i 433 irlan_check_response_param(struct irlan_cb *self, char *param, char *value, int val_len) argument 535 irlan_client_get_value_confirm(int result, __u16 obj_id, struct ias_value *value, void *priv) argument [all...] |
H A D | irlan_filter.c | 52 /* Use arbitration value to generate MAC address */ 139 * Function check_request_param (self, param, value) 144 void irlan_check_command_param(struct irlan_cb *self, char *param, char *value) argument 151 IRDA_DEBUG(4, "%s, %s\n", param, value); 166 if (strcmp(value, "DIRECTED") == 0) { 170 if (strcmp(value, "MULTICAST") == 0) { 174 if (strcmp(value, "BROADCAST") == 0) { 183 if (strcmp(value, "ALL") == 0) { 187 if (strcmp(value, "FILTER") == 0) { 191 if (strcmp(value, "NON [all...] |
H A D | irlan_provider.c | 231 char *value; local 249 value = kmalloc(1016, GFP_ATOMIC); 250 if (!value) { 264 ret = irlan_extract_param(ptr, name, value, &val_len); 271 irlan_check_command_param(self, name, value); 275 kfree(value);
|
/net/sched/ |
H A D | em_meta.c | 14 * represents either a meta value stored in the kernel or a static 15 * value provided by userspace. The objects are not provided by 25 * the value of the requested meta value. 77 unsigned long value; member in struct:meta_obj 112 get_random_bytes(&dst->value, sizeof(dst->value)); 125 dst->value = fixed_loadavg(avenrun[0]); 130 dst->value = fixed_loadavg(avenrun[1]); 135 dst->value [all...] |
H A D | sch_dsmark.c | 42 u8 *value; member in struct:dsmark_qdisc_data 140 p->value[*arg - 1] = nla_get_u8(tb[TCA_DSMARK_VALUE]); 159 p->value[arg - 1] = 0; 175 if (p->mask[i] == 0xff && !p->value[i]) 293 p->value[index]); 297 p->value[index]); 305 if (p->mask[index] != 0xff || p->value[index]) 376 p->value = p->mask + indices; 377 memset(p->value, 0, indices); 432 nla_put_u8(skb, TCA_DSMARK_VALUE, p->value[c [all...] |
/net/dccp/ |
H A D | options.c | 28 u64 value = 0; local 31 value += ((u64)*bf++) << 40; 33 value += ((u64)*bf++) << 32; 35 value += ((u64)*bf++) << 24; 37 value += ((u64)*bf++) << 16; 39 value += ((u64)*bf++) << 8; 41 value += *bf; 43 return value; 63 unsigned char *uninitialized_var(value); 75 value 269 dccp_encode_value_var(const u64 value, u8 *to, const u8 len) argument 292 dccp_insert_option(struct sk_buff *skb, const unsigned char option, const void *value, const unsigned char len) argument [all...] |
/net/sunrpc/ |
H A D | sysctl.c | 81 unsigned int value; local 106 for (s = tmpbuf, value = 0; '0' <= *s && *s <= '9'; s++, left--) 107 value = 10 * value + (*s - '0'); 112 *(unsigned int *) table->data = value;
|
/net/atm/ |
H A D | lec_arpc.h | 60 u8 value[255]; member in struct:tlv
|
/net/core/ |
H A D | pktgen.c | 114 * Fixed src_mac command to set source mac of packet to value specified in 724 int value; local 729 value = hex_to_bin(c); 730 if (value >= 0) 731 *num |= value; 843 unsigned long value = 0; local 892 len = num_arg(&user_buffer[i], 10, &value); 897 if (value < 14 + 20 + 8) 898 value = 14 + 20 + 8; 899 if (value ! [all...] |
/net/dcb/ |
H A D | dcbnl.c | 238 u8 value; local 267 &value); 268 ret = nla_put_u8(skb, i, value); 297 u8 value; local 324 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { 325 ret = nla_put_u8(skb, i, value); 341 u8 value; local 368 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); 370 ret = nla_put_u8(skb, i, value); 388 u8 value; local 429 u8 value; local 705 u8 value; local 725 u8 value; local 1195 u8 value; local 1515 u8 value; local 1533 u8 value; local 1579 u8 value; local [all...] |
/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 109 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument 113 const struct mtype_adt_elem *e = value; 128 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument 132 const struct mtype_adt_elem *e = value; 157 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument 161 const struct mtype_adt_elem *e = value;
|
/net/netfilter/ |
H A D | xt_u32.c | 79 if (ct->value[i].min <= val && val <= ct->value[i].max)
|
/net/wireless/ |
H A D | debugfs.c | 16 #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...) \ 24 res = scnprintf(buf, buflen, fmt "\n", ##value); \
|
H A D | wext-compat.c | 300 else if (rts->value < 0) 303 wdev->wiphy->rts_threshold = rts->value; 319 rts->value = wdev->wiphy->rts_threshold; 320 rts->disabled = rts->value == (u32) -1; 338 else if (frag->value < 256) 342 wdev->wiphy->frag_threshold = frag->value & ~0x1; 359 frag->value = wdev->wiphy->frag_threshold; 360 frag->disabled = frag->value == (u32) -1; 383 wdev->wiphy->retry_long = retry->value; 386 wdev->wiphy->retry_short = retry->value; [all...] |
/net/802/ |
H A D | mrp.c | 213 static void mrp_attrvalue_inc(void *value, u8 len) argument 215 u8 *v = (u8 *)value; 225 const void *value, u8 len, u8 type) 231 return memcmp(attr->value, value, len); 235 const void *value, u8 len, u8 type) 243 d = mrp_attr_cmp(attr, value, len, type); 255 const void *value, u8 len, u8 type) 264 d = mrp_attr_cmp(attr, value, len, type); 280 memcpy(attr->value, valu 224 mrp_attr_cmp(const struct mrp_attr *attr, const void *value, u8 len, u8 type) argument 234 mrp_attr_lookup(const struct mrp_applicant *app, const void *value, u8 len, u8 type) argument 254 mrp_attr_create(struct mrp_applicant *app, const void *value, u8 len, u8 type) argument 515 mrp_request_join(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument 540 mrp_request_leave(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument [all...] |