Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 139) sorted by relevance

123456

/linux-4.19.296/fs/ocfs2/
Dlocalalloc.c51 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc);
54 struct ocfs2_dinode *alloc,
58 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc);
62 struct ocfs2_dinode *alloc,
287 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc() local
321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
322 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc()
324 if (!(le32_to_cpu(alloc->i_flags) & in ocfs2_load_local_alloc()
341 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc()
346 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
[all …]
Dlocalalloc.h41 struct ocfs2_dinode *alloc);
DMakefile12 alloc.o \
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_alloc_btree.c133 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
136 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec()
139 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
190 key->alloc.ar_startblock = rec->alloc.ar_startblock; in xfs_allocbt_init_key_from_rec()
191 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec()
201 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec()
202 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec()
203 key->alloc.ar_startblock = cpu_to_be32(x); in xfs_bnobt_init_high_key_from_rec()
204 key->alloc.ar_blockcount = 0; in xfs_bnobt_init_high_key_from_rec()
212 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_cntbt_init_high_key_from_rec()
[all …]
/linux-4.19.296/fs/nfs/
Dnfs3acl.c258 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl() local
264 alloc = get_acl(inode, ACL_TYPE_DEFAULT); in nfs3_set_acl()
265 if (IS_ERR(alloc)) in nfs3_set_acl()
267 dfacl = alloc; in nfs3_set_acl()
271 alloc = get_acl(inode, ACL_TYPE_ACCESS); in nfs3_set_acl()
272 if (IS_ERR(alloc)) in nfs3_set_acl()
275 acl = alloc; in nfs3_set_acl()
281 alloc = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfs3_set_acl()
282 if (IS_ERR(alloc)) in nfs3_set_acl()
284 acl = alloc; in nfs3_set_acl()
[all …]
/linux-4.19.296/drivers/char/agp/
Dcompat_ioctl.c155 struct agp_allocate32 alloc; in compat_agpioc_allocate_wrap() local
158 if (copy_from_user(&alloc, arg, sizeof(alloc))) in compat_agpioc_allocate_wrap()
161 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in compat_agpioc_allocate_wrap()
166 alloc.key = memory->key; in compat_agpioc_allocate_wrap()
167 alloc.physical = memory->physical; in compat_agpioc_allocate_wrap()
169 if (copy_to_user(arg, &alloc, sizeof(alloc))) { in compat_agpioc_allocate_wrap()
Dfrontend.c877 struct agp_allocate alloc; in agpioc_allocate_wrap() local
880 if (copy_from_user(&alloc, arg, sizeof(struct agp_allocate))) in agpioc_allocate_wrap()
883 if (alloc.type >= AGP_USER_TYPES) in agpioc_allocate_wrap()
886 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in agpioc_allocate_wrap()
891 alloc.key = memory->key; in agpioc_allocate_wrap()
892 alloc.physical = memory->physical; in agpioc_allocate_wrap()
894 if (copy_to_user(arg, &alloc, sizeof(struct agp_allocate))) { in agpioc_allocate_wrap()
/linux-4.19.296/lib/
Dtest_overflow.c490 #define alloc010(alloc, arg, sz) alloc(sz, alloc_GFP) argument
491 #define alloc011(alloc, arg, sz) alloc(sz, alloc_GFP, NUMA_NO_NODE) argument
492 #define alloc000(alloc, arg, sz) alloc(sz) argument
493 #define alloc001(alloc, arg, sz) alloc(sz, NUMA_NO_NODE) argument
494 #define alloc110(alloc, arg, sz) alloc(arg, sz, alloc_GFP) argument
509 ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\
517 ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \
526 ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_comms.c211 void *alloc; in process_msg() member
264 state.alloc = kmalloc(len, GFP_NOIO | __GFP_HIGH); in process_msg()
265 if (!state.alloc) in process_msg()
271 state.body = state.alloc; in process_msg()
319 state.alloc = NULL; in process_msg()
325 kfree(state.alloc); in process_msg()
326 state.alloc = NULL; in process_msg()
/linux-4.19.296/drivers/uwb/
Ddrp-ie.c298 const struct uwb_drp_alloc *alloc; in uwb_drp_ie_to_bm() local
307 alloc = &drp_ie->allocs[cnt]; in uwb_drp_ie_to_bm()
308 zone_bm = le16_to_cpu(alloc->zone_bm); in uwb_drp_ie_to_bm()
309 mas_bm = le16_to_cpu(alloc->mas_bm); in uwb_drp_ie_to_bm()
/linux-4.19.296/include/sound/
Dgus.h549 void snd_gf1_mem_lock(struct snd_gf1_mem * alloc, int xup);
550 int snd_gf1_mem_xfree(struct snd_gf1_mem * alloc, struct snd_gf1_mem_block * block);
551 struct snd_gf1_mem_block *snd_gf1_mem_alloc(struct snd_gf1_mem * alloc, int owner,
554 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address);
555 int snd_gf1_mem_free_owner(struct snd_gf1_mem * alloc, int owner);
/linux-4.19.296/fs/xfs/scrub/
Dalloc.c109 bno = be32_to_cpu(rec->alloc.ar_startblock); in xchk_allocbt_rec()
110 len = be32_to_cpu(rec->alloc.ar_blockcount); in xchk_allocbt_rec()
/linux-4.19.296/fs/hpfs/
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/linux-4.19.296/drivers/base/
Dcomponent.c30 size_t alloc; member
297 if (match->alloc == num) in component_match_realloc()
310 match->alloc = num; in component_match_realloc()
343 if (match->num == match->alloc) { in component_match_add_release()
344 size_t new_size = match->alloc + 16; in component_match_add_release()
/linux-4.19.296/fs/nilfs2/
DMakefile6 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_rma.c198 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_destroy_incomplete_window() local
203 err = wait_event_timeout(alloc->allocwq, in scif_destroy_incomplete_window()
204 alloc->state != OP_IN_PROGRESS, in scif_destroy_incomplete_window()
210 if (alloc->state == OP_COMPLETED) { in scif_destroy_incomplete_window()
762 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_send_alloc_request() local
765 alloc->state = OP_IN_PROGRESS; in scif_send_alloc_request()
766 init_waitqueue_head(&alloc->allocwq); in scif_send_alloc_request()
788 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_prep_remote_window() local
803 err = wait_event_timeout(alloc->allocwq, in scif_prep_remote_window()
804 alloc->state != OP_IN_PROGRESS, in scif_prep_remote_window()
[all …]
/linux-4.19.296/drivers/misc/lkdtm/
DMakefile16 --rename-section .noinstr.text=.rodata,alloc,readonly,load,contents
/linux-4.19.296/include/net/
Dpage_pool.h85 struct pp_alloc_cache alloc ____cacheline_aligned_in_smp;
/linux-4.19.296/include/linux/
Dmemremap.h25 unsigned long alloc; member
/linux-4.19.296/drivers/media/radio/
Dradio-isa.h53 struct radio_isa_card *(*alloc)(void); member
Dradio-rtrack2.c103 .alloc = rtrack2_alloc,
Dradio-aztech.c120 .alloc = aztech_alloc,
/linux-4.19.296/include/net/tc_act/
Dtc_ife.h44 int (*alloc)(struct tcf_meta_info *, void *, gfp_t); member
/linux-4.19.296/fs/quota/
Dquota_v2.c345 bool alloc = false; in v2_write_dquot() local
354 alloc = true; in v2_write_dquot()
362 if (alloc) in v2_write_dquot()
/linux-4.19.296/drivers/media/rc/
Drc-main.c179 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
180 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
181 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); in ir_create_table()
189 rc_map->size, rc_map->alloc); in ir_create_table()
223 unsigned int oldalloc = rc_map->alloc; in ir_resize_table()
230 if (rc_map->alloc >= IR_TAB_MAX_SIZE) in ir_resize_table()
252 rc_map->alloc = newalloc; in ir_resize_table()
253 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()

123456