Home
last modified time | relevance | path

Searched refs:constants (Results 1 - 25 of 122) sorted by relevance

12345

/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dproc.py15 from linux import constants namespace
121 FS_INFO = {constants.LX_SB_SYNCHRONOUS: ",sync",
122 constants.LX_SB_MANDLOCK: ",mand",
123 constants.LX_SB_DIRSYNC: ",dirsync",
124 constants.LX_SB_NOATIME: ",noatime",
125 constants.LX_SB_NODIRATIME: ",nodiratime"}
127 MNT_INFO = {constants.LX_MNT_NOSUID: ",nosuid",
128 constants.LX_MNT_NODEV: ",nodev",
129 constants.LX_MNT_NOEXEC: ",noexec",
130 constants
[all...]
H A Dtimerlist.py8 from linux import constants namespace
59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
62 if constants.LX_CONFIG_HIGH_RES_TIMERS:
80 if constants.LX_CONFIG_HIGH_RES_TIMERS:
90 if constants.LX_CONFIG_TICK_ONESHOT:
153 if constants.LX_NR_CPUS > 1:
198 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS:
199 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS_BROADCAST:
206 if constants.LX_CONFIG_TICK_ONESHOT:
H A DMakefile21 extra-y += constants.py
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dproc.py16 from linux import constants namespace
123 FS_INFO = {constants.LX_SB_SYNCHRONOUS: ",sync",
124 constants.LX_SB_MANDLOCK: ",mand",
125 constants.LX_SB_DIRSYNC: ",dirsync",
126 constants.LX_SB_NOATIME: ",noatime",
127 constants.LX_SB_NODIRATIME: ",nodiratime"}
129 MNT_INFO = {constants.LX_MNT_NOSUID: ",nosuid",
130 constants.LX_MNT_NODEV: ",nodev",
131 constants.LX_MNT_NOEXEC: ",noexec",
132 constants
[all...]
H A Dradixtree.py15 from linux import constants namespace
22 return ((node.cast(long_type) & constants.LX_RADIX_TREE_ENTRY_MASK) == constants.LX_RADIX_TREE_INTERNAL_NODE)
27 indirect_ptr = node.cast(long_type) & ~constants.LX_RADIX_TREE_INTERNAL_NODE
31 return (constants.LX_RADIX_TREE_MAP_SIZE << node['shift']) - 1
55 shift = node['shift'] + constants.LX_RADIX_TREE_MAP_SHIFT
58 offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK
68 shift -= constants.LX_RADIX_TREE_MAP_SHIFT
H A Dvmalloc.py11 from linux import lists, utils, stackdepot, constants, mm namespace
13 if constants.LX_CONFIG_MMU:
29 if not constants.LX_CONFIG_MMU:
46 if v['flags'] & constants.LX_VM_IOREMAP:
48 if v['flags'] & constants.LX_VM_ALLOC:
50 if v['flags'] & constants.LX_VM_MAP:
52 if v['flags'] & constants.LX_VM_USERMAP:
54 if v['flags'] & constants.LX_VM_DMA_COHERENT:
H A Dmm.py11 from linux import utils, constants namespace
25 if not constants.LX_CONFIG_SPARSEMEM_VMEMMAP:
27 if constants.LX_CONFIG_ARM64 and utils.is_target_arch('aarch64'):
38 if constants.LX_CONFIG_ARM64_64K_PAGES:
42 self.MAX_PHYSMEM_BITS = constants.LX_CONFIG_ARM64_VA_BITS
44 self.PAGE_SHIFT = constants.LX_CONFIG_ARM64_PAGE_SHIFT
48 self.VA_BITS = constants.LX_CONFIG_ARM64_VA_BITS
59 if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit():
60 self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER
70 if constants
[all...]
H A Dinterrupts.py7 from linux import constants namespace
15 return desc['status_use_accessors'] & constants.LX_IRQ_HIDDEN
21 return desc['irq_data']['common']['state_use_accessors'] & constants.LX_IRQD_LEVEL
68 if constants.LX_CONFIG_GENERIC_IRQ_SHOW_LEVEL:
120 if constants.LX_CONFIG_X86_LOCAL_APIC:
129 if constants.LX_CONFIG_SMP:
134 if constants.LX_CONFIG_X86_THERMAL_VECTOR:
137 if constants.LX_CONFIG_X86_MCE_THRESHOLD:
140 if constants.LX_CONFIG_X86_MCE_AMD:
143 if constants
[all...]
H A Dtimerlist.py8 from linux import constants namespace
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
61 if constants.LX_CONFIG_HIGH_RES_TIMERS:
79 if constants.LX_CONFIG_HIGH_RES_TIMERS:
89 if constants.LX_CONFIG_TICK_ONESHOT:
152 if constants.LX_NR_CPUS > 1:
198 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS:
199 if constants.LX_CONFIG_GENERIC_CLOCKEVENTS_BROADCAST:
206 if constants.LX_CONFIG_TICK_ONESHOT:
H A Dslab.py12 from linux import lists, utils, stackdepot, constants, mm namespace
14 SLAB_RED_ZONE = constants.LX_SLAB_RED_ZONE
15 SLAB_POISON = constants.LX_SLAB_POISON
16 SLAB_KMALLOC = constants.LX_SLAB_KMALLOC
17 SLAB_HWCACHE_ALIGN = constants.LX_SLAB_HWCACHE_ALIGN
18 SLAB_CACHE_DMA = constants.LX_SLAB_CACHE_DMA
19 SLAB_CACHE_DMA32 = constants.LX_SLAB_CACHE_DMA32
20 SLAB_STORE_USER = constants.LX_SLAB_STORE_USER
21 SLAB_PANIC = constants.LX_SLAB_PANIC
26 if constants
[all...]
H A Dmodules.py16 from linux import cpus, utils, lists, constants namespace
76 text = module['mem'][constants.LX_MOD_TEXT]
80 for i in range(constants.LX_MOD_TEXT, constants.LX_MOD_RO_AFTER_INIT + 1):
122 mod_text_start = mod['mem'][constants.LX_MOD_TEXT]['base']
123 mod_text_end = mod_text_start + mod['mem'][constants.LX_MOD_TEXT]['size'].cast(utils.get_ulong_type())
H A DMakefile21 always-y += constants.py
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
H A Dstackdepot.py10 from linux import utils, constants namespace
12 if constants.LX_CONFIG_STACKDEPOT:
46 if not constants.LX_CONFIG_STACKDEPOT:
H A Dpage_owner.py10 from linux import utils, stackdepot, constants, mm namespace
12 if constants.LX_CONFIG_PAGE_OWNER:
17 PAGE_EXT_OWNER = constants.LX_PAGE_EXT_OWNER
19 PAGE_EXT_OWNER_ALLOCATED = constants.LX_PAGE_EXT_OWNER_ALLOCATED
42 if not constants.LX_CONFIG_PAGE_OWNER:
/kernel/linux/linux-5.10/crypto/
H A Dsalsa20_generic.c117 const char *constants; in salsa20_setkey() local
129 constants = sigma; in salsa20_setkey()
131 constants = tau; in salsa20_setkey()
137 ctx->initial_state[0] = get_unaligned_le32(constants + 0); in salsa20_setkey()
138 ctx->initial_state[5] = get_unaligned_le32(constants + 4); in salsa20_setkey()
139 ctx->initial_state[10] = get_unaligned_le32(constants + 8); in salsa20_setkey()
140 ctx->initial_state[15] = get_unaligned_le32(constants + 12); in salsa20_setkey()
/kernel/linux/linux-6.6/arch/arm64/kvm/
H A DMakefile27 always-y := hyp_constants.h hyp-constants.s
33 CFLAGS_hyp-constants.o = -I $(srctree)/$(src)/hyp/include
34 $(obj)/hyp-constants.s: $(src)/hyp/hyp-constants.c FORCE
37 $(obj)/hyp_constants.h: $(obj)/hyp-constants.s FORCE
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
H A Daty128fb.c401 /* PLL constants */
440 struct aty128_constants constants; /* PLL and others */ member
906 par->constants.ppll_max = BIOS_IN32(bios_pll + 0x16); in aty128_get_pllinfo()
907 par->constants.ppll_min = BIOS_IN32(bios_pll + 0x12); in aty128_get_pllinfo()
908 par->constants.xclk = BIOS_IN16(bios_pll + 0x08); in aty128_get_pllinfo()
909 par->constants.ref_divider = BIOS_IN16(bios_pll + 0x10); in aty128_get_pllinfo()
910 par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); in aty128_get_pllinfo()
913 par->constants.ppll_max, par->constants.ppll_min, in aty128_get_pllinfo()
914 par->constants in aty128_get_pllinfo()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
H A Daty128fb.c401 /* PLL constants */
440 struct aty128_constants constants; /* PLL and others */ member
904 par->constants.ppll_max = BIOS_IN32(bios_pll + 0x16); in aty128_get_pllinfo()
905 par->constants.ppll_min = BIOS_IN32(bios_pll + 0x12); in aty128_get_pllinfo()
906 par->constants.xclk = BIOS_IN16(bios_pll + 0x08); in aty128_get_pllinfo()
907 par->constants.ref_divider = BIOS_IN16(bios_pll + 0x10); in aty128_get_pllinfo()
908 par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); in aty128_get_pllinfo()
911 par->constants.ppll_max, par->constants.ppll_min, in aty128_get_pllinfo()
912 par->constants in aty128_get_pllinfo()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dstrnlen_user.c25 const struct word_at_a_time constants = WORD_AT_A_TIME_CONSTANTS; in do_strnlen_user() local
42 if (has_zero(c, &data, &constants)) { in do_strnlen_user()
43 data = prep_zero_mask(c, data, &constants); in do_strnlen_user()
H A Dstrncpy_from_user.c31 const struct word_at_a_time constants = WORD_AT_A_TIME_CONSTANTS; in do_strncpy_from_user() local
54 if (has_zero(c, &data, &constants)) { in do_strncpy_from_user()
55 data = prep_zero_mask(c, data, &constants); in do_strncpy_from_user()
/kernel/linux/linux-6.6/lib/
H A Dstrnlen_user.c25 const struct word_at_a_time constants = WORD_AT_A_TIME_CONSTANTS; in do_strnlen_user() local
42 if (has_zero(c, &data, &constants)) { in do_strnlen_user()
43 data = prep_zero_mask(c, data, &constants); in do_strnlen_user()
H A Dstrncpy_from_user.c31 const struct word_at_a_time constants = WORD_AT_A_TIME_CONSTANTS; in do_strncpy_from_user() local
54 if (has_zero(c, &data, &constants)) { in do_strncpy_from_user()
55 data = prep_zero_mask(c, data, &constants); in do_strncpy_from_user()
/kernel/linux/linux-6.6/scripts/gdb/
H A Dvmlinux-gdb.py25 import linux.constants namespace
26 if linux.constants.LX_CONFIG_DEBUG_INFO_REDUCED:
/kernel/linux/linux-5.10/lib/mpi/
H A Dmpiutil.c24 static MPI constants[MPI_NUMBER_OF_CONSTANTS]; variable
58 constants[idx] = mpi_alloc_set_ui(value); in mpi_init()
59 constants[idx]->flags = (16|32); in mpi_init()
74 if (!constants[no]) in mpi_const()
76 return constants[no]; in mpi_const()
/kernel/linux/linux-6.6/lib/crypto/mpi/
H A Dmpiutil.c24 static MPI constants[MPI_NUMBER_OF_CONSTANTS]; variable
58 constants[idx] = mpi_alloc_set_ui(value); in mpi_init()
59 constants[idx]->flags = (16|32); in mpi_init()
74 if (!constants[no]) in mpi_const()
76 return constants[no]; in mpi_const()

Completed in 11 milliseconds

12345