Lines Matching refs:ip
339 struct fileinfo *ip; in read_baseline() local
459 ip = &fp->f_info[ OPT_BASE ]; in read_baseline()
461 ip->f_type = gettype(type); /* note file type */ in read_baseline()
468 ip->f_mode = l; in read_baseline()
475 ip->f_uid = l; in read_baseline()
482 ip->f_gid = l; in read_baseline()
561 ip->f_rd_maj = l; in read_baseline()
568 ip->f_rd_min = l; in read_baseline()
574 ip->f_size = (off_t) ll; /* size */ in read_baseline()
585 ip->f_numacls = l; in read_baseline()
586 ip->f_acls = (aclent_t *) malloc(ip->f_numacls * in read_baseline()
588 if (ip->f_acls == 0) in read_baseline()
597 if (ip == 0 || ip->f_acls == 0) { in read_baseline()
608 if (l >= ip->f_numacls) in read_baseline()
611 ap = &ip->f_acls[l]; in read_baseline()
812 struct fileinfo *ip = &fp->f_info[OPT_BASE]; in bw_file() local
840 fprintf(file, "FILE %d %c %-20s 0%04o", depth, showtype(ip->f_type), in bw_file()
841 noblanks(fp->f_name), ip->f_mode); in bw_file()
842 fprintf(file, " %6ld %6ld", ip->f_uid, ip->f_gid); in bw_file()
861 if (S_ISBLK(ip->f_type) || S_ISCHR(ip->f_type)) in bw_file()
862 fprintf(file, "\t%4ld %4ld", ip->f_rd_maj, ip->f_rd_min); in bw_file()
864 ll = ip->f_size; in bw_file()
869 fprintf(file, "\t%d", ip->f_numacls); in bw_file()
874 for (i = 0; i < ip->f_numacls; i++) in bw_file()
875 fprintf(file, "ACL %d %d %ld %o\n", i, ip->f_acls[i].a_type, in bw_file()
876 ip->f_acls[i].a_id, ip->f_acls[i].a_perm); in bw_file()