/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | rlimit.c | 31 #include <sys/resource.h> 36 * The following are the resource values for SVR4. 37 * The resource values are mapped to SVR4 values 42 int getrlimit(resource, rlp) 43 int resource; 46 return(bc_getrlimit(resource, rlp)); 49 int bc_getrlimit(resource, rlp) 50 int resource; 53 return(_syscall(SYS_getrlimit, rlim_res[resource], rlp)); 56 int setrlimit(resource, rl [all...] |
H A D | getdtablesize.c | 30 #include <sys/resource.h>
|
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
H A D | zfs-diagnosis.conf | 30 subscribe resource.fs.zfs.* 31 subscribe resource.sysevent.EC_zfs.ESC_ZFS_vdev_remove 32 subscribe resource.sysevent.EC_zfs.ESC_ZFS_pool_destroy
|
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs-retire.conf | 30 subscribe resource.fs.zfs.removed 31 subscribe resource.fs.zfs.statechange 32 subscribe resource.sysevent.EC_zfs.ESC_ZFS_vdev_remove
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-memstat.c | 38 fprintf(stderr, "-r name use name as resource to query\n"); 49 char *resource; local 53 resource = NULL; 67 resource = strdup(optarg); 86 r2 = sm_memstat_get(resource, &v); 90 resource != NULL ? resource : "default-value", 109 resource != NULL ? resource : "default-value", v);
|
H A D | memstat.c | 63 ** resource -- resource to look up 72 sm_memstat_get(resource, pvalue) 73 char *resource; 148 ** resource -- resource to look up 157 sm_memstat_get(resource, pvalue) 158 char *resource; 169 (resource != NULL) ? resource [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 42 #include <sys/resource.h> 282 * In the 64-bit kernel, all existing resource limits are treated in this 285 * RLIM_SAVED(x), returns true if the resource limit should be handled in 289 getrlimit32(int resource, struct rlimit32 *rlp) argument 298 if (resource < 0 || resource >= RLIM_NLIMITS) 302 (void) rctl_rlimit_get(rctlproc_legacy[resource], p, &rlim64); 313 ASSERT(RLIM_SAVED(resource)); 322 ASSERT(RLIM_SAVED(resource)); 327 ASSERT(RLIM_SAVED(resource)); 366 setrlimit32(int resource, struct rlimit32 *rlp) argument 442 getrlimit64(int resource, struct rlimit64 *rlp) argument 460 setrlimit64(int resource, struct rlimit64 *rlp) argument [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_getrlimit.c | 34 #include <sys/resource.h> 42 int resource, struct rlimit *rlp) 51 return (getrlimit(resource, rlp)); 53 adp = &argd[0]; /* resource argument */ 54 adp->arg_value = resource; 90 int resource, const struct rlimit *rlp) 99 return (setrlimit(resource, rlp)); 101 adp = &argd[0]; /* resource argument */ 102 adp->arg_value = resource; 138 int resource, struc 41 pr_getrlimit(struct ps_prochandle *Pr, int resource, struct rlimit *rlp) argument 89 pr_setrlimit(struct ps_prochandle *Pr, int resource, const struct rlimit *rlp) argument 137 pr_getrlimit64(struct ps_prochandle *Pr, int resource, struct rlimit64 *rlp) argument 185 pr_setrlimit64(struct ps_prochandle *Pr, int resource, const struct rlimit64 *rlp) argument [all...] |
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 71 char *resource) /* O - Resource/filename [1024] */ 74 port, resource, HTTP_MAX_URI); 92 char *resource, /* O - Resource/filename */ 93 int resourcelen) /* I - Size of resource buffer */ 105 port == NULL || resource == NULL) 140 strlcpy(resource, ptr, resourcelen); 144 resource[0] = '\0'; 149 * OK, we have "hostname:port[/resource]"... 155 strlcpy(resource, uri, resourcelen); 169 * If the method starts with less than 2 slashes then it is a local resource 66 httpSeparate(const char *uri, char *method, char *username, char *host, int *port, char *resource) argument 84 httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | nice.c | 31 #include <sys/resource.h>
|
H A D | vlimit.c | 33 #include <sys/resource.h>
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getdtblsize.c | 41 #include <sys/resource.h>
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nice.c | 46 #include <sys/resource.h>
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | getdtblsize.c | 46 #include <sys/resource.h>
|
H A D | wait3.c | 51 #include <sys/resource.h>
|
/illumos-gate/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit.h | 57 const char *resource, 65 const char *resource,
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_rs.c | 41 * Bounds of resource allocation. We will start allocating at rs_min 49 * rs_free points to an array of 64-bit values used to track resource 56 * last tracks the last alloc'd resource. This allows us to do a round 67 * Initialize the resource structure. This structure will be protected 69 * used for the rest of the resource functions. This code is written assuming 85 /* alloc space for resource structure */ 100 /* Initialize resource structure */ 145 * alloc a resource. If alloc fails, we are out of resources. 148 ioat_rs_alloc(ioat_rs_hdl_t handle, uint_t *resource) argument 160 ASSERT(resource ! 225 ioat_rs_free(ioat_rs_hdl_t handle, uint_t resource) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/compat/common/ |
H A D | ulimit.c | 30 #include <sys/resource.h>
|
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | nice.c | 31 #include <sys/resource.h>
|
/illumos-gate/usr/src/cmd/policykit/ |
H A D | polkit-is-privileged.c | 43 "usage : %s -u <uid> -p <privilege> [-r <resource>]\n" 50 " -r, --resource Resource\n" 57 "privilege for a given resource. The resource may be omitted.\n" 67 char *resource = NULL; local 72 {"resource", required_argument, NULL, 'r'}, 107 resource = g_strdup (optarg); 142 if (resource != NULL) 143 printf ("resource = '%s'\n", resource); [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | network_rcm.c | 66 char *resource; member in struct:net_cache 103 static net_cache_t *cache_lookup(const char *resource); 237 (void) rcm_unregister_interest(hd, probe->resource, 0); 281 * resource. 287 _("NET: unrecognized resource %s\n"), rsrc); 307 * resource following the reattachment of the resource. 366 * Determine dependents of the resource being offlined, and offline 388 * Online the previously offlined resource, and online its dependents. 407 * Gather usage information for this resource 577 cache_lookup(const char *resource) argument 645 char resource[MAXPATHLEN]; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 32 #include <sys/resource.h>
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | debug.c | 41 #include <sys/resource.h>
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | Makefile.com | 31 resource.o prims64.o mcookie.o log.o cleanup.o
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | Makefile | 27 MANIFEST= zones.xml resource-mgmt.xml 28 SVCMETHOD= svc-zones svc-resource-mgmt
|