Lines Matching defs:new
83 static void convert_ioctl_struct(const struct ioctl_compat_map *map, char *old, char *new, int dir)
92 convert_ioctl_struct(map+1, old, new, dir);
93 convert_ioctl_struct(map+2, old+4, new+8, dir);
97 convert_ioctl_struct(map+3, old+68, new+72+adj, dir);
98 convert_ioctl_struct(map+3, old+72, new+76+3*adj, dir);
104 if (dir==W) memcpy(old+old_offset, new+new_offset, len);
105 else memcpy(new+new_offset, old+old_offset, len);
113 memcpy(&new_ts, new+new_offset, sizeof new_ts);
119 memcpy(new+new_offset, &new_ts, sizeof new_ts);
124 if (dir==W) memcpy(old+old_offset, new+new_offset, old_size-old_offset);
125 else memcpy(new+new_offset, old+old_offset, old_size-old_offset);