/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | rlimit.c | 42 int getrlimit(resource, rlp) in getrlimit() argument 43 int resource; in getrlimit() 46 return(bc_getrlimit(resource, rlp)); 49 int bc_getrlimit(resource, rlp) in bc_getrlimit() argument 50 int resource; in bc_getrlimit() 53 return(_syscall(SYS_getrlimit, rlim_res[resource], rlp)); 56 int setrlimit(resource, rlp) in setrlimit() argument 57 int resource; in setrlimit() 60 return(bc_setrlimit(resource, rlp)); 63 int bc_setrlimit(resource, rlp) in bc_setrlimit() argument [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | memstat.c | 72 sm_memstat_get(resource, pvalue) in sm_memstat_get() argument 73 char *resource; in sm_memstat_get() 157 sm_memstat_get(resource, pvalue) 158 char *resource; 169 (resource != NULL) ? resource: "freemem"); 255 sm_memstat_get(resource, pvalue) 256 char *resource; 263 if (resource == NULL) 270 l = strlen(resource); 275 if (strncmp(buf, resource, l) == 0 && buf[l] == ':') [all …]
|
H A D | t-memstat.c | 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);
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 289 getrlimit32(int resource, struct rlimit32 *rlp) in getrlimit32() argument 298 if (resource < 0 || resource >= RLIM_NLIMITS) in getrlimit32() 302 (void) rctl_rlimit_get(rctlproc_legacy[resource], p, &rlim64); in getrlimit32() 313 ASSERT(RLIM_SAVED(resource)); in getrlimit32() 322 ASSERT(RLIM_SAVED(resource)); in getrlimit32() 327 ASSERT(RLIM_SAVED(resource)); in getrlimit32() 335 if (RLIM_SAVED(resource)) { in getrlimit32() 338 up->u_saved_rlimit[resource].rlim_max = in getrlimit32() 341 up->u_saved_rlimit[resource].rlim_cur = in getrlimit32() 366 setrlimit32(int resource, struct rlimit32 *rlp) in setrlimit32() argument [all …]
|
/titanic_50/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 71 char *resource) /* O - Resource/filename [1024] */ in httpSeparate() argument 74 port, resource, HTTP_MAX_URI); in httpSeparate() 92 char *resource, /* O - Resource/filename */ in httpSeparate2() argument 105 port == NULL || resource == NULL) in httpSeparate2() 140 strlcpy(resource, ptr, resourcelen); in httpSeparate2() 144 resource[0] = '\0'; in httpSeparate2() 155 strlcpy(resource, uri, resourcelen); in httpSeparate2() 174 strlcpy(resource, uri, resourcelen); in httpSeparate2() 238 resource[0] = '/'; in httpSeparate2() 239 resource[1] = '\0'; in httpSeparate2() [all …]
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | pr_getrlimit.c | 42 int resource, struct rlimit *rlp) in pr_getrlimit() argument 51 return (getrlimit(resource, rlp)); in pr_getrlimit() 54 adp->arg_value = resource; in pr_getrlimit() 90 int resource, const struct rlimit *rlp) in pr_setrlimit() argument 99 return (setrlimit(resource, rlp)); in pr_setrlimit() 102 adp->arg_value = resource; in pr_setrlimit() 138 int resource, struct rlimit64 *rlp) in pr_getrlimit64() argument 147 return (getrlimit64(resource, rlp)); in pr_getrlimit64() 150 adp->arg_value = resource; in pr_getrlimit64() 186 int resource, const struct rlimit64 *rlp) in pr_setrlimit64() argument [all …]
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | network_rcm.c | 66 char *resource; member 103 static net_cache_t *cache_lookup(const char *resource); 237 (void) rcm_unregister_interest(hd, probe->resource, 0); in net_unregister() 452 node->resource, dladm_status2str(status, errmsg)); in net_getinfo() 577 cache_lookup(const char *resource) in cache_lookup() argument 582 if (probe->resource && in cache_lookup() 583 (strcmp(resource, probe->resource) == 0)) { in cache_lookup() 600 free(node->resource); in free_node() 645 char resource[MAXPATHLEN]; in devfs_entry() local 679 (void) snprintf(resource, sizeof (resource), "/devices%s", devfspath); in devfs_entry() [all …]
|
/titanic_50/usr/src/lib/libshare/smb/ |
H A D | libshare_smb.c | 387 sa_resource_t resource; in smb_enable_share() local 462 for (resource = sa_get_share_resource(share, NULL); in smb_enable_share() 463 resource != NULL; in smb_enable_share() 464 resource = sa_get_next_resource(resource)) { in smb_enable_share() 465 err = smb_build_shareinfo(share, resource, &si); in smb_enable_share() 477 err = sa_share_zfs(share, resource, (char *)path, &sh, in smb_enable_share() 502 smb_enable_resource(sa_resource_t resource) in smb_enable_resource() argument 510 share = sa_get_resource_parent(resource); in smb_enable_resource() 528 if ((ret = smb_build_shareinfo(share, resource, &si)) != SA_OK) in smb_enable_resource() 551 smb_disable_resource(sa_resource_t resource) in smb_disable_resource() argument [all …]
|
/titanic_50/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_rs.c | 148 ioat_rs_alloc(ioat_rs_hdl_t handle, uint_t *resource) in ioat_rs_alloc() argument 160 ASSERT(resource != NULL); in ioat_rs_alloc() 182 *resource = rstruct->rs_last; in ioat_rs_alloc() 225 ioat_rs_free(ioat_rs_hdl_t handle, uint_t resource) in ioat_rs_free() argument 235 ASSERT(resource >= rstruct->rs_min); in ioat_rs_free() 236 ASSERT(resource <= rstruct->rs_max); in ioat_rs_free() 241 array_idx = resource >> 6; in ioat_rs_free() 242 offset = resource & 0x3F; in ioat_rs_free()
|
/titanic_50/usr/src/lib/libshare/common/ |
H A D | libshare.c | 2206 sa_share_t resource; in sa_set_share_attr() local 2219 resource = sa_get_resource(group, value); in sa_set_share_attr() 2220 if (resource != share && resource != NULL) in sa_set_share_attr() 2838 sa_resource_t resource = group; in sa_destroy_optionset() local 2839 sa_share_t share = sa_get_resource_parent(resource); in sa_destroy_optionset() 3671 sa_get_share_resource(sa_share_t share, char *resource) in sa_get_share_resource() argument 3680 if (resource == NULL) { in sa_get_share_resource() 3693 (xmlChar *)resource) == 0) { in sa_get_share_resource() 3713 sa_get_next_resource(sa_resource_t resource) in sa_get_next_resource() argument 3717 if (resource != NULL) { in sa_get_next_resource() [all …]
|
H A D | scfutil.c | 672 sa_resource_t resource; in find_resource_by_index() local 676 for (resource = sa_get_share_resource(share, NULL); in find_resource_by_index() 677 resource != NULL && found == NULL; in find_resource_by_index() 678 resource = sa_get_next_resource(resource)) { in find_resource_by_index() 679 id = (char *)xmlGetProp((xmlNodePtr)resource, (xmlChar *)"id"); in find_resource_by_index() 683 found = resource; in find_resource_by_index() 775 sa_resource_t resource; in sa_share_props_from_pgroup() local 783 resource = find_resource_by_index(share, sectype); in sa_share_props_from_pgroup() 784 if (resource != NULL) { in sa_share_props_from_pgroup() 785 node = xmlNewChild(resource, NULL, in sa_share_props_from_pgroup() [all …]
|
H A D | plugin.c | 311 sa_proto_share_resource(char *proto, sa_resource_t resource) in sa_proto_share_resource() argument 318 ret = ops->sa_enable_resource(resource); in sa_proto_share_resource() 333 sa_proto_unshare_resource(char *proto, sa_resource_t resource) in sa_proto_unshare_resource() argument 340 ret = ops->sa_disable_resource(resource); in sa_proto_unshare_resource() 625 sa_proto_notify_resource(sa_resource_t resource, char *proto) in sa_proto_notify_resource() argument 632 ret = ops->sa_notify_resource(resource); in sa_proto_notify_resource() 698 sa_resource_t resource, char *newname) in sa_proto_rename_resource() argument 705 ret = ops->sa_rename_resource(handle, resource, in sa_proto_rename_resource()
|
H A D | libsharecore.c | 80 char *resource; member 282 char *resource; in getdfstab() local 285 resource = args[optind]; in getdfstab() 286 optgroup = strchr(resource, '@'); in getdfstab() 291 if (resource != NULL && in getdfstab() 292 strlen(resource) > 0) in getdfstab() 293 item->resource = in getdfstab() 294 strdup(resource); in getdfstab() 419 item->resource = sa_get_share_attr(share, "resource"); in adddfsentry() 474 ((item->resource != NULL) || in outdfstab() [all …]
|
/titanic_50/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 228 print_rsrc_desc(sa_resource_t resource, char *sharedesc) in print_rsrc_desc() argument 233 if (resource == NULL) in print_rsrc_desc() 236 description = sa_get_resource_description(resource); in print_rsrc_desc() 1943 sa_resource_t resource; in get_resource() local 1947 if ((resource = sa_get_share_resource(share, NULL)) != NULL) { in get_resource() 1948 resstring = sa_get_resource_attr(resource, "name"); in get_resource() 1987 sa_resource_t resource; in has_resource_with_opt() local 1990 for (resource = sa_get_share_resource(share, NULL); in has_resource_with_opt() 1991 resource != NULL; in has_resource_with_opt() 1992 resource = sa_get_next_resource(resource)) { in has_resource_with_opt() [all …]
|
/titanic_50/usr/src/cmd/policykit/ |
H A D | polkit-is-privileged.c | 67 char *resource = NULL; in main() local 107 resource = g_strdup (optarg); in main() 142 if (resource != NULL) in main() 143 printf ("resource = '%s'\n", resource); in main() 165 resource, in main()
|
/titanic_50/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
|
/titanic_50/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
|
/titanic_50/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 239 %type <ival> resource component 593 resource_assign: resource name 599 resource: PCE_PSET {$$ = PCE_PSET;}; 831 pool_resource_t *resource; in parser_resource_info() local 834 if ((resource = pool_get_resource(conf, type, cmd->cmd_tgt1)) == NULL) in parser_resource_info() 838 if ((info_buf = pool_resource_info(conf, resource, PO_TRUE)) == NULL) in parser_resource_info() 909 pool_resource_t *resource; in parser_resource_create() local 911 if ((resource = pool_resource_create(conf, type, cmd->cmd_tgt1)) in parser_resource_create() 916 process_min_max(resource); in parser_resource_create() 918 prop_list_walk(cmd, pool_resource_to_elem(conf, resource)); in parser_resource_create() [all …]
|
/titanic_50/usr/src/lib/libfsmgt/common/ |
H A D | libfsmgt.h | 57 char *resource; member 71 char *resource; member 87 char *resource; member 520 fs_mntlist_t *fs_get_filtered_mount_list(char *resource, 1022 nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, char *mountp,
|
H A D | fs_mounts.c | 52 static struct mnttab *create_mnttab_filter(char *resource, char *mountp, 72 free(headp->resource); in fs_free_mount_list() 159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, in fs_get_filtered_mount_list() argument 175 search_entry = create_mnttab_filter(resource, mountp, fstype, in fs_get_filtered_mount_list() 546 newp->resource = strdup(mnttab_entry.mnt_special); in create_mntlist_entry() 547 if (newp->resource == NULL) { in create_mntlist_entry() 606 newp->resource = strdup(mnttab_entry.mnt_special); in create_extmntlist_entry() 607 if (newp->resource == NULL) { in create_extmntlist_entry() 656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument 671 if (resource != NULL) { in create_mnttab_filter() [all …]
|
/titanic_50/usr/src/cmd/fm/eversholt/files/i386/i86pc/ |
H A D | gcpu_amd.esc | 42 * syndrome and syndrome-type, and usually also a resource FMRI to identify 43 * the affected resource. In the AMD case a resource FMRI is included for 46 * on a NorthBridge node. The resource FMRI has form 85 * CONTAINS_CS is true if the resource nvlist array exists and one of its 87 * propogations to those for which a resource element matches the 91 #define CONTAINS_CS (payloadprop_contains("resource", asru(CSPATH))) 101 * | Discard mem_ce with no resource in the ereport payload. | 106 * | the payload detector info) whose resource payload member | 151 { !payloadprop_defined("resource") || !ADDR_VALID } (1)-> 176 { !payloadprop_defined("resource") || !ADDR_VALID } (1)->
|
/titanic_50/usr/src/lib/libshell/common/features/ |
H A D | rlimits | 1 hdr,sys resource,vlimit 3 typ rlim_t sys/types.h sys/resource.h
|
/titanic_50/usr/src/uts/common/os/ |
H A D | ndifm.c | 221 ndi_fmc_insert(dev_info_t *dip, int flag, void *resource, void *bus_specific) in ndi_fmc_insert() argument 241 fpp = &((ddi_dma_impl_t *)resource)->dmai_error.err_fep; in ndi_fmc_insert() 249 fpp = &((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_insert() 263 fep->fce_resource = resource; in ndi_fmc_insert() 285 ndi_fmc_remove(dev_info_t *dip, int flag, const void *resource) in ndi_fmc_remove() argument 310 fep = ((ddi_dma_impl_t *)resource)->dmai_error.err_fep; in ndi_fmc_remove() 311 ((ddi_dma_impl_t *)resource)->dmai_error.err_fep = NULL; in ndi_fmc_remove() 323 fep = ((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_remove() 324 ((ddi_acc_impl_t *)resource)->ahi_err->err_fep = NULL; in ndi_fmc_remove()
|
/titanic_50/usr/src/cmd/plimit/ |
H A D | plimit.c | 391 int resource; in show_limits() local 397 for (resource = 0; resource < RLIM_NLIMITS; resource++) { in show_limits() 398 if (pr_getrlimit64(Pr, resource, &rlim) != 0) in show_limits() 401 switch (resource) { in show_limits() 460 (void) sprintf(buf, " rlimit #%d\t", resource); in show_limits()
|
/titanic_50/usr/src/uts/common/avs/ns/sdbc/ |
H A D | safestore.h | 589 #define SSOP_READ_CBLOCK(ssp, resource, buf, nbyte, srcoffset) \ argument 590 ((ssp)->ssop_read_cblock(resource, buf, nbyte, srcoffset)) 609 #define SSOP_WRITE_CBLOCK(ssp, resource, buf, nbyte, destoffset) \ argument 610 ((ssp)->ssop_write_cblock(resource, buf, nbyte, destoffset))
|