Searched defs:sh_name (Results 1 - 19 of 19) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/include/
H A Dshtable.h35 const char *sh_name; member in struct:shtable1
41 const char *sh_name; member in struct:shtable2
48 const char *sh_name; member in struct:shtable3
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_cache.c109 * sh_name : name of share to remove
117 sacache_share_remove(const char *sh_name) argument
125 return (ops->sac_share_remove(sh_name));
151 * sh_name : name of share, cannot be NULL
171 sacache_share_lookup(const char *sh_name, const char *sh_path, sa_proto_t proto, argument
180 return (ops->sac_share_lookup(sh_name, sh_path, proto, share));
367 sacache_share_validate_name(const char *sh_name, sa_validate_flags_t flags) argument
375 return (ops->sac_share_validate_name(sh_name, flags));
H A Dlibshare_fs.c237 const char *sh_name, sa_proto_t *protos)
250 return (ops->saf_sharing_enabled(shdl, path, sh_name, protos));
255 const char *sh_name, sa_proto_t proto, char **props)
267 return (ops->saf_sharing_get_prop(shdl, mntpnt, sh_name, proto, props));
277 const char *sh_name, sa_proto_t proto, const char *props)
289 return (ops->saf_sharing_set_prop(shdl, mntpnt, sh_name, proto, props));
314 const char *sh_name, nvlist_t **share)
326 return (ops->saf_share_read(shdl, fs_name, sh_name, share));
379 safs_share_remove(libshare_handle_t *shdl, const char *sh_name, argument
392 return (ops->saf_share_remove(shdl, fs_name, sh_name, persis
236 safs_sharing_enabled(libshare_handle_t *shdl, const char *path, const char *sh_name, sa_proto_t *protos) argument
254 safs_sharing_get_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, char **props) argument
276 safs_sharing_set_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *props) argument
313 safs_share_read(libshare_handle_t *shdl, const char *fs_name, const char *sh_name, nvlist_t **share) argument
396 safs_share_get_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t **aclp) argument
413 safs_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
[all...]
H A Dlibshare_proto.c122 saproto_share_validate_name(const char *sh_name, sa_proto_t proto, argument
136 return (ops->sap_share_validate_name(sh_name, flags, errbuf, buflen));
227 saproto_share_unpublish_byname(const char *sh_name, const char *sh_path, argument
236 return (ops->sap_share_unpublish_byname(sh_name, sh_path, wait));
H A Dlibshare_util.c187 char *sh_name; local
195 sh_name = nvpair_name(nvp);
197 if (strcasecmp(name, sh_name) == 0)
218 char *sh_name; local
231 if ((sh_name = sa_share_get_name(share)) == NULL)
235 if ((old_name = strdup(sh_name)) == NULL)
267 if ((old_name = strdup(sh_name)) == NULL)
419 char *sh_name; local
423 if ((sh_name = strdup(sh_path)) == NULL)
429 sa_path_to_shr_name(sh_name);
[all...]
H A Dlibshare_upgrade.c652 char *name, *valuestr, *sh_name; local
749 sh_name = strdup(path);
750 if (sh_name == NULL) {
754 sa_path_to_shr_name(sh_name);
755 ret = sa_upgrade_extract_resource(share, path, sh_name);
756 free(sh_name);
H A Dlibshare.c726 sa_share_validate_name(const char *sh_name, const char *sh_path, argument
733 if (sh_name == NULL) {
741 if ((rc = saproto_share_validate_name(sh_name, p, flags,
748 if (sa_share_lookup(sh_name, NULL, SA_PROT_ANY,
757 sa_strerror(rc), sh_name);
771 sa_strerror(rc), sh_name);
781 rc = sacache_share_validate_name(sh_name, flags);
788 sa_strerror(rc), sh_name);
812 char *sh_name = NULL; local
865 if (nvpair_value_string(nvp, &sh_name) !
1169 char *sh_path, *sh_name; local
1364 sa_share_list_add(nvlist_t **share_list, nvlist_t *share, const char *sh_name, int proto_cnt, boolean_t publish) argument
1707 char *sh_name = sa_share_get_name(share); local
1779 char *sh_name; local
1917 char *sh_name; local
1995 char *sh_name; local
2069 char *sh_name; local
2119 char *sh_name; local
2333 sa_share_remove(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, boolean_t persist) argument
2431 sa_share_lookup(const char *sh_name, const char *sh_path, sa_proto_t proto, nvlist_t **share) argument
2456 sa_share_read(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, nvlist_t **share) argument
2771 sa_share_get_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t **aclp) argument
2789 sa_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
2869 sa_sharing_enabled(libshare_handle_t *shdl, const char *path, const char *sh_name) argument
2889 sa_sharing_prop_enabled(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto) argument
2914 sa_sharing_get_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t prot, char **sh_props) argument
2932 sa_sharing_set_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *sh_prop) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h61 Elf32_Word sh_name; /* Section name (index into the member in struct:__anon214
/osnet-11/usr/src/lib/libshare_plugins/cache/
H A Dlibshare_cache.c135 sa_cache_share_remove(const char *sh_name) argument
137 NOTE(ARGUNUSED(sh_name))
149 sa_cache_lookup(const char *sh_name, const char *sh_path, sa_proto_t proto, argument
156 if (sh_name == NULL)
166 (void) strlcpy(ioc->sh_name, sh_name, SHAREFS_SH_NAME_MAX);
340 sa_cache_validate_name(const char *sh_name, sa_validate_flags_t flags) argument
342 NOTE(ARGUNUSED(sh_name))
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dmod.c145 const char *sh_name; local
153 sh_name = elf_strptr(elf,
154 ehdr.e_shstrndx, (size_t)shdr.sh_name);
155 if (strcmp(sh_name, ".filename") != 0)
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/
H A DPg.pm232 sub sh_name subroutine
234 scalar @_ == 2 or _usage("sh_name(cookie, pg)");
236 return ($pg->{sh_name});
351 return (_uniq(map { $self->sh_name($_) } @pgs));
465 my $shname = $pg->{sh_name} or return;
663 my $shname = $pg2->{sh_name} or return;
933 $pg->{sh_name} = $pg_ks->{relationship} || $pg_ks->{sharing_relation};
939 $pg->{sh_name} =~ s/ /_/g;
963 $pg->{sh_name} = 'System';
1016 _relationship_order($a->{sh_name}) <
[all...]
/osnet-11/usr/src/lib/libshare_plugins/zfs/
H A Dlibshare_zfs.c217 const char *sh_name, nvlist_t **sharep)
225 rc = zfssa_share_storage_read(zfs_hdl, mntpnt, sh_name, sharep);
238 sh_name);
289 char *sh_name = sa_share_get_name(*sharep); local
293 sh_name == NULL ? "<invalid share>" : sh_name);
314 const char *sh_name, boolean_t persist)
333 (char *)sh_name, persist);
343 sh_name, strerror(errno));
352 sa_zfs_share_get_acl(libshare_handle_t *shdl, const char *sh_name, argument
216 sa_zfs_share_read(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, nvlist_t **sharep) argument
313 sa_zfs_share_remove(libshare_handle_t *shdl, const char *fs_name, const char *sh_name, boolean_t persist) argument
405 sa_zfs_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
483 sa_zfs_sharing_enabled(libshare_handle_t *shdl, const char *sh_path, const char *sh_name, sa_proto_t *protos) argument
499 sa_zfs_sharing_get_prop(libshare_handle_t *shdl, const char *sh_path, const char *sh_name, sa_proto_t proto, char **props) argument
513 sa_zfs_sharing_set_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *props) argument
[all...]
/osnet-11/usr/src/lib/libshare_plugins/legacy/
H A Dlibshare_legacy.c424 char *sh_name; local
429 if ((sh_name = sa_share_get_name(share)) == NULL) {
437 salog_error(rc, "sa_legacy_share_write: %s", sh_name);
444 rc = legacy_share_rsrc_write(legacy_hdl, sh_name, bufp, buflen);
450 sh_name, strerror(errno));
465 const char *sh_name, nvlist_t **share)
498 if (strcmp(sharename, sh_name) == 0) {
641 const char *sh_name, boolean_t persist)
659 rc = legacy_common_transaction(legacy_hdl, sh_name, NULL, 0, B_FALSE);
671 sa_legacy_share_get_acl(libshare_handle_t *shdl, const char *sh_name, argument
464 sa_legacy_share_read(libshare_handle_t *shdl, const char *fs_name, const char *sh_name, nvlist_t **share) argument
640 sa_legacy_share_remove(libshare_handle_t *shdl, const char *fs_name, const char *sh_name, boolean_t persist) argument
683 sa_legacy_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
783 sa_legacy_sharing_enabled(libshare_handle_t *shdl, const char *sh_path, const char *sh_name, sa_proto_t *protos) argument
798 sa_legacy_sharing_get_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t protos, char **props) argument
813 sa_legacy_sharing_set_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t protos, const char *props) argument
[all...]
/osnet-11/usr/src/lib/libshare_plugins/smb/
H A Dlibshare_smb.c959 sa_smb_share_validate_name(const char *sh_name, sa_validate_flags_t flags, argument
968 if (smb_name_validate_share(sh_name) != ERROR_SUCCESS) {
971 sa_strerror(rc), sh_name);
985 char *sh_name; local
1002 sh_name = sa_share_get_name(share);
1003 if (sh_name == NULL) {
1009 if (smb_name_validate_share(sh_name) != ERROR_SUCCESS) {
1012 sa_strerror(rc), sh_name);
1273 char *sh_name;
1278 if ((sh_name
1334 char *sh_name; local
1377 sa_smb_share_unpublish_byname(const char *sh_name, const char *sh_path, int wait) argument
[all...]
/osnet-11/usr/src/lib/libelfsign/common/
H A Delfsignlib.c504 const char *sh_name; local
514 sh_name = elf_strptr(ess->es_elf, ess->es_shstrndx,
515 (size_t)shdr.sh_name);
516 if (sh_name != NULL && strcmp(sh_name, elf_section) == 0) {
588 shdr.sh_name = old_size;
704 (size_t)shdr.sh_name);
734 (size_t)shdr.sh_name);
790 (size_t)shdr.sh_name);
922 (size_t)shdr.sh_name);
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h105 Elf32_Word sh_name; /* Section name (string tbl index) */ member in struct:__anon308
/osnet-11/usr/src/lib/libshare_plugins/nfs/
H A Dlibshare_nfs.c2139 nfs_validate_path(libshare_handle_t *shdl, const char *sh_name, argument
2179 (strcasecmp(sh_name, name) == 0)) {
2233 " share: %s in %s"), sh_path, sh_name);
2254 char *sh_name; local
2267 sh_name = sa_share_get_name(share);
2272 sh_name ? sh_name : "", sh_path);
2316 sa_nfs_share_validate_name(const char *sh_name, sa_validate_flags_t flags, argument
2323 if (sh_name == NULL) {
2341 char *sh_name; local
3437 char *sh_name; local
3740 nfs_share_unpub_common(const char *sh_name, const char *sh_path, int wait) argument
3793 sa_nfs_share_unpublish_byname(const char *sh_name, const char *sh_path, int wait) argument
3832 char *sh_name; local
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_share.c475 * read a share (packed nvlist) named 'sh_name'
479 zfs_share_read(zfs_handle_t *zhp, const char *sh_name, nvlist_t **share) argument
488 sh_name, zfs_get_name(zhp));
498 rc = sa_share_read(ZFS_LIBSHARE_HDL(zhp), mountpoint, sh_name,
601 zfs_share_remove(zfs_handle_t *zhp, const char *sh_name) argument
611 sh_name, zfs_get_name(zhp));
621 rc = sa_share_remove(shdl, sh_name, mountpoint, B_TRUE);
1574 make_share_filename(const char *mntpnt, const char *sh_name) argument
1580 + strlen("/") + strlen(sh_name) + 1;
1586 mntpnt, SA_SHARE_DIR, sh_name);
1593 zfssa_share_storage_write_one_s0(zfs_handle_t *ds_zhp, const char *sh_name, const char *mntpnt, nvlist_t *share) argument
1763 zfssa_share_storage_write_one_s2(zfs_handle_t *ds_zhp, const char *sh_name, const char *mntpnt, nvlist_t *share) argument
1832 zfs_share_add_named_share_for_auto(zfs_handle_t *zhp, const char *sh_name, zfs_share_state_t state) argument
1962 zfssa_share_storage_write_one_s3(zfs_handle_t *ds_zhp, const char *sh_name, nvlist_t *share) argument
2015 zfssa_share_storage_write_one(zfs_handle_t *ds_zhp, const char *sh_name, const char *mntpnt, nvlist_t *share, boolean_t persist, int share2flag) argument
2133 char *sh_name; local
2232 zfssa_share_storage_read_s0(zfs_handle_t *zhp, const char *mntpnt, const char *sh_name, nvlist_t **sharep) argument
2264 zfssa_share_storage_read_s2(libzfs_handle_t *hdl, const char *dataset, const char *mntpnt, const char *sh_name, nvlist_t **sharep) argument
2334 zfs_share_open_byname(zfs_handle_t *zhp, const char *sh_name) argument
2370 zfssa_is_sharing_enabled_share(libzfs_handle_t *hdl, const char *path, const char *sh_name, sa_proto_t *protosp) argument
2435 zfssa_sharing_get_prop(libzfs_handle_t *hdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, char **propvalp) argument
2504 zfssa_sharing_set_prop(libzfs_handle_t *hdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *propval) argument
2538 zfssa_share_storage_read(libzfs_handle_t *hdl, const char *mntpnt, const char *sh_name, nvlist_t **sharep) argument
4219 zfs_active_protos(const char *sh_name, const char *sh_path) argument
4351 char *sh_name = dp->d_name; local
4400 char *sh_name = dp->d_name; local
4497 char *sh_name; local
4828 char *sh_name = sa_share_get_name(share); local
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Delf.h265 Elf32_Word sh_name; /* Section name (string tbl index) */ member in struct:__anon723
279 Elf64_Word sh_name; /* Section name (string tbl index) */ member in struct:__anon724

Completed in 121 milliseconds