Lines Matching refs:gfp
338 unsigned int fh_len, gfp_t gfp) in fanotify_encode_fh() argument
360 if (gfp && fh_len > FANOTIFY_INLINE_FH_LEN) { in fanotify_encode_fh()
363 ext_buf = kmalloc(fh_len, gfp); in fanotify_encode_fh()
434 gfp_t gfp) in fanotify_alloc_path_event() argument
438 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp); in fanotify_alloc_path_event()
450 gfp_t gfp) in fanotify_alloc_perm_event() argument
454 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_perm_event()
469 gfp_t gfp) in fanotify_alloc_fid_event() argument
473 ffe = kmem_cache_alloc(fanotify_fid_event_cachep, gfp); in fanotify_alloc_fid_event()
480 gfp); in fanotify_alloc_fid_event()
489 gfp_t gfp) in fanotify_alloc_name_event() argument
503 fne = kmalloc(size, gfp); in fanotify_alloc_name_event()
534 gfp_t gfp = GFP_KERNEL_ACCOUNT; in fanotify_alloc_event() local
584 gfp |= __GFP_NOFAIL; in fanotify_alloc_event()
586 gfp |= __GFP_RETRY_MAYFAIL; in fanotify_alloc_event()
592 event = fanotify_alloc_perm_event(path, gfp); in fanotify_alloc_event()
595 gfp); in fanotify_alloc_event()
597 event = fanotify_alloc_fid_event(id, fsid, gfp); in fanotify_alloc_event()
599 event = fanotify_alloc_path_event(path, gfp); in fanotify_alloc_event()