Lines Matching defs:hsb
235 static int parse_options(char *options, struct hfs_sb_info *hsb)
242 hsb->s_uid = current_uid();
243 hsb->s_gid = current_gid();
244 hsb->s_file_umask = 0133;
245 hsb->s_dir_umask = 0022;
246 hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */
247 hsb->s_quiet = 0;
248 hsb->part = -1;
249 hsb->session = -1;
265 hsb->s_uid = (uid_t)tmp;
272 hsb->s_gid = (gid_t)tmp;
279 hsb->s_file_umask = (umode_t)tmp;
280 hsb->s_dir_umask = (umode_t)tmp;
287 hsb->s_file_umask = (umode_t)tmp;
294 hsb->s_dir_umask = (umode_t)tmp;
297 if (match_int(&args[0], &hsb->part)) {
303 if (match_int(&args[0], &hsb->session)) {
309 if (match_fourchar(&args[0], &hsb->s_type)) {
315 if (match_fourchar(&args[0], &hsb->s_creator)) {
321 hsb->s_quiet = 1;
324 if (hsb->nls_disk) {
330 hsb->nls_disk = load_nls(p);
331 if (!hsb->nls_disk) {
339 if (hsb->nls_io) {
345 hsb->nls_io = load_nls(p);
346 if (!hsb->nls_io) {
358 if (hsb->nls_disk && !hsb->nls_io) {
359 hsb->nls_io = load_nls_default();
360 if (!hsb->nls_io) {
365 hsb->s_dir_umask &= 0777;
366 hsb->s_file_umask &= 0577;