/openbmc/phosphor-certificate-manager/ |
H A D | watch.cpp | 78 constexpr int size = sizeof(struct inotify_event) + NAME_MAX + 1; in startWatch() 81 if (length >= static_cast<int>(sizeof(struct inotify_event))) in startWatch() 83 struct inotify_event* notifyEvent = in startWatch() 84 reinterpret_cast<struct inotify_event*>(&buffer[0]); in startWatch()
|
/openbmc/qemu/util/ |
H A D | filemonitor-inotify.c | 58 __attribute__ ((aligned(__alignof__(struct inotify_event)))); in qemu_file_monitor_watch() 89 struct inotify_event *ev = (struct inotify_event *)(buf + used); in qemu_file_monitor_watch() 95 assert(len - used >= sizeof(struct inotify_event)); in qemu_file_monitor_watch() 96 assert(len - used - sizeof(struct inotify_event) >= ev->len); in qemu_file_monitor_watch() 104 used += sizeof(struct inotify_event) + ev->len; in qemu_file_monitor_watch()
|
/openbmc/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 161 return roundup(event->name_len + 1, sizeof(struct inotify_event)); in round_event_name_len() 174 size_t event_size = sizeof(struct inotify_event); in get_one_event() 204 struct inotify_event inotify_event; in copy_event_to_user() local 206 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user() 219 inotify_event.len = pad_name_len; in copy_event_to_user() 220 inotify_event.mask = inotify_mask_to_arg(event->mask); in copy_event_to_user() 221 inotify_event.wd = event->wd; in copy_event_to_user() 222 inotify_event.cookie = event->sync_cookie; in copy_event_to_user() 225 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user() 333 send_len += sizeof(struct inotify_event); in inotify_ioctl()
|
/openbmc/phosphor-debug-collector/ |
H A D | watch.cpp | 90 constexpr auto maxBytes = sizeof(struct inotify_event) + NAME_MAX + 1; in callback() 112 auto event = reinterpret_cast<inotify_event*>(&buffer[offset]); in callback() 120 offset += offsetof(inotify_event, name) + event->len; in callback()
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 77 struct inotify_event events[10]; in main() 83 len/sizeof(struct inotify_event)); in main()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filesystem_log_watcher.cpp | 108 static constexpr const size_t iEventSize = sizeof(inotify_event); 129 struct inotify_event& event = in onINotify() 130 *std::bit_cast<struct inotify_event*>(&readBuffer[index]); in onINotify()
|
/openbmc/pldm/fw-update/ |
H A D | watch.cpp | 92 auto event = reinterpret_cast<inotify_event*>(&buffer[offset]); in callback() 104 offset += offsetof(inotify_event, name) + event->len; in callback()
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | watch.cpp | 87 auto event = reinterpret_cast<inotify_event*>(&buffer[offset]); in callback() 97 offset += offsetof(inotify_event, name) + event->len; in callback()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | watch.cpp | 101 auto event = reinterpret_cast<inotify_event*>(&buffer[offset]); in callback() 113 offset += offsetof(inotify_event, name) + event->len; in callback()
|
H A D | sync_watch.cpp | 97 auto event = reinterpret_cast<inotify_event*>(&buffer[offset]); in callback() 123 offset += offsetof(inotify_event, name) + event->len; in callback()
|
/openbmc/linux/include/uapi/linux/ |
H A D | inotify.h | 21 struct inotify_event { struct
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/ |
H A D | 0003-replace-stat64-lstat64-with-stat-lstat.patch | 67 * struct inotify_event - structure read from the inotify device for each event
|
/openbmc/linux/tools/tracing/latency/ |
H A D | latency-collector.c | 1453 const ssize_t istructsize = sizeof(struct inotify_event); in tracing_loop() 1458 struct inotify_event *event; in tracing_loop() 1512 event = (struct inotify_event *) p; in tracing_loop()
|
/openbmc/qemu/linux-user/ |
H A D | fd-trans.c | 1717 struct inotify_event *ev; in host_to_target_data_inotify() 1721 for (i = 0; i < len; i += sizeof(struct inotify_event) + name_len) { in host_to_target_data_inotify() 1722 ev = (struct inotify_event *)((char *)buf + i); in host_to_target_data_inotify()
|
/openbmc/entity-manager/src/ |
H A D | fru_device.cpp | 1480 while ((index + sizeof(inotify_event)) <= bytesTransferred) in main() 1484 const auto* iEvent = reinterpret_cast<const inotify_event*>(p); in main() 1520 index += sizeof(inotify_event) + iEvent->len; in main()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | manager.cpp | 620 auto event = reinterpret_cast<inotify_event*>(&data[offset]); in pelFileDeleted() 651 offset += offsetof(inotify_event, name) + event->len; in pelFileDeleted()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 1058 struct inotify_event *event = (struct inotify_event *) p; in process_inotify_event()
|