Lines Matching defs:name
30 __ATTR(name, S_IRUGO, vol_attribute_show, NULL);
81 ret = sprintf(buf, "%s\n", vol->name);
179 dbg_gen("create device %d, volume %d, %llu bytes, type %d, name %s",
181 (int)req->vol_type, req->name);
190 /* Ensure that the name is unique */
194 !strcmp(ubi->volumes[i]->name, req->name)) {
196 req->name, i);
224 memcpy(vol->name, req->name, vol->name_len);
290 memcpy(vtbl_rec.name, vol->name, vol->name_len);
523 * ubi_rename_volumes - re-name UBI volumes.
527 * This function re-names or removes volumes specified in the re-name list.
550 memcpy(vol->name, re->new_name, re->new_name_len + 1);
636 const char *name;
696 ubi_err(ubi, "too long volume name, max is %d",
701 n = strnlen(vol->name, vol->name_len + 1);
751 name = &ubi->vtbl[vol_id].name[0];
759 name_len != vol->name_len || strncmp(name, vol->name, name_len)) {