Lines Matching refs:popt
337 static int parse_options(char *options, struct iso9660_options *popt)
342 popt->map = 'n';
343 popt->rock = 1;
344 popt->joliet = 1;
345 popt->cruft = 0;
346 popt->hide = 0;
347 popt->showassoc = 0;
348 popt->check = 'u'; /* unset */
349 popt->nocompress = 0;
350 popt->blocksize = 1024;
351 popt->fmode = popt->dmode = ISOFS_INVALID_MODE;
352 popt->uid_set = 0;
353 popt->gid_set = 0;
354 popt->gid = GLOBAL_ROOT_GID;
355 popt->uid = GLOBAL_ROOT_UID;
356 popt->iocharset = NULL;
357 popt->overriderockperm = 0;
358 popt->session=-1;
359 popt->sbsector=-1;
374 popt->rock = 0;
377 popt->joliet = 0;
380 popt->hide = 1;
384 popt->showassoc = 1;
387 popt->cruft = 1;
391 kfree(popt->iocharset);
392 popt->iocharset = kstrdup("utf8", GFP_KERNEL);
393 if (!popt->iocharset)
397 kfree(popt->iocharset);
398 popt->iocharset = match_strdup(&args[0]);
399 if (!popt->iocharset)
404 popt->map = 'a';
407 popt->map = 'o';
410 popt->map = 'n';
422 popt->session = n + 1;
427 popt->sbsector = option;
430 popt->check = 'r';
433 popt->check = 's';
440 popt->uid = make_kuid(current_user_ns(), option);
441 if (!uid_valid(popt->uid))
443 popt->uid_set = 1;
448 popt->gid = make_kgid(current_user_ns(), option);
449 if (!gid_valid(popt->gid))
451 popt->gid_set = 1;
456 popt->fmode = option;
461 popt->dmode = option;
464 popt->overriderockperm = 1;
472 popt->blocksize = n;
475 popt->nocompress = 1;