Lines Matching refs:hash
119 if (old->hash != new->hash || in fanotify_should_merge()
362 unsigned int fh_len, unsigned int *hash, in fanotify_encode_fh() argument
407 *hash ^= fanotify_hash_fh(fh); in fanotify_encode_fh()
462 unsigned int *hash, in fanotify_alloc_path_event() argument
473 *hash ^= fanotify_hash_path(path); in fanotify_alloc_path_event()
499 unsigned int *hash, in fanotify_alloc_fid_event() argument
510 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_fid_event()
512 hash, gfp); in fanotify_alloc_fid_event()
521 unsigned int *hash, in fanotify_alloc_name_event() argument
542 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_name_event()
546 info->dir_fh_totlen = fanotify_encode_fh(dfh, id, dir_fh_len, hash, 0); in fanotify_alloc_name_event()
550 child_fh_len, hash, 0); in fanotify_alloc_name_event()
556 *hash ^= full_name_hash((void *)salt, name->name, name->len); in fanotify_alloc_name_event()
581 unsigned int hash = 0; in fanotify_alloc_event() local
635 &hash, gfp); in fanotify_alloc_event()
637 event = fanotify_alloc_fid_event(id, fsid, &hash, gfp); in fanotify_alloc_event()
639 event = fanotify_alloc_path_event(path, &hash, gfp); in fanotify_alloc_event()
651 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); in fanotify_alloc_event()
652 fanotify_init_event(event, hash, mask); in fanotify_alloc_event()