Home
last modified time | relevance | path

Searched refs:val_len (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/irda/irlan/
Dirlan_client.c68 char *value, int val_len);
357 __u16 val_len; in irlan_client_parse_response() local
401 ret = irlan_extract_param(ptr, name, value, &val_len); in irlan_client_parse_response()
407 irlan_check_response_param(self, name, value, val_len); in irlan_client_parse_response()
421 char *value, int val_len) in irlan_check_response_param() argument
503 memcpy(self->client.reconnect_key, value, val_len); in irlan_check_response_param()
504 self->client.key_len = val_len; in irlan_check_response_param()
Dirlan_common.c1038 __u16 val_len; in irlan_extract_param() local
1060 memcpy(&val_len, buf+n, 2); /* To avoid alignment problems */ in irlan_extract_param()
1061 le16_to_cpus(&val_len); n+=2; in irlan_extract_param()
1063 if (val_len > 1016) { in irlan_extract_param()
1067 *len = val_len; in irlan_extract_param()
1070 memcpy(value, buf+n, val_len); in irlan_extract_param()
1071 value[val_len] = '\0'; in irlan_extract_param()
1072 n+=val_len; in irlan_extract_param()
Dirlan_provider.c231 __u16 val_len; in irlan_provider_parse_command() local
267 ret = irlan_extract_param(ptr, name, value, &val_len); in irlan_provider_parse_command()
/linux-2.4.37.9/drivers/ieee1394/
Ddv1394.c1950 int val_len = len - (pos-new_value) - 1; in dv1394_procfs_write() local
1953 strncpy(buf, pos+1, val_len); in dv1394_procfs_write()
1954 if (buf[val_len-1] == '\n') buf[val_len-1] = 0; in dv1394_procfs_write()
1957 if (strnicmp( buf, "NTSC", val_len) == 0) in dv1394_procfs_write()
1959 else if (strnicmp( buf, "PAL", val_len) == 0) in dv1394_procfs_write()