Lines Matching defs:name_len
63 size_t name_len;
76 ret = sss_strnlen(mapname, MAX_AUTOMNTMAPNAME_LEN, &name_len);
82 name = malloc(sizeof(char)*name_len + 1);
87 strncpy(name, mapname, name_len + 1);
90 rd.len = name_len + 1;
253 size_t name_len;
271 ret = sss_strnlen(ctx->mapname, MAX_AUTOMNTMAPNAME_LEN, &name_len);
288 name_len + 1 + /* mapname\0 */
298 SAFEALIGN_SET_UINT32(data, name_len, &ctr);
300 safealign_memcpy(data+ctr, ctx->mapname, name_len + 1, &ctr);
350 size_t name_len;
372 ret = sss_strnlen(ctx->mapname, MAX_AUTOMNTMAPNAME_LEN, &name_len);
386 name_len + 1 + /* mapname\0 */
396 SAFEALIGN_SET_UINT32(data, name_len, &ctr);
398 safealign_memcpy(data+ctr, ctx->mapname, name_len + 1, &ctr);