Lines Matching defs:name_len
611 req->name_len < 0)
635 if (!req->name[0] || !req->name_len)
638 if (req->name_len > UBI_VOL_NAME_MAX) {
643 n = strnlen(req->name, req->name_len + 1);
644 if (n != req->name_len)
702 if (req->ents[i].name_len < 0)
704 if (req->ents[i].name_len > UBI_VOL_NAME_MAX)
706 req->ents[i].name[req->ents[i].name_len] = '\0';
708 if (n != req->ents[i].name_len)
732 int name_len = req->ents[i].name_len;
750 if (re->desc->vol->name_len == name_len &&
751 !memcmp(re->desc->vol->name, name, name_len)) {
757 re->new_name_len = name_len;
758 memcpy(re->new_name, name, name_len);
779 if (re->new_name_len == re1->desc->vol->name_len &&
781 re1->desc->vol->name_len)) {