Searched refs:unlikely (Results 1 - 25 of 143) sorted by relevance

123456

/external/elfutils/libelf/
H A Dgelf_update_rela.c38 if (unlikely (ndx < 0))
44 if (unlikely (data_scn->d.d_type != ELF_T_RELA))
60 if (unlikely (src->r_offset > 0xffffffffull)
61 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff)
62 || unlikely (GELF_R_TYPE (src->r_info) > 0xff)
63 || unlikely (src->r_addend < -0x80000000ll)
64 || unlikely (src->r_addend > 0x7fffffffll))
71 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size))
87 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size))
H A Dgelf_update_dyn.c41 if (unlikely (ndx < 0))
47 if (unlikely (data_scn->d.d_type != ELF_T_DYN))
63 if (unlikely (src->d_tag < -0x80000000ll)
64 || unlikely (src->d_tag > 0x7fffffffll)
65 || unlikely (src->d_un.d_val > 0xffffffffull))
72 if (unlikely ((ndx + 1) * sizeof (Elf32_Dyn) > data_scn->d.d_size))
86 if (unlikely ((ndx + 1) * sizeof (Elf64_Dyn) > data_scn->d.d_size))
H A Dgelf_update_rel.c38 if (unlikely (ndx < 0))
44 if (unlikely (data_scn->d.d_type != ELF_T_REL))
60 if (unlikely (src->r_offset > 0xffffffffull)
61 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff)
62 || unlikely (GELF_R_TYPE (src->r_info) > 0xff))
69 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size))
84 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size))
H A Dgelf_update_phdr.c36 if (unlikely (elf->kind != ELF_K_ELF))
51 if (unlikely (src->p_offset > 0xffffffffull)
52 || unlikely (src->p_vaddr > 0xffffffffull)
53 || unlikely (src->p_paddr > 0xffffffffull)
54 || unlikely (src->p_filesz > 0xffffffffull)
55 || unlikely (src->p_memsz > 0xffffffffull)
56 || unlikely (src->p_align > 0xffffffffull))
71 if (unlikely (ndx >= elf->state.elf32.ehdr->e_phnum))
104 if (unlikely (ndx >= elf->state.elf64.ehdr->e_phnum))
H A Delf32_fsize.c38 if (unlikely (version == EV_NONE) || unlikely (version >= EV_NUM))
44 if (unlikely (type >= ELF_T_NUM))
H A Dgelf_getverdaux.c40 if (unlikely (data->d_type != ELF_T_VDEF))
55 if (unlikely (offset < 0)
56 || unlikely (offset + sizeof (GElf_Verdaux) > data->d_size)
57 || unlikely (offset % __alignof__ (GElf_Verdaux) != 0))
H A Dgelf_getverdef.c40 if (unlikely (data->d_type != ELF_T_VDEF))
55 if (unlikely (offset < 0)
56 || unlikely (offset + sizeof (GElf_Verdef) > data->d_size)
57 || unlikely (offset % __alignof__ (GElf_Verdef) != 0))
H A Dgelf_getvernaux.c40 if (unlikely (data->d_type != ELF_T_VNEED))
58 if (unlikely (offset < 0)
59 || unlikely (offset + sizeof (GElf_Vernaux) > data->d_size)
60 || unlikely (offset % sizeof (GElf_Vernaux) != 0))
H A Dgelf_getverneed.c40 if (unlikely (data->d_type != ELF_T_VNEED))
58 if (unlikely (offset < 0)
59 || unlikely (offset + sizeof (GElf_Verneed) > data->d_size)
60 || unlikely (offset % sizeof (GElf_Verneed) != 0))
H A Dgelf_update_symshndx.c47 if (unlikely (ndx < 0))
53 if (unlikely (symdata_scn->d.d_type != ELF_T_SYM))
69 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size))
78 else if (unlikely (srcshndx != 0))
90 if (unlikely (src->st_value > 0xffffffffull)
91 || unlikely (src->st_size > 0xffffffffull))
98 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata_scn->d.d_size))
121 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > symdata_scn->d.d_size))
H A Dgelf_update_shdr.c50 if (unlikely (src->sh_flags > 0xffffffffull)
51 || unlikely (src->sh_addr > 0xffffffffull)
52 || unlikely (src->sh_offset > 0xffffffffull)
53 || unlikely (src->sh_size > 0xffffffffull)
54 || unlikely (src->sh_addralign > 0xffffffffull)
55 || unlikely (src->sh_entsize > 0xffffffffull))
H A Dgelf_update_sym.c42 if (unlikely (ndx < 0))
48 if (unlikely (data_scn->d.d_type != ELF_T_SYM))
64 if (unlikely (src->st_value > 0xffffffffull)
65 || unlikely (src->st_size > 0xffffffffull))
72 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > data_scn->d.d_size))
95 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > data_scn->d.d_size))
H A Dgelf_update_lib.c38 if (unlikely (ndx < 0))
45 if (unlikely (data_scn->d.d_type != ELF_T_LIB))
57 if (unlikely ((ndx + 1) * sizeof (Elf64_Lib) > data_scn->d.d_size))
H A Dgelf_update_move.c45 if (unlikely (ndx < 0)
46 || unlikely ((ndx + 1) * sizeof (GElf_Move) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_MOVE))
H A Dgelf_update_syminfo.c42 if (unlikely (ndx < 0))
48 if (unlikely (data_scn->d.d_type != ELF_T_SYMINFO))
63 if (unlikely ((ndx + 1) * sizeof (GElf_Syminfo) > data_scn->d.d_size))
H A Dgelf_update_verdaux.c45 if (unlikely (offset < 0)
46 || unlikely ((offset + sizeof (GElf_Verdaux)) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_VDEF))
H A Dgelf_update_verdef.c45 if (unlikely (offset < 0)
46 || unlikely ((offset + sizeof (GElf_Verdef)) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_VDEF))
H A Dgelf_update_vernaux.c45 if (unlikely (offset < 0)
46 || unlikely ((offset + sizeof (GElf_Vernaux)) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_VNEED))
H A Dgelf_update_verneed.c45 if (unlikely (offset < 0)
46 || unlikely ((offset + sizeof (GElf_Verneed)) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_VNEED))
H A Dgelf_update_versym.c45 if (unlikely (ndx < 0)
46 || unlikely ((ndx + 1) * sizeof (GElf_Versym) > data_scn->d.d_size))
52 if (unlikely (data_scn->d.d_type != ELF_T_HALF))
H A Dgelf_getrel.c41 if (unlikely (ndx < 0))
47 if (unlikely (data_scn->d.d_type != ELF_T_REL))
63 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size))
83 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size))
/external/kernel-headers/original/asm-generic/
H A Dmutex-xchg.h28 if (unlikely(atomic_xchg(count, 0) != 1))
47 if (unlikely(atomic_xchg(count, 0) != 1))
71 if (unlikely(atomic_xchg(count, 1) != 0))
97 if (unlikely(prev < 0)) {
H A Dbug.h15 #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0)
20 if (unlikely((condition)!=0)) { \
46 if (unlikely((condition) && __warn_once)) { \
/external/kernel-headers/original/linux/
H A Dsmp_lock.h17 if (unlikely((tsk)->lock_depth >= 0)) \
35 if (unlikely(task->lock_depth >= 0))
/external/elfutils/libdw/
H A Ddwarf_formflag.c31 if (unlikely (attr->form != DW_FORM_flag))

Completed in 109 milliseconds

123456