Searched refs:gfp (Results 51 - 75 of 1100) sorted by relevance

1234567891011>>

/linux-master/include/linux/greybus/
H A Doperation.h149 gfp_t gfp);
154 size_t response_size, gfp_t gfp)
157 response_size, 0, gfp);
164 gfp_t gfp);
170 size_t response_size, gfp_t gfp);
175 gfp_t gfp);
152 gb_operation_create(struct gb_connection *connection, u8 type, size_t request_size, size_t response_size, gfp_t gfp) argument
/linux-master/security/apparmor/
H A Dsecid.c15 #include <linux/gfp.h>
114 * @gfp: memory allocation flags
119 int aa_alloc_secid(struct aa_label *label, gfp_t gfp) argument
126 XA_LIMIT(AA_FIRST_SECID, INT_MAX), gfp);
/linux-master/include/linux/
H A Dbtree-128.h42 void *val, gfp_t gfp)
46 (unsigned long *)&key, val, gfp);
79 gfp_t gfp)
81 return btree_merge(&target->h, &victim->h, &btree_geo128, gfp);
41 btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, void *val, gfp_t gfp) argument
77 btree_merge128(struct btree_head128 *target, struct btree_head128 *victim, gfp_t gfp) argument
H A Dkmod.h10 #include <linux/gfp.h>
H A Didr.h16 #include <linux/gfp.h>
264 * @gfp: Memory allocation flags.
273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) argument
275 return ida_alloc_range(ida, 0, ~0, gfp);
282 * @gfp: Memory allocation flags.
291 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) argument
293 return ida_alloc_range(ida, min, ~0, gfp);
300 * @gfp: Memory allocation flags.
309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) argument
311 return ida_alloc_range(ida, 0, max, gfp);
[all...]
H A Dref_tracker.h52 struct ref_tracker **trackerp, gfp_t gfp);
87 gfp_t gfp)
85 ref_tracker_alloc(struct ref_tracker_dir *dir, struct ref_tracker **trackerp, gfp_t gfp) argument
H A Dpercpu_counter.h34 gfp_t gfp, u32 nr_counters,
37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \
41 __percpu_counter_init_many(fbc, value, gfp, nr_counters,\
46 #define percpu_counter_init(fbc, value, gfp) \
47 percpu_counter_init_many(fbc, value, gfp, 1)
140 s64 amount, gfp_t gfp,
152 gfp_t gfp)
154 return percpu_counter_init_many(fbc, amount, gfp, 1);
139 percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, gfp_t gfp, u32 nr_counters) argument
151 percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp) argument
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.h40 struct i915_sw_fence *heap_fence_create(gfp_t gfp);
/linux-master/include/linux/ceph/
H A Dbuffer.h22 extern struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp);
/linux-master/fs/notify/
H A Dgroup.c116 int flags, gfp_t gfp)
121 group = kzalloc(sizeof(struct fsnotify_group), gfp);
159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : local
162 return __fsnotify_alloc_group(ops, flags, gfp);
114 __fsnotify_alloc_group( const struct fsnotify_ops *ops, int flags, gfp_t gfp) argument
/linux-master/security/apparmor/include/
H A Dsecid.h33 int aa_alloc_secid(struct aa_label *label, gfp_t gfp);
H A Dlabel.h60 gfp_t gfp);
280 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
281 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
301 gfp_t gfp);
304 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
314 int flags, gfp_t gfp);
316 struct aa_label *label, int flags, gfp_t gfp);
318 struct aa_label *label, int flags, gfp_t gfp);
320 struct aa_label *label, int flags, gfp_t gfp);
322 gfp_t gfp);
[all...]
/linux-master/arch/riscv/include/asm/
H A Dirq_stack.h7 #include <linux/gfp.h>
/linux-master/security/landlock/
H A Dcred.c18 const struct cred *const old, const gfp_t gfp)
17 hook_cred_prepare(struct cred *const new, const struct cred *const old, const gfp_t gfp) argument
/linux-master/mm/
H A Dfolio-compat.c81 pgoff_t index, gfp_t gfp)
83 return filemap_add_folio(mapping, page_folio(page), index, gfp);
89 fgf_t fgp_flags, gfp_t gfp)
93 folio = __filemap_get_folio(mapping, index, fgp_flags, gfp);
80 add_to_page_cache_lru(struct page *page, struct address_space *mapping, pgoff_t index, gfp_t gfp) argument
88 pagecache_get_page(struct address_space *mapping, pgoff_t index, fgf_t fgp_flags, gfp_t gfp) argument
H A Dzbud.c195 * @gfp: gfp flags when allocating the zbud pool structure
200 static struct zbud_pool *zbud_create_pool(gfp_t gfp) argument
205 pool = kzalloc(sizeof(struct zbud_pool), gfp);
231 * @gfp: gfp flags used if the pool needs to grow
239 * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used
243 * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate
246 static int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, argument
254 if (!size || (gfp
383 zbud_zpool_create(const char *name, gfp_t gfp) argument
393 zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, unsigned long *handle) argument
[all...]
/linux-master/include/kunit/
H A Dskbuff.h30 gfp_t gfp)
29 kunit_zalloc_skb(struct kunit *test, int len, gfp_t gfp) argument
/linux-master/tools/testing/fault-injection/
H A Dfailcmd.sh44 --reject-start=value, --reject-end=value, --ignore-gfp-wait=value
52 --ignore-gfp-highmem=value, --min-order=value
92 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,cache-filter:
94 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
182 --ignore-gfp-wait)
183 echo $2 > $FAULTATTR/ignore-gfp-wait
190 --ignore-gfp-highmem)
191 echo $2 > $FAULTATTR/ignore-gfp-highmem
/linux-master/lib/
H A Dfortify_kunit.c186 gfp_t gfp = GFP_KERNEL | __GFP_NOWARN; \
190 checker(expected_size, kmalloc(alloc_size, gfp), \
193 kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \
195 checker(expected_size, kzalloc(alloc_size, gfp), \
198 kzalloc_node(alloc_size, gfp, NUMA_NO_NODE), \
200 checker(expected_size, kcalloc(1, alloc_size, gfp), \
202 checker(expected_size, kcalloc(alloc_size, 1, gfp), \
205 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \
208 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \
210 checker(expected_size, kmalloc_array(1, alloc_size, gfp), \
[all...]
H A Dbucket_locks.c15 size_t max_size, unsigned int cpu_mult, gfp_t gfp,
34 tlocks = kvmalloc_array(size, sizeof(spinlock_t), gfp);
14 __alloc_bucket_spinlocks(spinlock_t **locks, unsigned int *locks_mask, size_t max_size, unsigned int cpu_mult, gfp_t gfp, const char *name, struct lock_class_key *key) argument
/linux-master/net/sctp/
H A Dbind_addr.c35 gfp_t gfp, int flags);
45 enum sctp_scope scope, gfp_t gfp,
57 gfp, flags);
69 SCTP_SCOPE_LINK, gfp,
96 gfp_t gfp)
106 1, gfp);
145 int new_size, __u8 addr_state, gfp_t gfp)
150 addr = kzalloc(sizeof(*addr), gfp);
213 gfp_t gfp)
240 retval.v = kmalloc(len, gfp);
43 sctp_bind_addr_copy(struct net *net, struct sctp_bind_addr *dest, const struct sctp_bind_addr *src, enum sctp_scope scope, gfp_t gfp, int flags) argument
94 sctp_bind_addr_dup(struct sctp_bind_addr *dest, const struct sctp_bind_addr *src, gfp_t gfp) argument
144 sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, int new_size, __u8 addr_state, gfp_t gfp) argument
211 sctp_bind_addrs_to_raw(const struct sctp_bind_addr *bp, int *addrs_len, gfp_t gfp) argument
263 sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw_addr_list, int addrs_len, __u16 port, gfp_t gfp) argument
459 sctp_copy_one_addr(struct net *net, struct sctp_bind_addr *dest, union sctp_addr *addr, enum sctp_scope scope, gfp_t gfp, int flags) argument
[all...]
H A Dstream_sched_prio.c41 struct sctp_stream *stream, int prio, gfp_t gfp)
45 p = kmalloc(sizeof(*p), gfp);
59 struct sctp_stream *stream, int prio, gfp_t gfp)
90 return sctp_sched_prio_new_head(stream, prio, gfp);
164 __u16 prio, gfp_t gfp)
175 prio_head = sctp_sched_prio_get_head(stream, prio, gfp);
203 gfp_t gfp)
206 return sctp_sched_prio_set(stream, sid, 0, gfp);
40 sctp_sched_prio_new_head( struct sctp_stream *stream, int prio, gfp_t gfp) argument
58 sctp_sched_prio_get_head( struct sctp_stream *stream, int prio, gfp_t gfp) argument
163 sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, __u16 prio, gfp_t gfp) argument
202 sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) argument
/linux-master/net/core/
H A Dhwbm.c23 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp) argument
31 buf = kmalloc(frag_size, gfp);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmpfs.h67 #define l2addr_hash_add(hash, mac, type, gfp) ({ \
71 ptr = kzalloc(sizeof(type), gfp); \
/linux-master/include/net/netfilter/
H A Dnf_conntrack_acct.h30 struct nf_conn_acct *nf_ct_acct_ext_add(struct nf_conn *ct, gfp_t gfp) argument
39 acct = nf_ct_ext_add(ct, NF_CT_EXT_ACCT, gfp);

Completed in 810 milliseconds

1234567891011>>