/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 24 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() argument 470 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind_verify() [all …]
|
D | xfs_dir2_block.c | 200 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 != enddup) { in xfs_dir2_block_need_space() [all …]
|
D | xfs_dir2.h | 76 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 81 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup, 87 struct xfs_dir2_data_unused *dup);
|
D | xfs_da_format.h | 364 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument 366 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p() 367 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
|
/kernel/linux/linux-5.10/kernel/gcov/ |
D | gcc_4_7.c | 283 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->functions = kcalloc(info->n_functions, in gcov_info_dup() 306 if (!dup->functions) in gcov_info_dup() [all …]
|
D | clang.c | 394 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() 417 gcov_info_free(dup); in gcov_info_dup()
|
/kernel/linux/build/test/kernel_ltp/syscalls/dup/ |
D | BUILD.gn | 19 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup01.c" ] 24 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup02.c" ] 29 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup03.c" ] 34 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup04.c" ] 39 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup05.c" ] 44 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup06.c" ] 49 sources = [ "//third_party/ltp/testcases/kernel/syscalls/dup/dup07.c" ]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 69 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() 89 *buf = dup; in rtw_buf_update()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | dsp_hwec.c | 54 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()
|
D | dsp_pipeline.c | 196 char *dup, *next, *tok, *name, *args; in dsp_pipeline_build() local 207 dup = next = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build() 208 if (!dup) in dsp_pipeline_build() 269 kfree(dup); in dsp_pipeline_build()
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_iotab.c | 67 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-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-pcsx-defs.h | 422 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:1; [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_dir2_readdir.c | 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->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents() 453 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | osdep_service.c | 190 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() 211 *buf = dup; in rtw_buf_update()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | dir.c | 260 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() argument 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->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree() [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | super.c | 64 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/mm/ |
D | ksm.c | 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->hlist_dup); in __stable_node_dup_del() 366 static inline void stable_node_dup_del(struct stable_node *dup) in stable_node_dup_del() argument [all …]
|
/kernel/linux/build/test/kernel_ltp/syscalls/ |
D | BUILD.gn | 125 "dup:dup01", 126 "dup:dup02", 127 "dup:dup03", 128 "dup:dup04", 129 "dup:dup05", 130 "dup:dup06", 131 "dup:dup07",
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | topstar-laptop.c | 239 bool *dup; in topstar_acpi_notify() local 243 dup = &dup_evnt[event - 0x83]; in topstar_acpi_notify() 244 if (*dup) { in topstar_acpi_notify() 245 *dup = false; in topstar_acpi_notify() 248 *dup = true; in topstar_acpi_notify()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | ksm.rst | 34 more "dups". Each "dup" keeps reverse mapping information for a KSM 35 page with ``page->mapping`` pointing to that "dup". 39 even if each "dup" will be pointed by a different KSM page copy of 56 practice the best stable_node "dup" candidate will be kept and found 70 one stable_node dup to another stable_node dup, in order to free up
|
/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/ |
D | iterators.c | 48 to_kernel = dup(1); in main() 50 dup(debug_fd); in main()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | slot.c | 109 int len, max, dup; in make_slot_name() local 122 dup = 1; in make_slot_name() 130 if (dup == max) { in make_slot_name() 138 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 189 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_register_mac() local 197 dup ? "with" : "without"); in __mlx4_register_mac() 266 if (dup) { in __mlx4_register_mac() 279 if (dup) { in __mlx4_register_mac() 282 dup = false; in __mlx4_register_mac() 311 if (dup) { in __mlx4_register_mac() 384 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_unregister_mac() local 395 if (dup) { in __mlx4_unregister_mac() 425 if (dup) { in __mlx4_unregister_mac() 436 if (dup) { in __mlx4_unregister_mac() [all …]
|
/kernel/linux/linux-5.10/fs/ |
D | mbcache.c | 77 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local 108 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create() 109 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_set_pipapo.c | 1164 struct nft_pipapo_elem *e = elem->priv, *dup; local 1177 dup = pipapo_get(net, set, start, genmask); 1178 if (!IS_ERR(dup)) { 1182 dup_key = nft_set_ext_key(&dup->ext); 1183 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END)) 1184 dup_end = nft_set_ext_key_end(&dup->ext); 1190 *ext2 = &dup->ext; 1197 if (PTR_ERR(dup) == -ENOENT) { 1199 dup = pipapo_get(net, set, end, nft_genmask_next(net)); 1202 if (PTR_ERR(dup) != -ENOENT) { [all …]
|