Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 142) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c72 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);
331 sm_memstat_get(resource, pvalue)
[all …]
H A Dt-memstat.c49 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);
/illumos-gate/usr/src/uts/common/syscall/
H A Drlimit.c298 if (resource < 0 || resource >= RLIM_NLIMITS) 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()
376 if (resource < 0 || resource >= RLIM_NLIMITS) in setrlimit32()
387 if (RLIM_SAVED(resource)) { in setrlimit32()
428 rctlproc_flags[resource], rctlproc_signals[resource], CRED())) { in setrlimit32()
447 if (resource < 0 || resource >= RLIM_NLIMITS) in getrlimit64()
467 if (resource < 0 || resource >= RLIM_NLIMITS) in setrlimit64()
[all …]
/illumos-gate/usr/src/cmd/fm/dicts/
H A DNIC.po24resource.hc-specific.txr_index> (SFP/SFP+/QSFP+ etc.) in %<fault-list[0].resource.hc-specific.link…
26 …disabled, and the network data link associated with it (%<fault-list[0].resource.hc-specific.link-…
41resource.hc-specific.txr_index> (SFP/SFP+/QSFP+ etc.) in %<fault-list[0].resource.hc-specific.link…
43 …disabled, and the network data link associated with it (%<fault-list[0].resource.hc-specific.link-…
58resource.hc-specific.txr_index> (SFP/SFP+/QSFP+ etc.) in %<fault-list[0].resource.hc-specific.link…
60 …disabled, and the network data link associated with it (%<fault-list[0].resource.hc-specific.link-…
75resource.hc-specific.txr_index> (SFP/SFP+/QSFP+ etc.) in %<fault-list[0].resource.hc-specific.link…
77 …disabled, and the network data link associated with it (%<fault-list[0].resource.hc-specific.link-…
92 … transceiver module %<fault-list[0].resource.hc-specific.txr_index> (SFP/SFP+/QSFP+ etc.) in %<fau…
94 …disabled, and the network data link associated with it (%<fault-list[0].resource.hc-specific.link-…
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c71 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 …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrlimit.c42 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()
195 return (setrlimit64(resource, rlp)); in pr_setrlimit64()
[all …]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c392 sa_resource_t resource; in smb_enable_share() local
439 resource != NULL; in smb_enable_share()
440 resource = sa_get_next_resource(resource)) { in smb_enable_share()
575 sa_resource_t resource; in smb_share_changed() local
586 resource != NULL; in smb_share_changed()
587 resource = sa_get_next_resource(resource)) in smb_share_changed()
636 sa_resource_t resource; in smb_disable_share() local
659 resource != NULL; in smb_disable_share()
660 resource = sa_get_next_resource(resource)) { in smb_disable_share()
1602 sa_resource_t resource; in smb_add_transient() local
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dnetwork_rcm.c66 char *resource; member
582 if (probe->resource && in cache_lookup()
583 (strcmp(resource, probe->resource) == 0)) { in cache_lookup()
600 free(node->resource); in free_node()
679 (void) snprintf(resource, sizeof (resource), "/devices%s", devfspath); in devfs_entry()
693 resource, linkid); in devfs_entry()
699 resource, linkid); in devfs_entry()
706 probe->resource = strdup(resource); in devfs_entry()
758 probe->resource); in update_cache()
772 probe->resource); in update_cache()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_rs.c148 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()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c2298 sa_share_t resource; in sa_set_share_attr() local
2312 if (resource != share && resource != NULL) in sa_set_share_attr()
3833 resource != NULL; in _sa_get_next_resource_index()
3834 resource = sa_get_next_resource(resource)) { in _sa_get_next_resource_index()
4095 if (resource != NULL) in sa_get_resource_parent()
4118 resource != NULL; in find_resource()
4119 resource = sa_get_next_resource(resource)) { in find_resource()
4131 return (resource); in find_resource()
4165 if (resource != NULL) in sa_find_resource()
4168 return (resource); in sa_find_resource()
[all …]
H A Dscfutil.c672 sa_resource_t resource; in find_resource_by_index() local
678 resource = sa_get_next_resource(resource)) { 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
1500 sa_resource_t resource; in check_resource() local
1505 resource = sa_get_next_resource(resource)) { in check_resource()
1531 sa_resource_t resource; in sa_set_resource_property() local
1559 resource != NULL; in sa_set_resource_property()
1560 resource = sa_get_next_resource(resource)) { in sa_set_resource_property()
1818 sa_resource_t resource; in remove_resources() local
[all …]
H A Dplugin.c311 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 Dlibsharecore.c81 char *resource; member
283 char *resource; in getdfstab() local
286 resource = args[optind]; in getdfstab()
292 if (resource != NULL && in getdfstab()
293 strlen(resource) > 0) in getdfstab()
294 item->resource = in getdfstab()
295 strdup(resource); in getdfstab()
478 item->resource : "", in outdfstab()
1072 free(entry->resource); in dfs_free_list()
1546 tmplist->resource); in parse_sharetab_impl()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c238 if (resource == NULL) in print_rsrc_desc()
1996 resource != NULL; in has_resource_with_opt()
1997 resource = sa_get_next_resource(resource)) { in has_resource_with_opt()
2021 resource = sa_get_next_resource(resource)) { in has_multiple_resource()
2125 resource = sa_get_next_resource(resource)) { in show_share()
2740 resource, in sa_addshare()
2754 resource, in sa_addshare()
3230 resource = in sa_removeshare()
3732 resource); in basic_set()
5329 char *resource; in out_share() local
[all …]
/illumos-gate/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c70 char *resource = NULL; in main() local
110 resource = g_strdup (optarg); in main()
145 if (resource != NULL) in main()
146 printf ("resource = '%s'\n", resource); in main()
168 resource, in main()
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y237 %type <ival> resource component
591 resource_assign: resource name
829 pool_resource_t *resource; in parser_resource_info() local
907 pool_resource_t *resource; in parser_resource_create() local
914 process_min_max(resource); in parser_resource_create()
974 pool_resource_t *resource; in parser_pset_rename() local
1016 pool_resource_t *resource; in parser_resource_destroy() local
1066 pool_resource_t *resource; in parser_resource_modify() local
1072 process_min_max(resource); in parser_resource_modify()
1156 pool_resource_t *resource; in parser_resource_xtransfer() local
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs-diagnosis.conf30 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 Dzfs-retire.conf33 subscribe resource.fs.zfs.removed
34 subscribe resource.fs.zfs.statechange
35 subscribe resource.sysevent.EC_zfs.ESC_ZFS_vdev_remove
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Drlimits1 hdr,sys resource,vlimit sys/time.h
3 typ rlim_t,rlim64_t sys/types.h sys/time.h sys/resource.h
8 # include <sys/resource.h>
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h57 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 Dfs_mounts.c52 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 …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dgcpu_amd.esc42 * 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)->
/illumos-gate/usr/src/uts/common/os/
H A Dndifm.c221 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()
250 fpp = &((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_insert()
268 fep->fce_resource = resource; in ndi_fmc_insert()
290 ndi_fmc_remove(dev_info_t *dip, int flag, const void *resource) in ndi_fmc_remove() argument
315 fep = ((ddi_dma_impl_t *)resource)->dmai_error.err_fep; in ndi_fmc_remove()
316 ((ddi_dma_impl_t *)resource)->dmai_error.err_fep = NULL; in ndi_fmc_remove()
328 fep = ((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_remove()
329 ((ddi_acc_impl_t *)resource)->ahi_err->err_fep = NULL; in ndi_fmc_remove()
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c392 int resource; in show_limits() local
398 for (resource = 0; resource < RLIM_NLIMITS; resource++) { in show_limits()
399 if (pr_getrlimit64(Pr, resource, &rlim) != 0) in show_limits()
402 switch (resource) { in show_limits()
461 (void) sprintf(buf, " rlimit #%d\t", resource); in show_limits()
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c213 name_list_t *resource; member
231 char *resource; member
525 status_rec_p->resource = resource; in new_record_init()
657 np->resource = fp->name; in add_resource_list()
1248 if (srp->resource) { in print_sup_record()
1251 print_name_list(srp->resource, in print_sup_record()
1256 print_name_list(srp->resource, in print_sup_record()
1418 fru = find_fru(srp, tp->resource); in print_fru()
1442 if (strcmp(tp->resource, in print_fru()
1479 fru = find_fru(srp, tp->resource); in print_fru()
[all …]

123456