Lines Matching defs:icb
381 struct long_ad *icb;
387 icb = dir_icb;
390 icb = dirdata_icb;
398 location = udf_rw32(icb->loc.lb_num);
412 struct icb_tag *icb;
427 icb = &fe->icbtag;
435 icb = &efe->icbtag;
444 if ((udf_rw16(icb->flags) & UDF_ICB_TAG_FLAGS_ALLOC_MASK) !=
455 assert((udf_rw16(icb->flags) & UDF_ICB_TAG_FLAGS_ALLOC_MASK) ==
489 struct icb_tag *icb;
515 icb = &fe->icbtag;
524 icb = &efe->icbtag;
537 cur_alloc = udf_rw16(icb->flags);
595 icb->flags = udf_rw16(UDF_ICB_SHORT_ALLOC);
603 icb->flags = udf_rw16(UDF_ICB_LONG_ALLOC);
635 struct long_ad icb;
644 icb = *data_icb;
645 icb.len = udf_rw32(flen);
646 while (udf_rw32(icb.len) > 0)
647 udf_append_file_mapping(dscr, &icb);
661 int filetype, struct long_ad *icb)
674 icb->longad_uniqueid = udf_rw32(udf_rw64(fe->unique_id));
680 icb->longad_uniqueid = udf_rw32(udf_rw64(efe->unique_id));
811 struct long_ad *icb)
832 udf_metadata_alloc(1, icb);
833 udf_create_new_file(st, &dscr, UDF_ICB_FILETYPE_RANDOMACCESS, icb);
864 udf_write_dscr_virt(dscr, udf_rw32(icb->loc.lb_num),
865 udf_rw16(icb->loc.part_num), 1);
870 memcpy(cur->inode->fsuse, icb, sizeof(struct long_ad));
882 struct long_ad icb, data_icb, dirdata_icb;
941 dir, dir_icb, &icb);
946 UDF_FILE_CHAR_DIR, &icb);
956 fid, &icb);
960 0, &icb);
988 udf_metadata_alloc(1, &icb);
990 UDF_ICB_FILETYPE_SYMLINK, &icb);
1000 udf_write_dscr_virt(dscr, udf_rw32(icb.loc.lb_num),
1001 udf_rw16(icb.loc.part_num), 1);
1006 udf_create_fid(ddoff, fid, cur->name, 0, &icb);