Lines Matching refs:popt
337 static int parse_options(char *options, struct iso9660_options *popt)
343 popt->map = 'n';
344 popt->rock = 1;
345 popt->joliet = 1;
346 popt->cruft = 0;
347 popt->hide = 0;
348 popt->showassoc = 0;
349 popt->check = 'u'; /* unset */
350 popt->nocompress = 0;
351 popt->blocksize = 1024;
352 popt->fmode = popt->dmode = ISOFS_INVALID_MODE;
353 popt->uid_set = 0;
354 popt->gid_set = 0;
355 popt->gid = GLOBAL_ROOT_GID;
356 popt->uid = GLOBAL_ROOT_UID;
357 popt->iocharset = NULL;
358 popt->overriderockperm = 0;
359 popt->session=-1;
360 popt->sbsector=-1;
375 popt->rock = 0;
378 popt->joliet = 0;
381 popt->hide = 1;
385 popt->showassoc = 1;
388 popt->cruft = 1;
392 kfree(popt->iocharset);
393 popt->iocharset = kstrdup("utf8", GFP_KERNEL);
394 if (!popt->iocharset)
398 kfree(popt->iocharset);
399 popt->iocharset = match_strdup(&args[0]);
400 if (!popt->iocharset)
405 popt->map = 'a';
408 popt->map = 'o';
411 popt->map = 'n';
423 popt->session = n + 1;
428 popt->sbsector = option;
431 popt->check = 'r';
434 popt->check = 's';
441 popt->uid = make_kuid(current_user_ns(), uv);
442 if (!uid_valid(popt->uid))
444 popt->uid_set = 1;
449 popt->gid = make_kgid(current_user_ns(), uv);
450 if (!gid_valid(popt->gid))
452 popt->gid_set = 1;
457 popt->fmode = option;
462 popt->dmode = option;
465 popt->overriderockperm = 1;
473 popt->blocksize = n;
476 popt->nocompress = 1;