/osnet-11/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...] |
/osnet-11/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);
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_protocol.c | 83 topo_node_resource(tnode_t *node, nvlist_t **resource, int *err) argument 87 TOPO_PROP_RESOURCE, resource, err));
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 120 const char *resource, 213 const char *resource, 116 libpolkit_is_uid_allowed_for_privilege(LibPolKitContext *ctx, const char *system_bus_unique_name, const char *user, const char *privilege, const char *resource, gboolean *out_is_allowed, gboolean *out_is_temporary, char **out_is_privileged_but_restricted_to_system_bus_unique_name) argument 210 libpolkit_revoke_temporary_privilege(LibPolKitContext *ctx, const char *user, const char *privilege, const char *resource, gboolean *result) argument
|
/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | libfsmgt.h | 53 char *resource; member in struct:mount_default_list 67 char *resource; member in struct:mount_list 83 char *resource; member in struct:share_list 497 * 1.) resource 503 * char *resource - The name of the resource to be mounted 516 fs_mntlist_t *fs_get_filtered_mount_list(char *resource, 899 * Description: Retrieves the resource information from the dfstab entry 903 * fs_dfstab_entry_t entry - the dfstab entry to retrieve the resource 908 * A NULL value indecates that no resource informatio [all...] |
H A D | nfs_mntinfo.c | 99 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, argument 105 fs_mount_list = fs_get_filtered_mount_list(resource, mountp, 337 if ((mrp->nml_resource = strdup(fsmnt_list->resource)) 365 * If the number of servers is not 1 then resource is
|
H A D | fs_dfstab.c | 46 char *resource; member in struct:dfstab_entry 142 if (headp->resource != NULL) { 143 free(headp->resource); 542 * Accessor function for resource element of dfstab entry. 551 return (entryptr->resource);
|
H A D | fs_mounts.c | 52 static struct mnttab *create_mnttab_filter(char *resource, char *mountp, 72 free(headp->resource); 159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, argument 175 search_entry = create_mnttab_filter(resource, mountp, fstype, 546 newp->resource = strdup(mnttab_entry.mnt_special); 547 if (newp->resource == NULL) { 606 newp->resource = strdup(mnttab_entry.mnt_special); 607 if (newp->resource == NULL) { 656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, argument 671 if (resource ! [all...] |
/osnet-11/usr/src/lib/libstmf/common/ |
H A D | libstmf_impl.h | 44 void *resource; member in struct:_luResourceImpl
|
H A D | libstmf.h | 344 viewResource resource[1]; member in struct:_viewResourceList 400 int stmfGetViewLuNumberList(viewResource resource, 402 int stmfGetViewProp(viewResource resource, stmfViewPropType propType,
|
H A D | stmf.c | 1586 * hdl - handle to logical unit resource created via stmfCreateLuResource 1602 ret = createDiskLu((diskResource *)luPropsHdl->resource, 1614 * Purpose: Create resource handle for a logical unit 1616 * dType - Type of logical unit resource to create 2074 * Creates a logical unit resource of type STMF_DISK. 2084 hdl->resource = calloc(1, sizeof (diskResource)); 2085 if (hdl->resource == NULL) { 2097 * hdl - handle to logical unit resource created via stmfCreateLuResource 2359 ret = modifyDiskLu((diskResource *)luPropsHdl->resource, luGuid, fname); 2672 * Purpose: Get current value for a resource propert 5792 stmfGetViewLuNumberList(viewResource resource, stmfLuNbrEntryList **luNbrList) argument 5912 stmfGetViewProp(viewResource resource, stmfViewPropType propType, char *propVal, size_t *propLen) argument [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/private/ |
H A D | private.c | 84 * `resource' and store in `converp'. One might think we could do this via 91 get_conver(const char *resource, int *converp) argument 104 DSVC_MODULE_DIR, DSVC_PUBLIC_PREFIX, resource);
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_audit.c | 433 char *resource = asr_get_resource(edata, node); local 445 if (resource != NULL) 446 err |= asr_buf_append_xml_ai(ai, 3, "resource", resource); 455 if (resource != NULL) 456 name = asr_fmri_str_to_name(resource); 492 if (resource != NULL) 493 free(resource);
|
H A D | asr_fault.c | 202 nvlist_t *asru, *resource; local 223 fault, FM_FAULT_RESOURCE, &resource) != 0) 224 resource = NULL; 232 if (asru == NULL && resource == NULL) { 234 "no fru, asru, or resource"); 238 fmrinvl = asru == NULL ? resource : asru; 390 if (resource != NULL) { 391 char *rstr = asr_topo_fmri2str(thp, resource); 394 bp, pad, "resource", rstr);
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_subr.c | 232 * Construct an hc scheme resource FMRI for a node named name with 377 nvlist_t *resource; local 392 * node. If there is a serial id in the resource fmri, then use that. 397 if (topo_node_resource(dimmnode, &resource, &err) != -1) { 398 if (nvlist_lookup_string(resource, FM_FMRI_HC_V1_FRU_SN, 400 nvlist_lookup_string(resource, FM_FMRI_HC_V0_SERIAL, 403 nvlist_free(resource); 406 nvlist_free(resource); 410 nvlist_free(resource);
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_upgrade.c | 32 * resources. Groups can contain shares and shares can have different resource 47 * named with resource name "exp" and has a description of "comment". 48 * Additionally the resource has "rw=.CIFSDEVDC, abe=true, csc=manual" 58 * Group names start with "optionset" and share and resource names 59 * start with "S-". The share (with path "/export/home") with resource name 68 * S-d49965d5-a91b-4b40-996d-bff3e535e582/resource astring "1:exp:comment" 451 * Extract a resource node from the share node. The resource node is 456 * S-{uuid}/resource astring "1:exp:" "2:exp1:test-descrip" 464 nvlist_t *resource local 519 nvlist_t *node, *pnode, *share, *resource; local 1300 nvlist_t *resource = NULL; local [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_util.c | 739 char *resource; local 743 resource = mnttab.mnt_special; 744 resource += strspn(resource, "/"); 745 (void) strlcpy(dataset, resource, len);
|
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 560 * resource. 577 * Remove a resource entry with the supplied type and id from the 1072 * Now add resource details (including components) 1114 xmlNodePtr resource = info.ktx_node; local 1120 node_create(resource, 1336 * Note: This logic is resource specific and must be 1337 * extended for additional resource types. 1511 * the supplied type of resource. If a binding cannot be determined, 1719 * If it's a resource class, it will need an initial size 1856 * Transfer resource component 1984 pool_knl_pool_associate(pool_t *pool, const pool_resource_t *resource) argument 2038 pool_knl_pool_dissociate(pool_t *pool, const pool_resource_t *resource) argument [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | usage.c | 1036 * based on a "resource" name. 1040 char *logfile, char *resource, char *stime, char *etime, void *arg) 1075 /* Get to the resource we are interested in */ 1076 if (strcmp(resource, nns->net_stat_name) != 0) { 1182 * Walk the time sorted list if a resource is not specified. 1283 * for this resource and proceed. We will end up writing 1287 * resource for which we hit a reference entry. 1365 char *logfile, char *resource, void *arg) 1390 /* get to the resource we are interested in */ 1391 if (resource ! 1039 dladm_walk_usage_res(int (*fn)(dladm_usage_t *, void *), int logtype, char *logfile, char *resource, char *stime, char *etime, void *arg) argument 1364 dladm_usage_dates(int (*fn)(dladm_usage_t *, void *), int logtype, char *logfile, char *resource, void *arg) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | hfsplus.c | 155 struct grub_hfsplus_forkdata resource; member in struct:grub_hfsplus_catfile
|
/osnet-11/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 99 #define DTD_ATTR_RESOURCE ((const xmlChar *) "resource") 764 xmlChar *resource, *property, *value, *state; local 803 resource = xmlGetProp(node, DTD_ATTR_RESOURCE); 804 if (resource == NULL) { 810 if (streq((char *)resource, res) && 816 xmlFree(resource); 845 xmlChar *resource, *property, *value, *state; local 871 resource = xmlGetProp(node, DTD_ATTR_RESOURCE); 875 if (streq((char *)resource, res) && 880 if (resource ! [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_share.c | 3503 * Rename the .zfs/share resource file associated with a zfs share object 3870 char *path, char *resource) 3873 ZFS_SHARE_RESOURCE_ADD, resource, NULL, 0)); 3893 char *resource, char *share_data, int len) 3896 ZFS_SHARE_RESOURCE_READ, resource, share_data, len)); 3901 char *path, char *resource, boolean_t persist) 3940 if (zfs_matches_auto_share(zhp, resource, 3954 zfs_get_name(zhp), resource); 3966 (void) strlcpy(zc.zc_string, resource, sizeof (zc.zc_string)); 3983 char *resource, cha 3869 zfs_share_resource_add(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 3892 zfs_share_resource_read(libzfs_handle_t *hdl, char *dataset, char *path, char *resource, char *share_data, int len) argument 3900 zfs_share_resource_remove(libzfs_handle_t *hdl, char *dataset, char *path, char *resource, boolean_t persist) argument 3982 zfs_share_resource_write(libzfs_handle_t *hdl, char *dataset, char *path, char *resource, char *share_data, int len) argument [all...] |