Lines Matching defs:sp
227 struct stat *sp;
247 sp = p->fts_statp;
253 dp->s_inode, (uintmax_t)sp->st_ino);
256 dp->s_block, howmany(sp->st_blocks, blocksize));
257 strmode(sp->st_mode, buf);
260 xo_attr("value", "%03o", (int) sp->st_mode & ALLPERMS);
263 buf, (int) sp->st_mode & ALLPERMS, dp->s_nlink, sp->st_nlink,
264 dp->s_user, np->user, (uintmax_t)sp->st_uid, dp->s_group, np->group, (uintmax_t)sp->st_gid);
267 buf, (int) sp->st_mode & ALLPERMS, dp->s_nlink, sp->st_nlink,
270 if (S_ISBLK(sp->st_mode))
272 if (S_ISCHR(sp->st_mode))
274 if (S_ISDIR(sp->st_mode))
276 if (S_ISFIFO(sp->st_mode))
278 if (S_ISLNK(sp->st_mode))
280 if (S_ISREG(sp->st_mode))
282 if (S_ISSOCK(sp->st_mode))
284 if (S_ISWHT(sp->st_mode))
292 if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
293 printdev(dp->s_size, sp->st_rdev);
295 printsize("size", dp->s_size, sp->st_size);
297 printtime("access-time", sp->st_atime);
299 printtime("birth-time", sp->st_birthtime);
301 printtime("change-time", sp->st_ctime);
303 printtime("modify-time", sp->st_mtime);
306 color_printed = colortype(sp->st_mode);
319 (void)printtype(sp->st_mode);
320 if (S_ISLNK(sp->st_mode))
460 struct stat *sp;
466 sp = p->fts_statp;
470 (int)inodefield, (uintmax_t)sp->st_ino);
473 (int)sizefield, howmany(sp->st_blocks, blocksize));
476 color_printed = colortype(sp->st_mode);
484 chcnt += printtype(sp->st_mode);