Home | History | Annotate | Download | only in sysinst

Lines Matching defs:usr

146 	{ .def_size = DEFUSRSIZE*(MEG/512), .mount = "/usr", .type = PT_root,
646 /* Some special cases when /usr is first given a size */
648 strcmp(p->mount, "/usr") == 0) {
655 /* Remove space for /usr from / */
668 * hack to add free space to /usr if
964 size_t i, root = ~0U, usr = ~0U, swap = ~0U, def_usr = ~0U;
1042 strcmp(wanted->infos[i].mount, "/usr") == 0) {
1044 usr = i;
1117 if (usr < wanted->num) {
1118 if (wanted->infos[usr].cur_part_id == NO_PART) {
1119 wanted->infos[usr].size += xsize;
1120 wanted->infos[usr].def_size += xsize;
1132 if (usr < wanted->num) {
1133 /* move space from root to usr */
1139 wanted->infos[usr].size = spill;
1156 if (usr < wanted->num)
1157 required += wanted->infos[usr].size;
1162 if (i == root || i == usr)
1200 if (usr >= wanted->num && def_usr < wanted->num) {
1201 usr = def_usr;
1202 wanted->infos[usr].size = wanted->infos[root].size
1204 if (wanted->infos[usr].size <= 0)
1205 wanted->infos[usr].size = max(1,
1206 wanted->infos[usr].def_size);
1211 wanted->infos[usr].flags |= PUIFLAG_EXTEND;
1213 } else if (usr < wanted->num) {
1214 /* move space from root to usr */
1220 wanted->infos[usr].size = spill;