inotify_event
return roundup(event->name_len + 1, sizeof(struct inotify_event));
size_t event_size = sizeof(struct inotify_event);
struct inotify_event inotify_event;
size_t event_size = sizeof(struct inotify_event);
inotify_event.len = pad_name_len;
inotify_event.mask = inotify_mask_to_arg(event->mask);
inotify_event.wd = event->wd;
inotify_event.cookie = event->sync_cookie;
if (copy_to_user(buf, &inotify_event, event_size))
send_len += sizeof(struct inotify_event);
struct inotify_event *event)
struct inotify_event *event;
event = (struct inotify_event *)buffer;
struct inotify_event *event = (struct inotify_event *) p;
struct inotify_event events[10];
len/sizeof(struct inotify_event));
#define EV_SIZE (sizeof(struct inotify_event))
struct inotify_event *event = (struct inotify_event *)&buffer[i];
const ssize_t istructsize = sizeof(struct inotify_event);
struct inotify_event *event;
event = (struct inotify_event *) p;