Searched defs:replen (Results 1 - 10 of 10) sorted by relevance

/sssd/src/tests/cmocka/
H A Dsss_nss_idmap-tests.c41 size_t replen; member in struct:sss_nss_make_request_test_data
66 uint8_t **repbuf, size_t *replen,
73 *replen = d->replen;
77 if (*replen != 0 && d->repbuf != NULL) {
78 *repbuf = malloc(*replen);
80 memcpy(*repbuf, d->repbuf, *replen);
64 sss_nss_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
/sssd/src/sss_client/idmap/
H A Dsss_nss_idmap.c148 size_t replen; local
183 nret = sss_nss_make_request(cmd, &rd, &repbuf, &replen, &errnop);
189 if (replen < 8) {
207 data_len = replen - DATA_START;
214 if (data_len <= 1 || repbuf[replen - 1] != '\0') {
/sssd/src/sss_client/
H A Dnss_passwd.c141 size_t replen, len, name_len; local
203 &repbuf, &replen, errnop);
230 len = replen - 8;
252 size_t replen, len; local
307 &repbuf, &replen, errnop);
334 len = replen - 8;
377 size_t replen; local
391 replen = sss_nss_getpwent_data.len - sss_nss_getpwent_data.ptr;
397 ret = sss_nss_getpw_readrep(&pwrep, repbuf, &replen);
404 sss_nss_getpwent_data.ptr = sss_nss_getpwent_data.len - replen;
[all...]
H A Dnss_netgroup.c162 size_t replen; local
195 &repbuf, &replen, &errnop);
206 if ((num_results == 0) || (replen < NETGR_METADATA_COUNT)) {
227 size_t replen; local
243 replen = result->data_size - result->idx.position;
249 ret = sss_nss_getnetgr_readrep(&netgrrep, repbuf, &replen);
255 result->idx.position = result->data_size - replen;
269 &repbuf, &replen, errnop);
278 if ((num_results == 0) || (replen <= NETGR_METADATA_COUNT)) {
284 result->data_size = replen;
[all...]
H A Dnss_services.c174 size_t replen, len; local
216 &repbuf, &replen, errnop);
244 len = replen - SVC_METADATA_COUNT;
275 size_t replen, len; local
315 &repbuf, &replen, errnop);
343 len = replen - SVC_METADATA_COUNT;
407 size_t replen; local
421 replen = sss_nss_getservent_data.len - sss_nss_getservent_data.ptr;
427 ret = sss_nss_getsvc_readrep(&pwrep, repbuf, &replen);
434 sss_nss_getservent_data.ptr = sss_nss_getservent_data.len - replen;
[all...]
H A Dnss_group.c63 size_t replen; member in struct:sss_nss_getgr_data
80 size_t *replen,
114 *replen = sss_nss_getgr_data.replen;
130 uint8_t **repbuf, size_t replen)
136 sss_nss_getgr_data.replen = replen;
281 size_t replen; local
342 &repbuf, &replen, errnop);
403 size_t replen, le local
77 sss_nss_get_getgr_cache(const char *name, gid_t gid, enum sss_nss_gr_type type, uint8_t **repbuf, size_t *replen, int *errnop) argument
128 sss_nss_save_getgr_cache(const char *name, gid_t gid, enum sss_nss_gr_type type, uint8_t **repbuf, size_t replen) argument
522 size_t replen, len; local
655 size_t replen; local
[all...]
H A Dcommon.c343 /* repbuf and replen report only the data section not the header */
347 uint8_t **repbuf, size_t *replen,
370 if (replen) {
371 *replen = len;
375 if (replen) {
376 *replen = 0;
390 size_t replen; local
418 &repbuf, &replen, &errnop);
710 /* repbuf and replen report only the data section not the header */
713 uint8_t **repbuf, size_t *replen,
344 sss_cli_make_request_nochecks( enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
711 sss_nss_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
783 sss_pac_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
848 sss_pam_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
953 sss_cli_make_request_with_checks(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop, const char *socket_name) argument
981 sss_sudo_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
990 sss_autofs_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
999 sss_ssh_make_request(enum sss_cli_command cmd, struct sss_cli_req_data *rd, uint8_t **repbuf, size_t *replen, int *errnop) argument
[all...]
H A Dpam_sss.c1145 size_t replen; local
1159 ret = sss_pam_make_request(task, &rd, &repbuf, &replen, &errnop);
1175 if (replen < (2*sizeof(int32_t))) {
1182 ret = eval_response(pamh, replen, repbuf, pi);
/sssd/src/sss_client/autofs/
H A Dsss_autofs.c66 size_t replen; local
93 &repbuf, &replen, &errnop);
223 sss_getautomntent_data_save(const char *mapname, uint8_t **repbuf, size_t replen) argument
242 sss_getautomntent_data.len = replen;
256 size_t replen; local
310 &repbuf, &replen, &errnop);
318 ret = sss_getautomntent_data_save(ctx->mapname, &repbuf, replen);
356 size_t replen; local
408 &repbuf, &replen, &errnop);
/sssd/src/tools/
H A Dtools_mc_util.c251 size_t replen; local
275 nret = sss_nss_make_request(cmd, &rd, &repbuf, &replen, &ret);

Completed in 1566 milliseconds