Lines Matching defs:r_len
1519 unsigned int r_len;
1523 if(get_user(r_len , optlen))
1528 if (r_len > sizeof(struct optdata_dn))
1529 r_len = sizeof(struct optdata_dn);
1534 if (r_len > sizeof(struct optdata_dn))
1535 r_len = sizeof(struct optdata_dn);
1540 if (r_len > sizeof(struct accessdata_dn))
1541 r_len = sizeof(struct accessdata_dn);
1546 if (r_len > sizeof(unsigned char))
1547 r_len = sizeof(unsigned char);
1552 if (r_len > sizeof(struct linkinfo_dn))
1553 r_len = sizeof(struct linkinfo_dn);
1597 if (r_len > sizeof(unsigned long))
1598 r_len = sizeof(unsigned long);
1603 if (r_len > sizeof(int))
1604 r_len = sizeof(int);
1610 if (r_len > sizeof(int))
1611 r_len = sizeof(int);
1617 if (r_len > sizeof(unsigned char))
1618 r_len = sizeof(unsigned char);
1623 if (r_len > sizeof(unsigned char))
1624 r_len = sizeof(unsigned char);
1630 if (copy_to_user(optval, r_data, r_len))
1632 if (put_user(r_len, optlen))