Searched defs:share (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.h28 * basic API declarations for share management
58 int share; /* share only option */ member in struct:option_defs
/illumos-gate/usr/src/uts/common/sharefs/
H A Dshare.h37 * struct share defines the format of an exported filesystem.
42 typedef struct share { struct
49 struct share *sh_next;
74 extern int sharefs(enum sharefs_sys_op opcode, struct share *sh,
79 extern int _sharefs(enum sharefs_sys_op opcode, struct share *sh);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfrd.c246 { int share = f->flags&SF_SHARE; local
258 else f->flags |= share;
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c115 double share; local
163 share = arcp->arc_time + arcp->arc_childtime;
164 parentp->childtime += share;
168 propshare = parentp->propfraction * share;
176 * add this share to the parent's cycle header, if any.
179 parentp->cyclehead->childtime += share;
191 (void) printf("\n[dotime] share %f\n", share);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.h59 long share; /* flag whether to use shared memory */ member in struct:__anon4454
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw_hio.h41 kstat_named_t state; /* share state */
42 } share[1]; member in struct:vsw_hio_kstats
47 uint32_t vs_state; /* State of this share */
54 uint64_t vs_ldcid; /* LDC to which the share is assigned */
/illumos-gate/usr/src/lib/libshare/common/
H A Dplugin.c268 * sa_proto_share(proto, share)
270 * Activate a share for the specified protocol.
274 sa_proto_share(char *proto, sa_share_t share) argument
280 ret = ops->sa_share(share);
285 * sa_proto_unshare(proto, share)
287 * Deactivate (unshare) the share for this protocol.
291 sa_proto_unshare(sa_share_t share, char *proto, char *path) argument
297 ret = ops->sa_unshare(share, path);
528 * sa_proto_update_legacy(proto, share)
531 * specified share
535 sa_proto_update_legacy(char *proto, sa_share_t share) argument
554 sa_proto_delete_legacy(char *proto, sa_share_t share) argument
603 sa_proto_change_notify(sa_share_t share, char *proto) argument
[all...]
H A Dscfutil.c199 * Shares are represented in SMF as property groups. Due to share
387 * List of known share attributes.
411 * Make a resource node on the share node. The valusestr will either
458 * Extract the share definition from the share property group. We do
504 * Construct the share XML node. It is similar to sa_add_share
509 node = xmlNewChild(root, NULL, (xmlChar *)"share", NULL);
513 * stored in the share "id" property. We use this
524 /* Iterate over the share pg properties */
552 * If a share att
638 sa_share_t share = NULL; local
670 find_resource_by_index(sa_share_t share, char *index) argument
714 sa_share_t share; local
1498 check_resource(sa_share_t share) argument
1526 sa_set_resource_property(scfutilhandle_t *handle, sa_share_t share) argument
1653 sa_commit_share(scfutilhandle_t *handle, sa_group_t group, sa_share_t share) argument
1816 remove_resources(scfutilhandle_t *handle, sa_share_t share, char *shareid) argument
1859 sa_delete_share(scfutilhandle_t *handle, sa_group_t group, sa_share_t share) argument
[all...]
H A Dlibshare_zfs.c84 * zfs file share info.
519 * zfs_construct_resource(share, name, base, dataset)
521 * Add a resource to the share using name as a template. If name ==
526 zfs_construct_resource(sa_share_t share, char *dataset) argument
533 (void) sa_add_resource(share, buff, SA_SHARE_TRANSIENT, &ret);
539 * handle case of inherited share{nfs,smb}. Pulled out of sa_get_zfs_shares
543 zfs_inherited(sa_handle_t handle, sa_share_t share, char *sourcestr, argument
562 * We may need the first share for resource
566 if (share == NULL)
567 share
617 zfs_notinherited(sa_group_t group, sa_share_t share, char *mountpoint, char *shareopts, char *proto, char *dataset, int grouperr) argument
695 sa_zfs_process_share(sa_handle_t handle, sa_group_t group, sa_share_t share, char *mountpoint, char *proto, zprop_source_t source, char *shareopts, char *sourcestr, char *dataset) argument
754 sa_share_t share; local
979 add_resources(sa_share_t share, char *opt) argument
1035 sa_share_t share; local
1242 sa_sharetab_fill_zfs(sa_share_t share, share_t *sh, char *proto) argument
1264 sa_share_zfs(sa_share_t share, sa_resource_t resource, char *path, share_t *sh, void *exportdata, zfs_share_op_t operation) argument
[all...]
H A Dlibsharecore.c55 #include <sharefs/share.h>
61 "# Use the sharemgr(1m) command for all share management\n",
204 char buff[_POSIX_ARG_MAX]; /* reasonable size given syntax of share */
398 * adddfsentry(list, share, proto)
400 * Add an entry to the dfstab list for share (relative to proto). This
405 adddfsentry(xfs_sharelist_t *list, sa_share_t share, char *proto) argument
413 parent = sa_get_parent_group(share);
419 item->path = sa_get_share_attr(share, "path");
420 item->resource = sa_get_share_attr(share, "resource");
423 item->options = sa_proto_legacy_format(proto, share,
577 sa_delete_legacy(sa_share_t share, char *protocol) argument
675 sa_update_legacy(sa_share_t share, char *proto) argument
862 _sa_free_dummy_share(sa_share_t share) argument
1099 sa_share_t share; local
1288 sa_share_t share; local
1449 sa_share_t share; local
1957 sa_fillshare(sa_share_t share, char *proto, struct share *sh) argument
2108 sa_update_sharetab(sa_share_t share, char *proto) argument
[all...]
H A Dlibshare.c92 * with a group or share and find the library handle needed for
208 ret = dgettext(TEXT_DOMAIN, "path is a subpath of share");
211 ret = dgettext(TEXT_DOMAIN, "path is parent of a share");
397 * is_shared(share)
399 * determine if the specified share is currently shared or not.
402 is_shared(sa_share_t share) argument
407 shared = sa_get_share_attr(share, "shared");
417 * excluded_protocol(share, proto)
425 excluded_protocol(sa_share_t share, char *proto) argument
431 protolist = sa_get_share_attr(share, "exclud
460 sa_share_t share; local
560 sa_share_t share; local
1259 sa_get_next_share(sa_share_t share) argument
1302 sa_share_t share; local
1346 sa_share_t share = NULL; local
1403 mark_excluded_protos(sa_group_t group, xmlNodePtr share, uint64_t flags) argument
1607 sa_enable_share(sa_share_t share, char *protocol) argument
1669 sa_disable_share(sa_share_t share, char *protocol) argument
1716 sa_remove_share(sa_share_t share) argument
1784 sa_move_share(sa_group_t group, sa_share_t share) argument
1829 sa_get_parent_group(sa_share_t share) argument
2170 sa_get_share_attr(sa_share_t share, char *tag) argument
2184 _sa_set_share_description(void *share, char *content) argument
2203 sa_set_share_attr(sa_share_t share, char *tag, char *value) argument
2504 sa_set_share_description(sa_share_t share, char *content) argument
2569 sa_get_share_description(sa_share_t share) argument
2611 sa_share_t share = NULL; local
2744 zfs_needs_update(sa_share_t share) argument
2765 zfs_set_update(sa_share_t share) argument
2839 sa_share_t share = sa_get_resource_parent(resource); local
3080 sa_share_t share = NULL; local
3671 sa_get_share_resource(sa_share_t share, char *resource) argument
3734 _sa_get_next_resource_index(sa_share_t share) argument
3764 sa_add_resource(sa_share_t share, char *resource, int persist, int *error) argument
3832 sa_share_t share; local
3920 sa_share_t share; local
4001 sa_share_t share = NULL; local
4017 sa_share_t share; local
4092 sa_share_t share = NULL; local
4174 sa_share_t share = NULL; local
4340 sa_share_t share; local
[all...]
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.h28 * basic API declarations for share management
89 int share; /* share only option */ member in struct:option_defs
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetdfs.c198 if (param->server == NULL || param->share == NULL) {
232 (const char *)param->share, (const char *)param->comment,
269 /* both server and share must be NULL or non-NULL */
270 if ((param->server == NULL && param->share != NULL) ||
271 (param->server != NULL && param->share == NULL)) {
285 (const char *)param->share);
322 /* both server and share must be NULL or non-NULL */
323 if ((param->server == NULL && param->share != NULL) ||
324 (param->server != NULL && param->share == NULL)) {
353 (const char *)param->server, (const char *)param->share);
702 const char *share = (const char *)param->share; local
732 const char *share = (const char *)param->share; local
[all...]
H A Ddfs.c242 * Flushes the cache when a DFS root share is removed
251 * Returns the file system path for the given share if it
252 * is a DFS root share.
254 * or not the given share represents a DFS namespace
307 * This function does not create the root share, it
396 syslog(LOG_WARNING, "dfs: failed to disable root share %s (%d)",
550 dfs_link_add(const char *path, const char *server, const char *share, argument
600 if (dfs_target_find(info.i_targets, ntargets, server, share) != -1) {
613 dfs_target_init(&info.i_targets[ntargets], server, share,
627 * 'server' and 'share' parameter
632 dfs_link_remove(const char *path, const char *server, const char *share) argument
1090 char *share = arg; local
1598 dfs_target_init(dfs_target_t *t, const char *srv, const char *share, uint32_t state) argument
1614 dfs_target_find(dfs_target_t *targets, uint32_t ntargets, const char *server, const char *share) argument
[all...]
H A Dsrvsvc_svc.c184 * share and save it.
227 * List tree connections made to a share on this server or all tree
246 * NERR_NetNameNotFound The share qualifier cannot be found.
474 * The qualifier is a string that specifies a share name or computer name
475 * for the connections of interest. If it is a share name then all the
476 * connections made to that share name are listed. If it is a computer
1059 * This call is made by SrvMgr to set share information.
1181 * connections to a share.
1950 * Add a new share. Only power users groups can manage shares.
2074 * Level 0: share name
2894 sa_share_t share; local
2968 sa_share_t share; local
3051 sa_share_t share; local
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c802 DWORD share = FILE_SHARE_DELETE; local
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c281 * user name, and share name, as needed. We need these
460 * "//[[domain;]user[:password]@]host[/share[/path]]"
470 char *host, *share, *path; local
499 /* Find the share part, if any. */
500 share = strchr(p, '/');
501 if (share)
502 *share = '\0';
567 if (share != NULL) {
569 *share = '/';
570 p = share
826 smb_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmp_platform_misc.c193 * IPLs share an irq.
356 * may share IRQs. This can happen in two ways.
944 * Attempt to share vector with someone else
954 int newirq, chosen_irq = -1, share = 127; local
983 if (irqptr->airq_share < share) {
984 share = irqptr->airq_share;
990 * Assign a share id which is free or which is larger
1148 /* try high priority allocation now that share has failed */
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_transact.c970 char *share; local
975 &share, &level, &max_bytes) != 0)
978 si = smb_kshare_lookup(sr->sr_server, share);
H A Dsmb_kshare.c92 * a share to be added/removed
203 * share for the given host (ipaddr) by calling smbd
375 nvlist_t *share; local
410 if ((rc = nvpair_value_nvlist(nvp, &share)) != 0) {
416 if ((shr = smb_kshare_decode(share)) == NULL) {
437 * This function is invoked when a share is disabled to disconnect trees
499 * of specified share.
515 * The data associated with each share has two parts, a fixed size part and
516 * a variable size part which is share's comment. The outline of the response
631 * Looks up the given share an
828 smb_kshare_decode(nvlist_t *share) argument
[all...]
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dmp_platform_xpv.c182 * IPLs share an irq.
313 * may share IRQs. This can happen in two ways.
899 * Attempt to share vector with someone else
909 int newirq, chosen_irq = -1, share = 127; local
938 if (irqptr->airq_share < share) {
939 share = irqptr->airq_share;
945 * Assign a share id which is free or which is larger
1103 /* try high priority allocation now that share has failed */
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c59 * mount/unmount and share/unshare all datasets within pool:
94 * The share protocols table must be in the same order as the zfs_share_prot_t
722 * wrapper around sa_find_share to find a share path in the
734 * zfs_sa_enable_share(share, proto)
736 * Wrapper for sa_enable_share which enables a share for a specified
740 zfs_sa_enable_share(sa_share_t share, char *proto) argument
743 return (_sa_enable_share(share, proto));
748 * zfs_sa_disable_share(share, proto)
750 * Wrapper for sa_enable_share which disables a share for a specified
754 zfs_sa_disable_share(sa_share_t share, cha argument
773 sa_share_t share; local
882 sa_share_t share; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c914 volatile int scope=0, share=0; local
971 share = sfset(sfstdin,SF_SHARE,0);
1051 if(share&SF_SHARE)
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c253 * set_resource_desc(share, description)
255 * Set the share description value after converting the description
260 set_resource_desc(sa_share_t share, char *description) argument
266 ret = sa_set_resource_description(share, desc);
273 * set_share_desc(share, description)
280 set_share_desc(sa_share_t share, char *description) argument
286 ret = sa_set_share_description(share, desc);
448 * notify_or_enable_share(share, protocol)
457 notify_or_enable_share(sa_share_t share, char *protocol) argument
464 sa_share_t parent = share;
536 sa_share_t share; local
914 sa_share_t share; local
1025 sa_share_t share; local
1433 sa_share_t share; local
1941 get_resource(sa_share_t share) argument
1985 has_resource_with_opt(sa_share_t share) argument
2009 has_multiple_resource(sa_share_t share) argument
2033 show_share(sa_share_t share, int verbose, int properties, char *proto, int iszfs, char *sharepath) argument
2169 sa_share_t share; local
2405 enable_share(sa_handle_t handle, sa_group_t group, sa_share_t share, int update_legacy) argument
2536 sa_share_t share; local
2813 sa_share_t share; local
3010 sa_share_t share = NULL; local
3268 sa_share_t share = NULL; local
3631 zfscheck(sa_group_t group, sa_share_t share) argument
3682 sa_share_t share = NULL; local
3811 sa_share_t share = NULL; local
4205 sa_share_t share = NULL; local
4328 sa_share_t share = NULL; local
4720 sa_share_t share; local
5176 remove_all_options(sa_share_t share, char *proto) argument
5294 sa_share_t share; local
5447 sa_share_t share; local
5786 sa_share_t share; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix.c1167 /* allocate or share vector for fixed */
2214 int share; local
2222 share = irqp->airq_share;
2225 return (share);

Completed in 152 milliseconds

12