Home
last modified time | relevance | path

Searched refs:c_usage (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_resource.c431 if ((cachep->c_usage.cu_filesused >= cachep->c_label.cl_maxinodes) || in cachefs_allocfile()
432 ((cachep->c_usage.cu_filesused > cachep->c_label.cl_filemin) && in cachefs_allocfile()
442 cachep->c_usage.cu_filesused++; in cachefs_allocfile()
444 (cachep->c_usage.cu_filesused >= in cachefs_allocfile()
461 ASSERT(cachep->c_usage.cu_filesused > 0); in cachefs_freefile()
463 cachep->c_usage.cu_filesused--; in cachefs_freefile()
486 blocks = cachep->c_usage.cu_blksused + nblks; in cachefs_allocblocks()
498 cachep->c_usage.cu_blksused += (uint_t)nblks; in cachefs_allocblocks()
503 (cachep->c_usage.cu_blksused >= in cachefs_allocblocks()
522 cachep->c_usage.cu_blksused -= (uint_t)nblks; in cachefs_freeblocks()
[all …]
H A Dcachefs_subr.c178 cachep->c_usage.cu_flags &= ~CUSAGE_ACTIVE; in cachefs_cache_destroy()
332 error = vn_rdwr(UIO_READ, rifvp, (caddr_t)&cachep->c_usage, in cachefs_cache_activate_ro()
341 if (cachep->c_usage.cu_flags & CUSAGE_ACTIVE) { in cachefs_cache_activate_ro()
665 ASSERT(cachep->c_usage.cu_flags & CUSAGE_ACTIVE); in cachefs_cache_dirty()
672 cachep->c_usage.cu_flags |= CUSAGE_ACTIVE; in cachefs_cache_dirty()
674 (caddr_t)&cachep->c_usage, sizeof (struct cache_usage), in cachefs_cache_dirty()
724 (caddr_t)&cachep->c_usage, sizeof (struct cache_usage), in cachefs_cache_rssync()
816 if (cachep->c_usage.cu_flags & CUSAGE_ACTIVE) { in cachefs_cache_sync()
817 cachep->c_usage.cu_flags &= ~CUSAGE_ACTIVE; in cachefs_cache_sync()
821 cachep->c_usage.cu_flags |= in cachefs_cache_sync()
[all …]
H A Dcachefs_log.c495 header.lh_blocks = cachep->c_usage.cu_blksused; in cachefs_log_write_header()
496 header.lh_files = cachep->c_usage.cu_filesused; in cachefs_log_write_header()
H A Dcachefs_vfsops.c1080 struct cache_usage *up = &fscp->fs_cache->c_usage; in cachefs_statvfs()
H A Dcachefs_ioctl.c931 cachep->c_usage.cu_blksused); in cachefs_io_getstats()
939 gsp->gs_total = cachep->c_usage.cu_blksused * CFS_STAT_FACTOR; in cachefs_io_getstats()
H A Dcachefs_vnops.c3624 dcp->c_usage++; in cachefs_lookup_common()
7063 dcp->c_usage++; in cachefs_readdir_connected()
/titanic_41/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c48 const char *c_usage; member
164 cp->c_fn(argc - 1, &argv[1], cp->c_usage); in main()
677 if (cp->c_usage != NULL) in usage()
679 gettext(cp->c_name), gettext(cp->c_usage)); in usage()
/titanic_41/usr/src/cmd/dlstat/
H A Ddlstat.c107 const char *c_usage; member
481 if (cmdp->c_usage != NULL) in usage()
482 (void) fprintf(stderr, "%s\n", gettext(cmdp->c_usage)); in usage()
512 do_show(argc - 1, NULL, cmds[0].c_usage); in main()
519 cmdp->c_fn(argc - 1, &argv[1], cmdp->c_usage); in main()
524 do_show(argc, &argv[0], cmds[0].c_usage); in main()
/titanic_41/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c90 void (*c_usage)(const char *); member
355 cmd->c_usage(cmd->c_name); in usage()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c67 const char *c_usage; member
350 if (cmdp->c_usage != NULL) in usage()
351 (void) fprintf(stderr, "%s\n", gettext(cmdp->c_usage)); in usage()
386 cmdp->c_fn(argc - 1, &argv[1], gettext(cmdp->c_usage)); in main()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dcachefs_fs.h537 struct cache_usage c_usage; /* cache usage info */ member
910 int c_usage; /* Usefulness of cache */ member
/titanic_41/usr/src/cmd/dladm/
H A Ddladm.c263 const char *c_usage; member
1449 if (cmdp->c_usage != NULL) in usage()
1450 (void) fprintf(stderr, "%s\n", gettext(cmdp->c_usage)); in usage()
1487 cmdp->c_fn(argc - 1, &argv[1], cmdp->c_usage); in main()