Lines Matching defs:fid
109 struct fanotify_fid_t *fid;
117 .fid = &null_fid,
124 .fid = &bad_file_fid,
131 .fid = &bad_link_fid,
138 .fid = &bad_file_fid,
142 static int check_error_event_info_fid(struct fanotify_event_info_fid *fid,
145 struct file_handle *fh = (struct file_handle *) &fid->handle;
147 if (memcmp(&fid->fsid, &ex->fid->fsid, sizeof(fid->fsid))) {
149 ex->name, FSID_VAL_MEMBER(fid->fsid, 0),
150 ex->fid->fsid.val[0]);
154 if (fh->handle_type != ex->fid->handle.handle_type) {
156 ex->name, fh->handle_type, ex->fid->handle.handle_type);
160 if (fh->handle_bytes != ex->fid->handle.handle_bytes) {
162 ex->name, fh->handle_bytes, ex->fid->handle.handle_bytes);
166 if (memcmp(fh->f_handle, ex->fid->handle.f_handle, fh->handle_bytes)) {
169 *(int *)ex->fid->handle.f_handle, *(int *)fh->f_handle);