/kernel/linux/linux-6.6/tools/objtool/ |
H A D | elf.c | 602 Elf64_Xword entsize = symtab->sh.sh_entsize; in elf_update_symbol() local 652 buf = calloc(num, entsize); in elf_update_symbol() 659 symtab_data->d_size = num * entsize; in elf_update_symbol() 692 max_idx = symtab_data->d_size / entsize; in elf_update_symbol() 1091 size_t entsize, unsigned int nr) in elf_create_section() 1094 size_t size = entsize * nr; in elf_create_section() 1144 sec->sh.sh_entsize = entsize; in elf_create_section() 1210 size_t entsize, unsigned int nr, in elf_create_section_pair() 1215 sec = elf_create_section(elf, name, entsize, nr); in elf_create_section_pair() 1090 elf_create_section(struct elf *elf, const char *name, size_t entsize, unsigned int nr) elf_create_section() argument 1209 elf_create_section_pair(struct elf *elf, const char *name, size_t entsize, unsigned int nr, unsigned int reloc_nr) elf_create_section_pair() argument
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 1364 int entsize; in xfs_attr3_leaf_add() local 1374 entsize = xfs_attr_leaf_newentsize(args, NULL); in xfs_attr3_leaf_add() 1389 tmp = entsize; in xfs_attr3_leaf_add() 1404 if (!ichdr.holes && sum < entsize) in xfs_attr3_leaf_add() 1417 if (ichdr.freemap[0].size < (entsize + sizeof(xfs_attr_leaf_entry_t))) { in xfs_attr3_leaf_add() 2093 int entsize; in xfs_attr3_leaf_remove() local 2124 entsize = xfs_attr_leaf_entsize(leaf, args->index); in xfs_attr3_leaf_remove() 2137 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove() 2151 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove() 2156 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove() [all...] |
H A D | xfs_dir2_sf.c | 948 int entsize; /* this entry's size */ in xfs_dir2_sf_removename() local 986 entsize = xfs_dir2_sf_entsize(mp, sfp, args->namelen); in xfs_dir2_sf_removename() 987 newsize = oldsize - entsize; in xfs_dir2_sf_removename() 991 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename() 992 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename() 993 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 1409 int entsize; in xfs_attr3_leaf_add() local 1419 entsize = xfs_attr_leaf_newentsize(args, NULL); in xfs_attr3_leaf_add() 1434 tmp = entsize; in xfs_attr3_leaf_add() 1449 if (!ichdr.holes && sum < entsize) in xfs_attr3_leaf_add() 1462 if (ichdr.freemap[0].size < (entsize + sizeof(xfs_attr_leaf_entry_t))) { in xfs_attr3_leaf_add() 2139 int entsize; in xfs_attr3_leaf_remove() local 2170 entsize = xfs_attr_leaf_entsize(leaf, args->index); in xfs_attr3_leaf_remove() 2183 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove() 2197 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove() 2202 ichdr.freemap[before].size += entsize; in xfs_attr3_leaf_remove() [all...] |
H A D | xfs_dir2_sf.c | 944 int entsize; /* this entry's size */ in xfs_dir2_sf_removename() local 982 entsize = xfs_dir2_sf_entsize(mp, sfp, args->namelen); in xfs_dir2_sf_removename() 983 newsize = oldsize - entsize; in xfs_dir2_sf_removename() 987 if (byteoff + entsize < oldsize) in xfs_dir2_sf_removename() 988 memmove((char *)sfp + byteoff, (char *)sfp + byteoff + entsize, in xfs_dir2_sf_removename() 989 oldsize - (byteoff + entsize)); in xfs_dir2_sf_removename()
|
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | elf.c | 578 Elf64_Xword entsize = symtab->sh.sh_entsize; in elf_update_symbol() local 622 buf = calloc(1, entsize); in elf_update_symbol() 629 symtab_data->d_size = entsize; in elf_update_symbol() 633 symtab->sh.sh_size += entsize; in elf_update_symbol() 656 max_idx = symtab_data->d_size / entsize; in elf_update_symbol() 979 unsigned int sh_flags, size_t entsize, int nr) in elf_create_section() 982 size_t size = entsize * nr; in elf_create_section() 1035 sec->sh.sh_entsize = entsize; in elf_create_section() 978 elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr) elf_create_section() argument
|
H A D | elf.h | 129 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr);
|
/kernel/linux/linux-6.6/tools/objtool/include/objtool/ |
H A D | elf.h | 110 size_t entsize, unsigned int nr); 112 size_t entsize, unsigned int nr,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | chip.h | 706 void set_hdrq_regs(struct hfi1_devdata *dd, u8 ctxt, u8 entsize, u16 hdrcnt);
|
H A D | chip.c | 12010 * @entsize: the dword entry size 12013 void set_hdrq_regs(struct hfi1_devdata *dd, u8 ctxt, u8 entsize, u16 hdrcnt) in set_hdrq_regs() argument 12020 reg = ((u64)encode_rcv_header_entry_size(entsize) & in set_hdrq_regs()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | chip.h | 664 void set_hdrq_regs(struct hfi1_devdata *dd, u8 ctxt, u8 entsize, u16 hdrcnt);
|
H A D | chip.c | 11971 * @entsize: the dword entry size 11974 void set_hdrq_regs(struct hfi1_devdata *dd, u8 ctxt, u8 entsize, u16 hdrcnt) in set_hdrq_regs() argument 11981 reg = ((u64)encode_rcv_header_entry_size(entsize) & in set_hdrq_regs()
|