Lines Matching defs:tmpctx
50 TALLOC_CTX *tmpctx;
64 tmpctx = talloc_new(NULL);
65 if (!tmpctx) {
69 ret = sss_parse_internal_fqname(tmpctx, i_name, &shortname_or_alias, NULL);
74 pwd = talloc_zero(tmpctx, struct passwd);
81 buffer = talloc_size(tmpctx, buflen);
107 ret = sysdb_getpwuid(tmpctx, dom, uid, &cached_pwd);
134 real_name = sss_create_internal_fqname(tmpctx, pwd->pw_name, dom->name);
150 talloc_zfree(tmpctx);
345 TALLOC_CTX *tmpctx;
356 tmpctx = talloc_new(NULL);
357 if (!tmpctx) {
361 pwd = talloc_zero(tmpctx, struct passwd);
368 buffer = talloc_size(tmpctx, buflen);
387 name = sss_create_internal_fqname(tmpctx, pwd->pw_name, dom->name);
396 talloc_zfree(tmpctx);
412 TALLOC_CTX *tmpctx;
426 tmpctx = talloc_new(mem_ctx);
427 if (!tmpctx) {
431 pwd = talloc_zero(tmpctx, struct passwd);
438 buffer = talloc_size(tmpctx, buflen);
475 newbuf = talloc_realloc_size(tmpctx, buffer, buflen);
516 name = sss_create_internal_fqname(tmpctx, pwd->pw_name, dom->name);
547 talloc_zfree(tmpctx);
951 TALLOC_CTX *tmpctx;
965 tmpctx = talloc_new(NULL);
966 if (!tmpctx) {
970 ret = sss_parse_internal_fqname(tmpctx, i_name, &shortname_or_alias, NULL);
975 grp = talloc(tmpctx, struct group);
987 buffer = grow_group_buffer(tmpctx, &buffer, &buflen);
1020 ret = sysdb_getgrgid(tmpctx, dom, gid, &cached_grp);
1042 buffer = grow_group_buffer(tmpctx, &buffer, &buflen);
1059 real_name = sss_create_internal_fqname(tmpctx, grp->gr_name, dom->name);
1088 talloc_zfree(tmpctx);
1105 TALLOC_CTX *tmpctx;
1116 tmpctx = talloc_new(mem_ctx);
1117 if (!tmpctx) {
1121 grp = talloc(tmpctx, struct group);
1130 buffer = grow_group_buffer(tmpctx, &buffer, &buflen);
1159 name = sss_create_internal_fqname(tmpctx, grp->gr_name, dom->name);
1173 talloc_zfree(tmpctx);
1189 TALLOC_CTX *tmpctx;
1203 tmpctx = talloc_new(mem_ctx);
1204 if (!tmpctx) {
1208 grp = talloc(tmpctx, struct group);
1215 buffer = talloc_size(tmpctx, buflen);
1252 newbuf = talloc_realloc_size(tmpctx, buffer, buflen);
1291 name = sss_create_internal_fqname(tmpctx, grp->gr_name,
1322 talloc_zfree(tmpctx);
1348 TALLOC_CTX *tmpctx;
1362 tmpctx = talloc_new(mem_ctx);
1363 if (!tmpctx) {
1367 ret = sss_parse_internal_fqname(tmpctx, i_name, &shortname_or_alias, NULL);
1372 pwd = talloc_zero(tmpctx, struct passwd);
1379 buffer = talloc_size(tmpctx, buflen);
1417 ret = sysdb_getpwuid(tmpctx, dom, uid, &cached_pwd);
1444 real_name = sss_create_internal_fqname(tmpctx, pwd->pw_name, dom->name);
1466 ret = get_initgr_groups_process(tmpctx, ctx, sysdb, dom, pwd);
1481 talloc_zfree(tmpctx);