Lines Matching refs:new_grp
215 struct group new_grp; in grp_marshal_func() local
260 memcpy(&new_grp, grp, sizeof(struct group)); in grp_marshal_func()
268 if (new_grp.gr_name != NULL) { in grp_marshal_func()
269 size = strlen(new_grp.gr_name); in grp_marshal_func()
270 memcpy(p, new_grp.gr_name, size); in grp_marshal_func()
271 new_grp.gr_name = p; in grp_marshal_func()
275 if (new_grp.gr_passwd != NULL) { in grp_marshal_func()
276 size = strlen(new_grp.gr_passwd); in grp_marshal_func()
277 memcpy(p, new_grp.gr_passwd, size); in grp_marshal_func()
278 new_grp.gr_passwd = p; in grp_marshal_func()
282 if (new_grp.gr_mem != NULL) { in grp_marshal_func()
284 memcpy(p, new_grp.gr_mem, sizeof(char *) * mem_size); in grp_marshal_func()
285 new_grp.gr_mem = (char **)p; in grp_marshal_func()
288 for (mem = new_grp.gr_mem; *mem; ++mem) { in grp_marshal_func()
296 memcpy(buffer, &new_grp, sizeof(struct group)); in grp_marshal_func()