Home
last modified time | relevance | path

Searched refs:dup (Results 1 - 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/kernel/gcov/
H A Dgcc_4_7.c283 struct gcov_info *dup; in gcov_info_dup() local
292 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
293 if (!dup) in gcov_info_dup()
296 dup->next = NULL; in gcov_info_dup()
297 dup->filename = NULL; in gcov_info_dup()
298 dup->functions = NULL; in gcov_info_dup()
300 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
301 if (!dup->filename) in gcov_info_dup()
304 dup in gcov_info_dup()
[all...]
H A Dclang.c394 struct gcov_info *dup; in gcov_info_dup() local
397 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
398 if (!dup) in gcov_info_dup()
400 INIT_LIST_HEAD(&dup->head); in gcov_info_dup()
401 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup()
402 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
403 if (!dup->filename) in gcov_info_dup()
411 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup()
414 return dup; in gcov_info_dup()
[all...]
/kernel/linux/linux-6.6/kernel/gcov/
H A Dgcc_4_7.c280 struct gcov_info *dup; in gcov_info_dup() local
289 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
290 if (!dup) in gcov_info_dup()
293 dup->next = NULL; in gcov_info_dup()
294 dup->filename = NULL; in gcov_info_dup()
295 dup->functions = NULL; in gcov_info_dup()
297 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
298 if (!dup->filename) in gcov_info_dup()
301 dup in gcov_info_dup()
[all...]
H A Dclang.c317 struct gcov_info *dup; in gcov_info_dup() local
320 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
321 if (!dup) in gcov_info_dup()
323 INIT_LIST_HEAD(&dup->head); in gcov_info_dup()
324 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup()
325 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
326 if (!dup->filename) in gcov_info_dup()
334 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup()
337 return dup; in gcov_info_dup()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dir2_data.c24 struct xfs_dir2_data_unused *dup,
178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local
186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check()
193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
196 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
209 offset += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify()
470 off = (xfs_dir2_data_aoff_t)((char *)dup in xfs_dir2_data_freefind_verify()
458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument
517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument
553 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) xfs_dir2_data_freeinsert() argument
662 struct xfs_dir2_data_unused *dup = addr + offset; xfs_dir2_data_freescan() local
701 struct xfs_dir2_data_unused *dup; xfs_dir3_data_init() local
803 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) xfs_dir2_data_log_unused() argument
1010 xfs_dir2_data_check_free( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len) xfs_dir2_data_check_free() argument
1053 xfs_dir2_data_use_free( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp) xfs_dir2_data_use_free() argument
[all...]
H A Dxfs_dir2_block.c200 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
214 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
227 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
233 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
236 dup = NULL; in xfs_dir2_block_need_space()
238 dup = NULL; in xfs_dir2_block_need_space()
240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
262 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
264 if (dup ! in xfs_dir2_block_need_space()
360 xfs_dir2_data_unused_t *dup; /* block unused entry */ xfs_dir2_block_addname() local
931 xfs_dir2_data_unused_t *dup; /* unused data entry */ xfs_dir2_leaf_to_block() local
1083 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ xfs_dir2_sf_to_block() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2_data.c24 struct xfs_dir2_data_unused *dup,
178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local
186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check()
193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
196 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
209 offset += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify()
470 off = (xfs_dir2_data_aoff_t)((char *)dup in xfs_dir2_data_freefind_verify()
458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument
517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument
553 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) xfs_dir2_data_freeinsert() argument
662 struct xfs_dir2_data_unused *dup = addr + offset; xfs_dir2_data_freescan() local
701 struct xfs_dir2_data_unused *dup; xfs_dir3_data_init() local
803 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) xfs_dir2_data_log_unused() argument
1010 xfs_dir2_data_check_free( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len) xfs_dir2_data_check_free() argument
1053 xfs_dir2_data_use_free( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp) xfs_dir2_data_use_free() argument
[all...]
H A Dxfs_dir2_block.c200 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
214 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
227 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
233 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
236 dup = NULL; in xfs_dir2_block_need_space()
238 dup = NULL; in xfs_dir2_block_need_space()
240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
262 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
264 if (dup ! in xfs_dir2_block_need_space()
360 xfs_dir2_data_unused_t *dup; /* block unused entry */ xfs_dir2_block_addname() local
931 xfs_dir2_data_unused_t *dup; /* unused data entry */ xfs_dir2_leaf_to_block() local
1083 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ xfs_dir2_sf_to_block() local
[all...]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Ddsp_hwec.c54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
58 if (!dup) in dsp_hwec_enable()
61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
76 kfree(dup); in dsp_hwec_enable()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
H A Dosdep_service.c69 u8 *dup = NULL; in rtw_buf_update() local
78 dup = rtw_malloc(src_len); in rtw_buf_update()
79 if (dup) { in rtw_buf_update()
81 memcpy(dup, src, dup_len); in rtw_buf_update()
87 /* replace buf with dup */ in rtw_buf_update()
89 *buf = dup; in rtw_buf_update()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Ddsp_hwec.c54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
58 if (!dup) in dsp_hwec_enable()
61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
76 kfree(dup); in dsp_hwec_enable()
/kernel/linux/linux-5.10/drivers/hyperhold/
H A Dhp_iotab.c67 struct hpio *dup = NULL; in iotab_insert() local
71 dup = __iotab_search_get(iotab, hpio->eid); in iotab_insert()
72 if (dup) { in iotab_insert()
74 dup, hpio->eid, hpio); in iotab_insert()
83 return dup; in iotab_insert()
190 struct hpio *dup = NULL; in hpio_get_alloc() local
204 dup = iotab_insert(&iotab, hpio); in hpio_get_alloc()
205 if (dup) { in hpio_get_alloc()
207 hpio = dup; in hpio_get_alloc()
/kernel/linux/linux-6.6/drivers/hyperhold/
H A Dhp_iotab.c67 struct hpio *dup = NULL; in iotab_insert() local
71 dup = __iotab_search_get(iotab, hpio->eid); in iotab_insert()
72 if (dup) { in iotab_insert()
74 dup, hpio->eid, hpio); in iotab_insert()
83 return dup; in iotab_insert()
190 struct hpio *dup = NULL; in hpio_get_alloc() local
204 dup = iotab_insert(&iotab, hpio); in hpio_get_alloc()
205 if (dup) { in hpio_get_alloc()
207 hpio = dup; in hpio_get_alloc()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c127 u8 *dup = NULL; in rtw_buf_update() local
136 dup = rtw_malloc(src_len); in rtw_buf_update()
137 if (dup) { in rtw_buf_update()
139 memcpy(dup, src, dup_len); in rtw_buf_update()
146 /* replace buf with dup */ in rtw_buf_update()
148 *buf = dup; in rtw_buf_update()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dsuper.c64 char *dup = NULL; in hmdfs_match_strdup() local
66 dup = match_strdup(s); in hmdfs_match_strdup()
67 if (!dup) in hmdfs_match_strdup()
72 *dst = dup; in hmdfs_match_strdup()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dsuper.c64 char *dup = NULL; in hmdfs_match_strdup() local
66 dup = match_strdup(s); in hmdfs_match_strdup()
67 if (!dup) in hmdfs_match_strdup()
72 *dst = dup; in hmdfs_match_strdup()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_dir2_readdir.c174 * Each object is a real entry (dep) or an unused one (dup). in xfs_dir2_block_getdents()
180 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
187 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
188 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
355 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
418 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
420 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
423 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
447 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
452 if (be16_to_cpu(dup in xfs_dir2_leaf_getdents()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_dir2_readdir.c175 * Each object is a real entry (dep) or an unused one (dup). in xfs_dir2_block_getdents()
181 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
188 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
189 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
355 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
420 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
422 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
425 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
449 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
454 if (be16_to_cpu(dup in xfs_dir2_leaf_getdents()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dksm.c81 * write protected memory content, but each "dup" corresponds to a
344 static __always_inline bool is_stable_node_dup(struct stable_node *dup) in is_stable_node_dup() argument
346 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup()
349 static inline void stable_node_chain_add_dup(struct stable_node *dup, in stable_node_chain_add_dup() argument
352 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup()
353 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup()
355 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup()
359 static inline void __stable_node_dup_del(struct stable_node *dup) in __stable_node_dup_del() argument
361 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del()
362 hlist_del(&dup in __stable_node_dup_del()
366 stable_node_dup_del(struct stable_node *dup) stable_node_dup_del() argument
592 alloc_stable_node_chain(struct stable_node *dup, struct rb_root *root) alloc_stable_node_chain() argument
919 struct stable_node *dup; remove_stable_node_chain() local
1365 struct stable_node *dup, *found = NULL, *stable_node = *_stable_node; stable_node_dup() local
2730 struct stable_node *dup; stable_node_chain_remove_range() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dreaddir.c112 struct xfs_dir2_data_unused *dup = bp->b_addr + off; in xchk_dir_walk_block() local
118 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_block()
119 next_off = off + be16_to_cpu(dup->length); in xchk_dir_walk_block()
201 struct xfs_dir2_data_unused *dup; in xchk_dir_walk_leaf() local
230 dup = bp->b_addr + offset; in xchk_dir_walk_leaf()
231 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_leaf()
232 length = be16_to_cpu(dup->length); in xchk_dir_walk_leaf()
H A Ddir.c222 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
229 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
230 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
272 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry()
277 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
298 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
341 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
342 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
345 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
346 be16_to_cpu(dup in xchk_directory_data_bestfree()
268 xchk_directory_check_free_entry( struct xfs_scrub *sc, xfs_dablk_t lblk, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xchk_directory_check_free_entry() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
H A Dcvmx-pcsx-defs.h422 uint64_t dup:1; member
426 uint64_t dup:1;
441 uint64_t dup:1; member
465 uint64_t dup:1;
473 uint64_t dup:1; member
497 uint64_t dup:1;
509 uint64_t dup:1; member
533 uint64_t dup:1;
541 uint64_t dup:1; member
565 uint64_t dup
638 uint64_t dup:1; global() member
750 uint64_t dup:1; global() member
774 uint64_t dup:1; global() member
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/
H A Dcvmx-pcsx-defs.h422 uint64_t dup:1; member
426 uint64_t dup:1;
441 uint64_t dup:1; member
465 uint64_t dup:1;
473 uint64_t dup:1; member
497 uint64_t dup:1;
509 uint64_t dup:1; member
533 uint64_t dup:1;
541 uint64_t dup:1; member
565 uint64_t dup
638 uint64_t dup:1; global() member
750 uint64_t dup:1; global() member
774 uint64_t dup:1; global() member
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Ddir.c260 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
267 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
268 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
306 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry()
311 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
332 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
375 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
376 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
379 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
380 be16_to_cpu(dup in xchk_directory_data_bestfree()
302 xchk_directory_check_free_entry( struct xfs_scrub *sc, xfs_dablk_t lblk, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xchk_directory_check_free_entry() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c190 u8 *dup = NULL; in rtw_buf_update() local
199 dup = rtw_malloc(src_len); in rtw_buf_update()
200 if (dup) { in rtw_buf_update()
202 memcpy(dup, src, dup_len); in rtw_buf_update()
209 /* replace buf with dup */ in rtw_buf_update()
211 *buf = dup; in rtw_buf_update()

Completed in 19 milliseconds

1234567