Searched refs:value (Results 1 - 25 of 73) sorted by relevance

123

/net/irda/
H A Dirias_object.c36 * 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 Dqos.c49 * Maximum value of the lap disconnect timer we negotiate with the other end.
50 * Most often, the value below represent the best compromise, but some user
58 * mtt value which was announced by the other end during negotiation.
60 * Default is 10us which means using the unmodified value given by the
76 * to play with this value anyway.
161 * Function value_index (value, array, size)
163 * Returns the index to the value in the specified array
165 static inline int value_index(__u32 value, __u32 *array, int size) argument
170 if (array[i] == value)
178 * Returns value t
223 value_lower_bits(__u32 value, __u32 *array, int size, __u16 *field) argument
249 value_highest_bit(__u32 value, __u32 *array, int size, __u16 *field) argument
[all...]
H A Dirlap.c820 speed = qos->baud_rate.value;
821 min_turn_time = qos->min_turn_time.value;
950 /* xbofs : Default value in NDM */
976 self->qos_tx.baud_rate.value = 9600;
977 self->qos_rx.baud_rate.value = 9600;
978 self->qos_tx.max_turn_time.value = 0;
979 self->qos_rx.max_turn_time.value = 0;
980 self->qos_tx.min_turn_time.value = 0;
981 self->qos_rx.min_turn_time.value = 0;
982 self->qos_tx.data_size.value
[all...]
H A Diriap.c201 * 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 Dwrapper.c70 /* Non-special value, no transparency required */
90 __u16 value; member in union:__anon63
95 fcs.value = INIT_FCS;
143 fcs.value = irda_fcs(fcs.value, skb->data[i]);
147 fcs.value = ~fcs.value;
/net/dccp/
H A Doptions.c28 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/tipc/
H A Dconfig.c75 static struct sk_buff *tipc_cfg_reply_unsigned_type(u16 tlv_type, u32 value) argument
80 buf = tipc_cfg_reply_alloc(TLV_SPACE(sizeof(value)));
82 value_net = htonl(value);
89 static struct sk_buff *tipc_cfg_reply_unsigned(u32 value) argument
91 return tipc_cfg_reply_unsigned_type(TIPC_TLV_UNSIGNED, value);
112 u32 value; local
117 value = ntohl(*(u32 *)TLV_DATA(req_tlv_area));
118 if (value != 0)
188 u32 value; local
192 value
204 u32 value; local
[all...]
H A Deth_media.c49 sprintf(strbuf, "%pM", addr->value);
58 memcpy(msg + ETH_ADDR_OFFSET, addr->value, ETH_ALEN);
70 ether_addr_copy(addr->value, msg);
72 addr->broadcast = !memcmp(addr->value, bcast_mac, ETH_ALEN);
H A Dib_media.c52 sprintf(str_buf, "%20phC", a->value);
61 memcpy(msg, addr->value, INFINIBAND_ALEN);
71 memcpy(addr->value, msg, INFINIBAND_ALEN);
73 addr->broadcast = !memcmp(msg, b->bcast_addr.value,
/net/irda/irlan/
H A Dirlan_client.c68 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 Dirlan_filter.c52 /* 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 Dirlan_provider.c231 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 Dem_meta.c14 * 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 Dsch_dsmark.c42 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;
176 if (p->mask[i] == 0xff && !p->value[i])
295 p->value[index]);
299 p->value[index]);
307 if (p->mask[index] != 0xff || p->value[index])
378 p->value = p->mask + indices;
379 memset(p->value, 0, indices);
434 nla_put_u8(skb, TCA_DSMARK_VALUE, p->value[c
[all...]
/net/sunrpc/
H A Dsysctl.c81 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/core/
H A Dpktgen.c115 * Fixed src_mac command to set source mac of packet to value specified in
742 int value; local
747 value = hex_to_bin(c);
748 if (value >= 0)
749 *num |= value;
860 unsigned long value = 0; local
909 len = num_arg(&user_buffer[i], 10, &value);
914 if (value < 14 + 20 + 8)
915 value = 14 + 20 + 8;
916 if (value !
[all...]
H A Dnetclassid_cgroup.c89 u64 value)
91 css_cls_state(css)->classid = (u32) value;
88 write_classid(struct cgroup_subsys_state *css, struct cftype *cft, u64 value) argument
/net/atm/
H A Dlec_arpc.h60 u8 value[255]; member in struct:tlv
/net/dcb/
H A Ddcbnl.c237 u8 value; local
266 &value);
267 ret = nla_put_u8(skb, i, value);
296 u8 value; local
323 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) {
324 ret = nla_put_u8(skb, i, value);
340 u8 value; local
367 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value);
369 ret = nla_put_u8(skb, i, value);
387 u8 value; local
428 u8 value; local
710 u8 value; local
730 u8 value; local
1200 u8 value; local
1520 u8 value; local
1538 u8 value; local
1584 u8 value; local
[all...]
/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h116 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
120 const struct mtype_adt_elem *e = value;
137 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
141 const struct mtype_adt_elem *e = value;
172 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
176 const struct mtype_adt_elem *e = value;
H A Dip_set_hash_gen.h67 void *value; /* the array of the values */ member in struct:hbucket
114 /* Round up to the first 2^n value */
135 memcpy(tmp, n->value, n->size * dsize);
136 kfree(n->value);
138 n->value = tmp;
265 u32 initval; /* random jhash init value */
267 u32 markmask; /* markmask value for mark mask to store */
275 u8 netmask; /* netmask value for subnets to store */
359 ((struct mtype_elem *)((n)->value + ((i) * (dsize))))
387 kfree(n->value);
623 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument
735 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument
869 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument
[all...]
/net/netfilter/
H A Dxt_u32.c79 if (ct->value[i].min <= val && val <= ct->value[i].max)
/net/wireless/
H A Ddebugfs.c16 #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...) \
24 res = scnprintf(buf, buflen, fmt "\n", ##value); \
H A Dwext-compat.c295 else if (rts->value < 0)
298 wdev->wiphy->rts_threshold = rts->value;
314 rts->value = wdev->wiphy->rts_threshold;
315 rts->disabled = rts->value == (u32) -1;
333 else if (frag->value < 256)
337 wdev->wiphy->frag_threshold = frag->value & ~0x1;
354 frag->value = wdev->wiphy->frag_threshold;
355 frag->disabled = frag->value == (u32) -1;
373 if (retry->disabled || retry->value < 1 || retry->value > 25
[all...]
/net/802/
H A Dmrp.c218 static void mrp_attrvalue_inc(void *value, u8 len) argument
220 u8 *v = (u8 *)value;
230 const void *value, u8 len, u8 type)
236 return memcmp(attr->value, value, len);
240 const void *value, u8 len, u8 type)
248 d = mrp_attr_cmp(attr, value, len, type);
260 const void *value, u8 len, u8 type)
269 d = mrp_attr_cmp(attr, value, len, type);
285 memcpy(attr->value, valu
229 mrp_attr_cmp(const struct mrp_attr *attr, const void *value, u8 len, u8 type) argument
239 mrp_attr_lookup(const struct mrp_applicant *app, const void *value, u8 len, u8 type) argument
259 mrp_attr_create(struct mrp_applicant *app, const void *value, u8 len, u8 type) argument
520 mrp_request_join(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument
545 mrp_request_leave(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument
[all...]

Completed in 227 milliseconds

123