Lines Matching refs:d_name
715 if (name_len >= sizeof(d1->d_name)) \
716 name_len = sizeof(d1->d_name) - 1; \
718 if (put_user(0, d2->d_name) || \
720 copy_to_user(d1->d_name, name, name_len) || \
721 put_user(0, d1->d_name + name_len) || \
731 if (long_len >= sizeof(d1->d_name)) \
732 long_len = sizeof(d1->d_name) - 1; \
733 if (short_len >= sizeof(d1->d_name)) \
734 short_len = sizeof(d1->d_name) - 1; \
736 if (copy_to_user(d2->d_name, longname, long_len) || \
737 put_user(0, d2->d_name + long_len) || \
741 copy_to_user(d1->d_name, shortname, short_len) || \
742 put_user(0, d1->d_name + short_len) || \