Lines Matching refs:mxa
169 netdfs_s_getver(void *arg, ndr_xa_t *mxa)
184 netdfs_s_add(void *arg, ndr_xa_t *mxa)
193 if (!ndr_is_admin(mxa)) {
256 netdfs_s_remove(void *arg, ndr_xa_t *mxa)
264 if (!ndr_is_admin(mxa)) {
316 netdfs_s_setinfo(void *arg, ndr_xa_t *mxa)
386 netdfs_s_getinfo(void *arg, ndr_xa_t *mxa)
435 if ((info1 = NDR_NEW(mxa, netdfs_info1_t)) != NULL) {
437 status = netdfs_info_1(info1, &info, mxa, NULL);
441 if ((info2 = NDR_NEW(mxa, netdfs_info2_t)) != NULL) {
443 status = netdfs_info_2(info2, &info, mxa, NULL);
447 if ((info3 = NDR_NEW(mxa, netdfs_info3_t)) != NULL) {
449 status = netdfs_info_3(info3, &info, mxa, NULL);
453 if ((info4 = NDR_NEW(mxa, netdfs_info4_t)) != NULL) {
455 status = netdfs_info_4(info4, &info, mxa, NULL);
459 if ((info5 = NDR_NEW(mxa, netdfs_info5_t)) != NULL) {
461 status = netdfs_info_5(info5, &info, mxa, NULL);
465 if ((info6 = NDR_NEW(mxa, netdfs_info6_t)) != NULL) {
467 status = netdfs_info_6(info6, &info, mxa, NULL);
471 if ((info100 = NDR_NEW(mxa, netdfs_info100_t)) != NULL) {
473 status = netdfs_info_100(info100, &info, mxa, NULL);
507 netdfs_s_enum(void *arg, ndr_xa_t *mxa)
559 de.de_entries = NDR_NEWN(mxa, netdfs_info1_t, de.de_nmax);
563 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
571 de.de_entries = NDR_NEWN(mxa, netdfs_info2_t, de.de_nmax);
575 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
584 de.de_entries = NDR_NEWN(mxa, netdfs_info3_t, de.de_nmax);
588 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
597 de.de_entries = NDR_NEWN(mxa, netdfs_info4_t, de.de_nmax);
601 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
610 de.de_entries = NDR_NEWN(mxa, netdfs_info5_t, de.de_nmax);
614 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
624 de.de_entries = NDR_NEWN(mxa, netdfs_info6_t, de.de_nmax);
628 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
637 de.de_entries = NDR_NEWN(mxa, netdfs_info300_t, de.de_nmax);
641 if ((status = netdfs_enum_common(&de, mxa)) == ERROR_SUCCESS) {
670 netdfs_s_move(void *arg, ndr_xa_t *mxa)
684 netdfs_s_rename(void *arg, ndr_xa_t *mxa)
699 netdfs_s_addstdroot(void *arg, ndr_xa_t *mxa)
705 if (!ndr_is_admin(mxa)) {
729 netdfs_s_remstdroot(void *arg, ndr_xa_t *mxa)
736 if (ndr_is_admin(mxa))
756 netdfs_s_enumex(void *arg, ndr_xa_t *mxa)
938 ndr_xa_t *mxa, uint32_t *size)
948 *sinfo = NDR_NEWN(mxa, netdfs_storage_info_t, info->i_ntargets);
959 storage->server = NDR_STRDUP(mxa, target->t_server);
960 storage->share = NDR_STRDUP(mxa, target->t_share);
978 ndr_xa_t *mxa, uint32_t *size)
988 *sinfo = NDR_NEWN(mxa, netdfs_storage_info1_t, info->i_ntargets);
999 storage->server = NDR_STRDUP(mxa, target->t_server);
1000 storage->share = NDR_STRDUP(mxa, target->t_share);
1020 netdfs_info_1(netdfs_info1_t *info1, dfs_info_t *info, ndr_xa_t *mxa,
1023 info1->entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1038 netdfs_info_2(netdfs_info2_t *info2, dfs_info_t *info, ndr_xa_t *mxa,
1044 entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1045 comment = NDR_STRDUP(mxa, info->i_comment);
1067 netdfs_info_3(netdfs_info3_t *info3, dfs_info_t *info, ndr_xa_t *mxa,
1073 entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1074 comment = NDR_STRDUP(mxa, info->i_comment);
1089 return (netdfs_info_storage(&info3->si, info, mxa, size));
1096 netdfs_info_4(netdfs_info4_t *info4, dfs_info_t *info, ndr_xa_t *mxa,
1102 entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1103 comment = NDR_STRDUP(mxa, info->i_comment);
1122 return (netdfs_info_storage(&info4->si, info, mxa, size));
1129 netdfs_info_5(netdfs_info5_t *info5, dfs_info_t *info, ndr_xa_t *mxa,
1135 entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1136 comment = NDR_STRDUP(mxa, info->i_comment);
1164 netdfs_info_6(netdfs_info6_t *info6, dfs_info_t *info, ndr_xa_t *mxa,
1170 entry_path = NDR_STRDUP(mxa, info->i_uncpath);
1171 comment = NDR_STRDUP(mxa, info->i_comment);
1192 return (netdfs_info_storage1(&info6->si, info, mxa, size));
1199 netdfs_info_100(netdfs_info100_t *info100, dfs_info_t *info, ndr_xa_t *mxa,
1202 info100->comment = NDR_STRDUP(mxa, info->i_comment);
1217 netdfs_info_300(netdfs_info300_t *info300, dfs_info_t *info, ndr_xa_t *mxa,
1220 info300->dfsname = NDR_STRDUP(mxa, info->i_uncpath);
1236 netdfs_enum_common(netdfs_enumhandle_t *de, ndr_xa_t *mxa)
1269 status = netdfs_info_1(info1, &dfsinfo, mxa, &itemsz);
1273 status = netdfs_info_2(info2, &dfsinfo, mxa, &itemsz);
1277 status = netdfs_info_3(info3, &dfsinfo, mxa, &itemsz);
1281 status = netdfs_info_4(info4, &dfsinfo, mxa, &itemsz);
1285 status = netdfs_info_5(info5, &dfsinfo, mxa, &itemsz);
1289 status = netdfs_info_6(info6, &dfsinfo, mxa, &itemsz);
1293 status = netdfs_info_300(info300, &dfsinfo, mxa,