Lines Matching refs:new_grp
48 struct group new_grp; in group_marshal_func() local
76 memcpy(&new_grp, grp, sizeof(struct group)); in group_marshal_func()
84 if (new_grp.gr_name != NULL) { in group_marshal_func()
85 size = strlen(new_grp.gr_name); in group_marshal_func()
86 memcpy(p, new_grp.gr_name, size); in group_marshal_func()
87 new_grp.gr_name = p; in group_marshal_func()
91 if (new_grp.gr_passwd != NULL) { in group_marshal_func()
92 size = strlen(new_grp.gr_passwd); in group_marshal_func()
93 memcpy(p, new_grp.gr_passwd, size); in group_marshal_func()
94 new_grp.gr_passwd = p; in group_marshal_func()
98 if (new_grp.gr_mem != NULL) { in group_marshal_func()
100 memcpy(p, new_grp.gr_mem, sizeof(char *) * mem_size); in group_marshal_func()
101 new_grp.gr_mem = (char **)p; in group_marshal_func()
104 for (mem = new_grp.gr_mem; *mem; ++mem) { in group_marshal_func()
112 memcpy(buffer, &new_grp, sizeof(struct group)); in group_marshal_func()