Lines Matching refs:info
347 switch (param->info.level) { in netdfs_s_setinfo()
349 status = netdfs_setinfo_100(&path, param->info.iu.info100); in netdfs_s_setinfo()
352 status = netdfs_setinfo_101(&path, param->info.iu.info101, in netdfs_s_setinfo()
356 status = netdfs_setinfo_102(&path, param->info.iu.info102); in netdfs_s_setinfo()
359 status = netdfs_setinfo_103(&path, param->info.iu.info103); in netdfs_s_setinfo()
362 status = netdfs_setinfo_104(&path, param->info.iu.info104, in netdfs_s_setinfo()
366 status = netdfs_setinfo_105(&path, param->info.iu.info105); in netdfs_s_setinfo()
396 dfs_info_t info; in netdfs_s_getinfo() local
418 status = dfs_link_getinfo(fspath, &info, param->level); in netdfs_s_getinfo()
420 status = dfs_root_getinfo(fspath, &info, param->level); in netdfs_s_getinfo()
426 (void) strlcpy(info.i_uncpath, (char *)param->dfs_path, in netdfs_s_getinfo()
427 sizeof (info.i_uncpath)); in netdfs_s_getinfo()
429 dfs_info_trace("netdfs_s_getinfo", &info); in netdfs_s_getinfo()
436 param->info.iu.info1 = info1; in netdfs_s_getinfo()
437 status = netdfs_info_1(info1, &info, mxa, NULL); in netdfs_s_getinfo()
442 param->info.iu.info2 = info2; in netdfs_s_getinfo()
443 status = netdfs_info_2(info2, &info, mxa, NULL); in netdfs_s_getinfo()
448 param->info.iu.info3 = info3; in netdfs_s_getinfo()
449 status = netdfs_info_3(info3, &info, mxa, NULL); in netdfs_s_getinfo()
454 param->info.iu.info4 = info4; in netdfs_s_getinfo()
455 status = netdfs_info_4(info4, &info, mxa, NULL); in netdfs_s_getinfo()
460 param->info.iu.info5 = info5; in netdfs_s_getinfo()
461 status = netdfs_info_5(info5, &info, mxa, NULL); in netdfs_s_getinfo()
466 param->info.iu.info6 = info6; in netdfs_s_getinfo()
467 status = netdfs_info_6(info6, &info, mxa, NULL); in netdfs_s_getinfo()
472 param->info.iu.info100 = info100; in netdfs_s_getinfo()
473 status = netdfs_info_100(info100, &info, mxa, NULL); in netdfs_s_getinfo()
482 dfs_info_free(&info); in netdfs_s_getinfo()
490 param->info.level = level; in netdfs_s_getinfo()
516 if (param->info == NULL) { in netdfs_s_enum()
564 param->info->iu.info1->info1 = de.de_entries; in netdfs_s_enum()
565 param->info->iu.info1->count = de.de_nitems; in netdfs_s_enum()
576 param->info->iu.info2->info2 = de.de_entries; in netdfs_s_enum()
577 param->info->iu.info2->count = de.de_nitems; in netdfs_s_enum()
589 param->info->iu.info3->info3 = de.de_entries; in netdfs_s_enum()
590 param->info->iu.info3->count = de.de_nitems; in netdfs_s_enum()
602 param->info->iu.info4->info4 = de.de_entries; in netdfs_s_enum()
603 param->info->iu.info4->count = de.de_nitems; in netdfs_s_enum()
615 param->info->iu.info5->info5 = de.de_entries; in netdfs_s_enum()
616 param->info->iu.info5->count = de.de_nitems; in netdfs_s_enum()
629 param->info->iu.info6->info6 = de.de_entries; in netdfs_s_enum()
630 param->info->iu.info6->count = de.de_nitems; in netdfs_s_enum()
642 param->info->iu.info300->info300 = de.de_entries; in netdfs_s_enum()
643 param->info->iu.info300->count = de.de_nitems; in netdfs_s_enum()
760 bzero(param->info, sizeof (struct netdfs_enumex)); in netdfs_s_enumex()
771 dfs_info_t info; in netdfs_setinfo_100() local
775 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_100()
777 (void) strlcpy(info.i_comment, cmnt, sizeof (info.i_comment)); in netdfs_setinfo_100()
780 status = dfs_link_setinfo(path->p_fspath, &info, 100); in netdfs_setinfo_100()
782 status = dfs_root_setinfo(path->p_fspath, &info, 100); in netdfs_setinfo_100()
794 dfs_info_t info; in netdfs_setinfo_101() local
798 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_101()
802 info.i_state = netinfo->state; in netdfs_setinfo_101()
809 info.i_targets = ⌖ in netdfs_setinfo_101()
813 status = dfs_link_setinfo(path->p_fspath, &info, 101); in netdfs_setinfo_101()
815 status = dfs_root_setinfo(path->p_fspath, &info, 101); in netdfs_setinfo_101()
826 dfs_info_t info; in netdfs_setinfo_102() local
829 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_102()
830 info.i_timeout = netinfo->timeout; in netdfs_setinfo_102()
833 status = dfs_link_setinfo(path->p_fspath, &info, 102); in netdfs_setinfo_102()
835 status = dfs_root_setinfo(path->p_fspath, &info, 102); in netdfs_setinfo_102()
846 dfs_info_t info; in netdfs_setinfo_103() local
849 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_103()
850 info.i_propflags = in netdfs_setinfo_103()
854 status = dfs_link_setinfo(path->p_fspath, &info, 103); in netdfs_setinfo_103()
856 status = dfs_root_setinfo(path->p_fspath, &info, 103); in netdfs_setinfo_103()
868 dfs_info_t info; in netdfs_setinfo_104() local
881 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_104()
888 info.i_targets = ⌖ in netdfs_setinfo_104()
891 status = dfs_link_setinfo(path->p_fspath, &info, 104); in netdfs_setinfo_104()
893 status = dfs_root_setinfo(path->p_fspath, &info, 104); in netdfs_setinfo_104()
906 dfs_info_t info; in netdfs_setinfo_105() local
910 bzero(&info, sizeof (dfs_info_t)); in netdfs_setinfo_105()
915 info.i_flavor = flavor; in netdfs_setinfo_105()
918 (void) strlcpy(info.i_comment, cmnt, sizeof (info.i_comment)); in netdfs_setinfo_105()
919 info.i_state = netinfo->state; in netdfs_setinfo_105()
920 info.i_timeout = netinfo->timeout; in netdfs_setinfo_105()
921 info.i_propflag_mask = netinfo->property_flag_mask; in netdfs_setinfo_105()
922 info.i_propflags = in netdfs_setinfo_105()
926 status = dfs_link_setinfo(path->p_fspath, &info, 105); in netdfs_setinfo_105()
928 status = dfs_root_setinfo(path->p_fspath, &info, 105); in netdfs_setinfo_105()
937 netdfs_info_storage(netdfs_storage_info_t **sinfo, dfs_info_t *info, in netdfs_info_storage() argument
945 if (info->i_ntargets == 0) in netdfs_info_storage()
948 *sinfo = NDR_NEWN(mxa, netdfs_storage_info_t, info->i_ntargets); in netdfs_info_storage()
953 *size += info->i_ntargets * sizeof (netdfs_storage_info_t); in netdfs_info_storage()
955 target = info->i_targets; in netdfs_info_storage()
957 for (i = 0; i < info->i_ntargets; i++, target++, storage++) { in netdfs_info_storage()
977 netdfs_info_storage1(netdfs_storage_info1_t **sinfo, dfs_info_t *info, in netdfs_info_storage1() argument
985 if (info->i_ntargets == 0) in netdfs_info_storage1()
988 *sinfo = NDR_NEWN(mxa, netdfs_storage_info1_t, info->i_ntargets); in netdfs_info_storage1()
993 *size += info->i_ntargets * sizeof (netdfs_storage_info1_t); in netdfs_info_storage1()
995 target = info->i_targets; in netdfs_info_storage1()
997 for (i = 0; i < info->i_ntargets; i++, target++, storage++) { in netdfs_info_storage1()
1020 netdfs_info_1(netdfs_info1_t *info1, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_1() argument
1023 info1->entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_1()
1029 smb_wcequiv_strlen(info->i_uncpath); in netdfs_info_1()
1038 netdfs_info_2(netdfs_info2_t *info2, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_2() argument
1044 entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_2()
1045 comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_2()
1052 info2->state = info->i_state; in netdfs_info_2()
1053 info2->n_store = info->i_ntargets; in netdfs_info_2()
1057 smb_wcequiv_strlen(info->i_uncpath) + in netdfs_info_2()
1058 smb_wcequiv_strlen(info->i_comment); in netdfs_info_2()
1067 netdfs_info_3(netdfs_info3_t *info3, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_3() argument
1073 entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_3()
1074 comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_3()
1081 info3->state = info->i_state; in netdfs_info_3()
1082 info3->n_store = info->i_ntargets; in netdfs_info_3()
1086 smb_wcequiv_strlen(info->i_uncpath) + in netdfs_info_3()
1087 smb_wcequiv_strlen(info->i_comment); in netdfs_info_3()
1089 return (netdfs_info_storage(&info3->si, info, mxa, size)); in netdfs_info_3()
1096 netdfs_info_4(netdfs_info4_t *info4, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_4() argument
1102 entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_4()
1103 comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_4()
1108 if (!netdfs_guid_fromstr(info->i_guid, &info4->guid)) in netdfs_info_4()
1113 info4->state = info->i_state; in netdfs_info_4()
1114 info4->timeout = info->i_timeout; in netdfs_info_4()
1115 info4->n_store = info->i_ntargets; in netdfs_info_4()
1119 smb_wcequiv_strlen(info->i_uncpath) + in netdfs_info_4()
1120 smb_wcequiv_strlen(info->i_comment); in netdfs_info_4()
1122 return (netdfs_info_storage(&info4->si, info, mxa, size)); in netdfs_info_4()
1129 netdfs_info_5(netdfs_info5_t *info5, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_5() argument
1135 entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_5()
1136 comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_5()
1141 if (!netdfs_guid_fromstr(info->i_guid, &info5->guid)) in netdfs_info_5()
1146 info5->state = info->i_state; in netdfs_info_5()
1147 info5->timeout = info->i_timeout; in netdfs_info_5()
1148 info5->flags = info->i_propflags; in netdfs_info_5()
1150 info5->n_store = info->i_ntargets; in netdfs_info_5()
1154 smb_wcequiv_strlen(info->i_uncpath) + in netdfs_info_5()
1155 smb_wcequiv_strlen(info->i_comment); in netdfs_info_5()
1164 netdfs_info_6(netdfs_info6_t *info6, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_6() argument
1170 entry_path = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_6()
1171 comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_6()
1176 if (!netdfs_guid_fromstr(info->i_guid, &info6->guid)) in netdfs_info_6()
1181 info6->state = info->i_state; in netdfs_info_6()
1182 info6->timeout = info->i_timeout; in netdfs_info_6()
1183 info6->flags = info->i_propflags; in netdfs_info_6()
1185 info6->n_store = info->i_ntargets; in netdfs_info_6()
1189 smb_wcequiv_strlen(info->i_uncpath) + in netdfs_info_6()
1190 smb_wcequiv_strlen(info->i_comment); in netdfs_info_6()
1192 return (netdfs_info_storage1(&info6->si, info, mxa, size)); in netdfs_info_6()
1199 netdfs_info_100(netdfs_info100_t *info100, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_100() argument
1202 info100->comment = NDR_STRDUP(mxa, info->i_comment); in netdfs_info_100()
1208 smb_wcequiv_strlen(info->i_comment); in netdfs_info_100()
1217 netdfs_info_300(netdfs_info300_t *info300, dfs_info_t *info, ndr_xa_t *mxa, in netdfs_info_300() argument
1220 info300->dfsname = NDR_STRDUP(mxa, info->i_uncpath); in netdfs_info_300()
1227 smb_wcequiv_strlen(info->i_uncpath); in netdfs_info_300()