Searched defs:value (Results 1 - 25 of 47) sorted by relevance

12

/net/batman-adv/
H A Dring_buffer.c24 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
H A Dsoft-interface.c47 static void batadv_set_msglevel(struct net_device *dev, u32 value);
725 static void batadv_set_msglevel(struct net_device *dev, u32 value) argument
/net/irda/irlan/
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);
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...]
/net/irda/
H A Dwrapper.c70 /* 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;
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.c51 * 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...]
/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/atm/
H A Dlec_arpc.h60 u8 value[255]; member in struct:tlv
H A Dsvc.c460 int value, error = 0; local
480 if (get_user(value, (int __user *)optval)) {
484 if (value == 1)
486 else if (value == 0)
/net/dccp/
H A Ddccp.h77 /* RFC 1122, 4.2.3.1 initial RTO value */
81 * The maximum back-off value for retransmissions. This is needed for
90 * RTT sampling: sanity bounds and fallback RTT value from RFC 4340, section 3.4
114 static inline void dccp_set_seqno(u64 *seqno, u64 value) argument
116 *seqno = value & UINT48_MAX;
354 * @dccpd_ack_seq: acknowledgment number subheader field value
440 * the feature-remote value of Sequence Window: nothing stops the peer
441 * from updating this value while we are busy adjusting SWL for the
459 /* Ack validity window depends on local Sequence Window value (7.5.1) */
492 const void *value, unsigne
[all...]
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/irda/ircomm/
H A Dircomm_tty_attach.c54 struct ias_value *value, void *priv);
129 * If success, the return value is the resulting service type.
430 * Function ircomm_tty_getvalue_confirm (result, obj_id, value, priv)
436 struct ias_value *value,
452 IRDA_DEBUG(4, "%s(), got NULL value!\n", __func__ );
456 switch (value->type) {
460 irda_param_extract_all(self, value->t.oct_seq, value->len,
469 value->t.integer);
471 if (value
435 ircomm_tty_getvalue_confirm(int result, __u16 obj_id, struct ias_value *value, void *priv) argument
[all...]
/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h109 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;
H A Dip_set_list_set.c64 u32 timeout; /* timeout value */
261 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
265 struct set_adt_elem *d = value;
293 list_set_uadd(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
297 struct set_adt_elem *d = value;
349 list_set_udel(struct ip_set *set, void *value, const struct ip_set_ext *ext, argument
353 struct set_adt_elem *d = value;
/net/rds/
H A Daf_rds.c245 int value; local
249 if (get_user(value, (int __user *) optval))
251 *optvar = !!value;
/net/sched/
H A Dcls_cgroup.c88 static int write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value) argument
90 cgrp_cls_state(cgrp)->classid = (u32) value;
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;
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/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c281 gssx_buffer *value = &res.options.data[0].value; local
285 if (value->len == 1) {
287 data->creds = *(struct svc_cred *)value->data;
291 kfree(value->data);
/net/tipc/
H A Dbearer.h63 * @value: address info (format defined by media)
68 u8 value[TIPC_MEDIA_ADDR_SIZE]; member in struct:tipc_media_addr
H A Dconfig.c79 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...]
/net/802/
H A Dmrp.c213 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...]
/net/bluetooth/cmtp/
H A Dcapi.c100 static struct cmtp_application *cmtp_application_get(struct cmtp_session *session, int pattern, __u16 value) argument
109 if (app->msgnum == value)
113 if (app->appl == value)
117 if (app->mapping == value)
/net/irda/irnet/
H A Dirnet_irda.c160 * Function irnet_ias_to_tsap (self, result, value)
168 * Also deallocate value
175 struct ias_value * value)
206 if(value != NULL)
209 switch(value->type)
212 DEBUG(IRDA_SR_INFO, "result=%d\n", value->t.integer);
213 if(value->t.integer != -1)
215 dtsap_sel = value->t.integer;
221 DERROR(IRDA_SR_ERROR, "bad type ! (0x%X)\n", value->type);
226 irias_delete_value(value);
173 irnet_ias_to_tsap(irnet_socket * self, int result, struct ias_value * value) argument
1482 irnet_getvalue_confirm(int result, __u16 obj_id, struct ias_value *value, void * priv) argument
1545 irnet_discovervalue_confirm(int result, __u16 obj_id, struct ias_value *value, void * priv) argument
[all...]

Completed in 264 milliseconds

12