/openbmc/linux/fs/xfs/libxfs/ |
H A 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 194 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 198 be16_to_cpu(dup->length)); in __xfs_dir3_data_check() 201 if (be16_to_cpu(dup->length) != reclen) in __xfs_dir3_data_check() 205 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 208 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check() 217 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 482 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() argument 491 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind_verify() [all …]
|
H A 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 …]
|
/openbmc/linux/kernel/gcov/ |
H A D | gcc_4_7.c | 282 struct gcov_info *dup; in gcov_info_dup() local 291 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 292 if (!dup) in gcov_info_dup() 295 dup->next = NULL; in gcov_info_dup() 296 dup->filename = NULL; in gcov_info_dup() 297 dup->functions = NULL; in gcov_info_dup() 299 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 300 if (!dup->filename) in gcov_info_dup() 303 dup->functions = kcalloc(info->n_functions, in gcov_info_dup() 305 if (!dup->functions) in gcov_info_dup() [all …]
|
H A D | clang.c | 317 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() 340 gcov_info_free(dup); in gcov_info_dup()
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A 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()
|
H A 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()
|
/openbmc/gpioplus/src/gpioplus/internal/ |
H A D | fd.cpp | 24 static int dup(int oldfd, const Sys* sys) in dup() function 26 int fd = sys->dup(oldfd); in dup() 34 Fd::Fd(int fd, const Sys* sys) : sys(sys), fd(dup(fd, sys)) {} in Fd() 50 Fd::Fd(const Fd& other) : sys(other.sys), fd(dup(other.fd, sys)) {} in Fd() 58 fd = dup(other.fd, sys); in operator =()
|
H A D | sys.cpp | 18 int SysImpl::dup(int oldfd) const in dup() function in gpioplus::internal::SysImpl 20 return ::dup(oldfd); in dup()
|
H A D | sys.hpp | 20 virtual int dup(int oldfd) const = 0; 46 int dup(int oldfd) const override;
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | ksm.rst | 59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算 60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放 61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | osdep_service.c | 127 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() 148 *buf = dup; in rtw_buf_update()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | dir.c | 222 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() argument 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->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree() [all …]
|
H A D | readdir.c | 112 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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 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->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents() 455 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
|
/openbmc/linux/mm/ |
H A D | ksm.c | 349 static __always_inline bool is_stable_node_dup(struct ksm_stable_node *dup) in is_stable_node_dup() argument 351 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup() 354 static inline void stable_node_chain_add_dup(struct ksm_stable_node *dup, in stable_node_chain_add_dup() argument 357 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup() 358 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup() 360 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup() 364 static inline void __stable_node_dup_del(struct ksm_stable_node *dup) in __stable_node_dup_del() argument 366 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del() 367 hlist_del(&dup->hlist_dup); in __stable_node_dup_del() 371 static inline void stable_node_dup_del(struct ksm_stable_node *dup) in stable_node_dup_del() argument [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | ksm.rst | 32 more "dups". Each "dup" keeps reverse mapping information for a KSM 33 page with ``page->mapping`` pointing to that "dup". 37 even if each "dup" will be pointed by a different KSM page copy of 54 practice the best stable_node "dup" candidate will be kept and found 68 one stable_node dup to another stable_node dup, in order to free up
|
/openbmc/linux/drivers/platform/x86/ |
H A 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()
|
/openbmc/bmcweb/include/ |
H A D | duplicatable_file_handle.hpp | 19 fileHandle.native_handle(dup(other.fileHandle.native_handle())); in DuplicatableFileHandle() 27 fileHandle.native_handle(dup(other.fileHandle.native_handle())); in operator =()
|
/openbmc/linux/fs/ntfs3/ |
H A D | frecord.c | 2917 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name() 3038 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name() 3039 de_name->dup.fa = ni->std_fa; in ni_add_name() 3129 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument 3140 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent() 3142 dup->alloc_size = 0; in ni_update_parent() 3143 dup->data_size = 0; in ni_update_parent() 3145 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent() 3150 dup->alloc_size = dup->data_size = 0; in ni_update_parent() 3154 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 111 u32 dup = 0; in iwl_new_rate_from_v1() local 178 dup = (rate_v1 & RATE_MCS_DUP_MSK_V1) >> RATE_MCS_DUP_POS_V1; in iwl_new_rate_from_v1() 179 if (dup) { in iwl_new_rate_from_v1() 181 rate_v2 |= dup << RATE_MCS_CHAN_WIDTH_POS; in iwl_new_rate_from_v1()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/snappy/snappy/ |
H A D | fix-build-on-32bit-arm.patch | 26 - uint8_t val = 3, dup[8]; 29 - vst1q_u8(dup, v);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A 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 …]
|
/openbmc/linux/drivers/pci/ |
H A D | slot.c | 111 int len, max, dup; in make_slot_name() local 124 dup = 1; in make_slot_name() 132 if (dup == max) { in make_slot_name() 140 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
|
/openbmc/linux/fs/ |
H A 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()
|