Lines Matching defs:event
29 * For example attaching a file to loopback device generates event:
45 static inline void print_uevent(const char *event, int len)
52 tst_res(TINFO, "%s", event);
53 int l = strlen(event) + 1;
55 event += l;
64 * event attempt to check the key-value pairs stored in the values array. The
65 * event is considered to match if all key-value pairs in the values has been
66 * found in the received event.
74 static inline int uevent_match(const char *event, int len,
80 if (memcmp(event, uevent->msg, strlen(uevent->msg)))
83 int l = strlen(event) + 1;
86 event += l;
91 if (!strcmp(event, uevent->values[i])) {
97 l = strlen(event) + 1;
99 event += l;