Lines Matching refs:u
34 if(rr->u.SP.magic[0] != 0xbe) FAIL; \
35 if(rr->u.SP.magic[1] != 0xef) FAIL; \
36 inode->i_sb->u.isofs_sb.s_rock_offset=rr->u.SP.skip;
46 {cont_extent = isonum_733(rr->u.CE.extent); \
47 cont_offset = isonum_733(rr->u.CE.offset); \
48 cont_size = isonum_733(rr->u.CE.size);}
56 if (inode->i_sb->u.isofs_sb.s_rock_offset!=-1) \
58 LEN-=inode->i_sb->u.isofs_sb.s_rock_offset; \
59 CHR+=inode->i_sb->u.isofs_sb.s_rock_offset; \
111 if (!inode->i_sb->u.isofs_sb.s_rock) return retval; in find_rock_ridge_relocation()
128 rrflag = rr->u.RR.flags[0]; in find_rock_ridge_relocation()
137 retval = isonum_733(rr->u.CL.location); in find_rock_ridge_relocation()
143 retval = isonum_733(rr->u.PL.location); in find_rock_ridge_relocation()
171 if (!inode->i_sb->u.isofs_sb.s_rock) return 0; in get_rock_ridge_filename()
190 if((rr->u.RR.flags[0] & RR_NM) == 0) goto out; in get_rock_ridge_filename()
208 if (rr->u.NM.flags & 6) { in get_rock_ridge_filename()
212 if (rr->u.NM.flags & ~1) { in get_rock_ridge_filename()
213 printk("Unsupported NM flag settings (%d)\n",rr->u.NM.flags); in get_rock_ridge_filename()
220 strncat(retname, rr->u.NM.name, rr->len - 5); in get_rock_ridge_filename()
245 if (!inode->i_sb->u.isofs_sb.s_rock) return 0; in parse_rock_ridge_inode_internal()
273 if((rr->u.RR.flags[0] & in parse_rock_ridge_inode_internal()
284 inode->i_sb->u.isofs_sb.s_rock = 1; in parse_rock_ridge_inode_internal()
287 for(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]); in parse_rock_ridge_inode_internal()
292 inode->i_mode = isonum_733(rr->u.PX.mode); in parse_rock_ridge_inode_internal()
293 inode->i_nlink = isonum_733(rr->u.PX.n_links); in parse_rock_ridge_inode_internal()
294 inode->i_uid = isonum_733(rr->u.PX.uid); in parse_rock_ridge_inode_internal()
295 inode->i_gid = isonum_733(rr->u.PX.gid); in parse_rock_ridge_inode_internal()
299 high = isonum_733(rr->u.PN.dev_high); in parse_rock_ridge_inode_internal()
300 low = isonum_733(rr->u.PN.dev_low); in parse_rock_ridge_inode_internal()
319 if(rr->u.TF.flags & TF_CREATE) in parse_rock_ridge_inode_internal()
320 inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); in parse_rock_ridge_inode_internal()
321 if(rr->u.TF.flags & TF_MODIFY) in parse_rock_ridge_inode_internal()
322 inode->i_mtime = iso_date(rr->u.TF.times[cnt++].time, 0); in parse_rock_ridge_inode_internal()
323 if(rr->u.TF.flags & TF_ACCESS) in parse_rock_ridge_inode_internal()
324 inode->i_atime = iso_date(rr->u.TF.times[cnt++].time, 0); in parse_rock_ridge_inode_internal()
325 if(rr->u.TF.flags & TF_ATTRIBUTES) in parse_rock_ridge_inode_internal()
326 inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); in parse_rock_ridge_inode_internal()
333 slp = &rr->u.SL.link; in parse_rock_ridge_inode_internal()
359 if( ((rr->u.SL.flags & 1) != 0) in parse_rock_ridge_inode_internal()
377 inode->u.isofs_i.i_first_extent = isonum_733(rr->u.CL.location); in parse_rock_ridge_inode_internal()
379 (inode->u.isofs_i.i_first_extent << in parse_rock_ridge_inode_internal()
380 inode -> i_sb -> u.isofs_sb.s_log_zone_size)); in parse_rock_ridge_inode_internal()
397 if ( !inode->i_sb->u.isofs_sb.s_nocompress ) { in parse_rock_ridge_inode_internal()
399 algo = isonum_721(rr->u.ZF.algorithm); in parse_rock_ridge_inode_internal()
401 int block_shift = isonum_711(&rr->u.ZF.parms[1]); in parse_rock_ridge_inode_internal()
406 inode->u.isofs_i.i_file_format = isofs_file_compressed; in parse_rock_ridge_inode_internal()
408 inode->u.isofs_i.i_format_parm[0] = isonum_711(&rr->u.ZF.parms[0]); in parse_rock_ridge_inode_internal()
409 inode->u.isofs_i.i_format_parm[1] = isonum_711(&rr->u.ZF.parms[1]); in parse_rock_ridge_inode_internal()
410 inode->i_size = isonum_733(rr->u.ZF.real_size); in parse_rock_ridge_inode_internal()
414 rr->u.ZF.algorithm[0], rr->u.ZF.algorithm[1]); in parse_rock_ridge_inode_internal()
438 slp = &rr->u.SL.link; in get_symlink_chunk()
478 if ((!rootflag) && (rr->u.SL.flags & 1) && in get_symlink_chunk()
505 if ((inode->i_sb->u.isofs_sb.s_rock_offset==-1) in parse_rock_ridge_inode()
506 &&(inode->i_sb->u.isofs_sb.s_rock==2)) in parse_rock_ridge_inode()
533 if (!inode->i_sb->u.isofs_sb.s_rock) in rock_ridge_symlink_readpage()
570 if ((rr->u.RR.flags[0] & RR_SL) == 0) in rock_ridge_symlink_readpage()