Home
last modified time | relevance | path

Searched full:index (Results 1 – 25 of 6474) sorted by relevance

12345678910>>...259

/kernel/linux/linux-5.10/Documentation/
Dindex.rst39 admin-guide/index
40 kbuild/index
50 firmware-guide/index
51 devicetree/index
62 userspace-api/index
77 process/index
78 dev-tools/index
79 doc-guide/index
80 kernel-hacking/index
81 trace/index
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dindex.h3 * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS
22 * @idx_ni: index inode containing the @entry described by this context
23 * @entry: index entry (points into @ir or @ia)
24 * @data: index entry data (points into @entry)
27 * @ir: index root if @is_in_root and NULL otherwise
30 * @ia: index block if @is_in_root is 'false' and NULL otherwise
33 * @idx_ni is the index inode this context belongs to.
35 * @entry is the index entry described by this context. @data and @data_len
36 * are the index entry data and its length in bytes, respectively. @data
39 * If @is_in_root is 'true', @entry is in the index root attribute @ir described
[all …]
Dindex.c3 * index.c - NTFS kernel index handling. Part of the Linux-NTFS project.
13 #include "index.h"
17 * ntfs_index_ctx_get - allocate and initialize a new index context
18 * @idx_ni: ntfs index inode with which to initialize the context
20 * Allocate a new index context, initialize it with @idx_ni and return it.
23 * Locking: Caller must hold i_mutex on the index inode.
36 * ntfs_index_ctx_put - release an index context
37 * @ictx: index context to free
39 * Release the index context @ictx, releasing all associated resources.
41 * Locking: Caller must hold i_mutex on the index inode.
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dindex.rst17 driver-model/index
21 early-userspace/index
22 pm/index
32 iio/index
34 usb/index
36 pci/index
41 i3c/index
52 mei/index
53 mtd/index
54 mmc/index
[all …]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dtag_check.c14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument
19 item_check_absent(tree, index); in __simple_checks()
20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
22 item_insert(tree, index); in __simple_checks()
23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
24 item_tag_set(tree, index, tag); in __simple_checks()
25 ret = item_tag_get(tree, index, tag); in __simple_checks()
29 ret = item_tag_get(tree, index, !tag); in __simple_checks()
31 ret = item_delete(tree, index); in __simple_checks()
33 item_insert(tree, index); in __simple_checks()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/
Dife.json17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2",
19 "verifyCmd": "$TC actions get action ife index 2",
20 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2",
41 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2",
43 "verifyCmd": "$TC actions get action ife index 2",
44 … "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2",
65 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2",
67 "verifyCmd": "$TC actions get action ife index 2",
68 …chPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*index 2",
89 "cmdUnderTest": "$TC actions add action ife encode use mark 789 drop index 2",
[all …]
Dsample.json17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
19 "verifyCmd": "$TC actions get action sample index 2",
20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref",
41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
43 "verifyCmd": "$TC actions get action sample index 2",
44 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref",
65 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
68 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref",
89 "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100",
92 … "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref",
[all …]
Dgact.json17 "cmdUnderTest": "$TC actions add action pass index 8",
20 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref",
41 "cmdUnderTest": "$TC actions add action pipe index 6",
44 "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref",
65 "cmdUnderTest": "$TC actions add action reclassify index 5",
68 "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref",
89 "cmdUnderTest": "$TC actions add action drop index 30",
92 "matchPattern": "action order [0-9]*: gact action drop.*index 30 ref",
113 "cmdUnderTest": "$TC actions add action continue index 432",
116 "matchPattern": "action order [0-9]*: gact action continue.*index 432 ref",
[all …]
Dvlan.json17 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
20 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref",
41 "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
43 "verifyCmd": "$TC actions get action vlan index 8",
44 "matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref",
65 "cmdUnderTest": "$TC actions add action vlan pop drop index 8",
67 "verifyCmd": "$TC actions get action vlan index 8",
68 "matchPattern": "action order [0-9]+: vlan.*pop.*drop.*index 8 ref",
89 "cmdUnderTest": "$TC actions add action vlan pop reclassify index 8",
91 "verifyCmd": "$TC actions get action vlan index 8",
[all …]
Dcsum.json17 "cmdUnderTest": "$TC actions add action csum iph index 800",
19 "verifyCmd": "$TC actions get action csum index 800",
20 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref",
41 "cmdUnderTest": "$TC actions add action csum ip4h index 7",
43 "verifyCmd": "$TC actions get action csum index 7",
44 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 7 ref",
65 "cmdUnderTest": "$TC actions add action csum ipv4h index 1122",
67 "verifyCmd": "$TC actions get action csum index 1122",
68 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 1122 ref",
89 "cmdUnderTest": "$TC actions add action csum icmp index 1",
[all …]
Dtunnel_key.json99 …t": "$TC actions add action tunnel_key set src_ip 300.168.100.1 dst_ip 192.168.200.1 id 7 index 1",
101 "verifyCmd": "$TC actions get action tunnel_key index 1",
102 …n order [0-9]+: tunnel_key set.*src_ip 300.168.100.1.*dst_ip 192.168.200.1.*key_id 7.*index 1 ref",
128 …: "$TC actions add action tunnel_key set src_ip 192.168.100.1 dst_ip 192.168.800.1 id 10 index 11",
130 "verifyCmd": "$TC actions get action tunnel_key index 11",
131 …order [0-9]+: tunnel_key set.*src_ip 192.168.100.1.*dst_ip 192.168.800.1.*key_id 10.*index 11 ref",
157 …$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 112233445566778899 index 1",
159 "verifyCmd": "$TC actions get action tunnel_key index 1",
160 …er [0-9]+: tunnel_key set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 112233445566778899.*index 1 ref",
186 …$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 11 dst_port 998877 index 1",
[all …]
Dmirred.json17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
20 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref",
41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
44 … "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref",
65 "$TC actions add action mirred egress mirror index 1 dev lo",
66 "$TC actions add action mirred egress redirect index 2 dev lo"
92 "cmdUnderTest": "$TC actions add action mirred inbound mirror index 20 dev lo",
95 "matchPattern": "action order [0-9]*: mirred \\(.*to device lo\\).*index 20 ref",
116 "cmdUnderTest": "$TC actions add action mirred egress remirror index 20 dev lo",
119 "matchPattern": "action order [0-9]*: mirred \\(Egress.*to device lo\\).*index 20 ref",
[all …]
Dconnmark.json41 "cmdUnderTest": "$TC actions add action connmark pass index 1",
43 "verifyCmd": "$TC actions get action connmark index 1",
44 "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 1 ref",
65 "cmdUnderTest": "$TC actions add action connmark drop index 100",
67 "verifyCmd": "$TC actions get action connmark index 100",
68 "matchPattern": "action order [0-9]+: connmark zone 0 drop.*index 100 ref",
89 "cmdUnderTest": "$TC actions add action connmark pipe index 455",
91 "verifyCmd": "$TC actions get action connmark index 455",
92 "matchPattern": "action order [0-9]+: connmark zone 0 pipe.*index 455 ref",
113 "cmdUnderTest": "$TC actions add action connmark reclassify index 7",
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dxt_set.c29 match_set(ip_set_id_t index, const struct sk_buff *skb, in match_set() argument
33 if (ip_set_test(index, skb, par, opt)) in match_set()
62 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0()
86 ip_set_id_t index; in set_match_v0_checkentry() local
88 index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); in set_match_v0_checkentry()
90 if (index == IPSET_INVALID_ID) { in set_match_v0_checkentry()
92 info->match_set.index); in set_match_v0_checkentry()
97 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_checkentry()
112 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_destroy()
129 return match_set(info->match_set.index, skb, par, &opt, in set_match_v1()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dw83795.c118 #define IN_LSB_REG(index, type) \ argument
119 (((type) == 1) ? W83795_REG_IN_HL_LSB[(index)] \
120 : (W83795_REG_IN_HL_LSB[(index)] + 1))
150 #define W83795_REG_FAN(index) (0x2E + (index)) argument
151 #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) argument
152 #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) argument
153 #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ argument
154 (((index) & 1) ? 4 : 0)
160 #define W83795_REG_ALARM(index) (0x41 + (index)) argument
162 #define W83795_REG_BEEP(index) (0x50 + (index)) argument
[all …]
Dw83793.c116 #define W83793_REG_BEEP(index) (0x53 + (index)) argument
117 #define W83793_REG_ALARM(index) (0x4b + (index)) argument
146 #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */ argument
147 #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */ argument
159 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ argument
160 (nr) == 1 ? 0x220 : 0x218) + (index))
163 #define W83793_REG_TEMP_FAN_MAP(index) (0x201 + (index)) argument
164 #define W83793_REG_TEMP_TOL(index) (0x208 + (index)) argument
165 #define W83793_REG_TEMP_CRUISE(index) (0x210 + (index)) argument
166 #define W83793_REG_PWM_STOP_TIME(index) (0x228 + (index)) argument
[all …]
/kernel/linux/linux-5.10/arch/m68k/sun3x/
Ddvma.c44 #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK) argument
45 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \ argument
48 #define dvma_entry_set(index,addr) (iommu_pte[index] = \
52 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ argument
56 #define dvma_entry_clr(index) (iommu_pte[index] = IOMMU_DT_INVALID) argument
66 unsigned long index; in dvma_print() local
68 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print()
70 pr_info("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, in dvma_print()
71 dvma_entry_paddr(index)); in dvma_print()
149 unsigned long end, index; in dvma_map_iommu() local
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-pcb-cfg.c21 INDEX_SELFPOWER_DIGITAL_ONLY, /* index */
30 0, /* analog index */
37 0, /* config index */
39 0, /* interrupt ep index */
40 1, /* ts1 index */
41 NOT_SUPPORTED, /* TS2 index */
65 0, /* config index */
67 0, /* interrupt ep index */
68 1, /* ts1 index */
69 NOT_SUPPORTED, /* TS2 index */
[all …]
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/
Dindex.rst3 :Original: :doc:`../../../admin-guide/index`
21 sysctl/index
27 hw-vuln/index
41 kdump/index
42 perf/index
62 acpi/index
63 aoe/index
64 auxdisplay/index
68 blockdev/index
72 cgroup-v1/index
[all …]
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c26 static u16 zram_get_memcg_id(struct zram *zram, u32 index) in zram_get_memcg_id() argument
28 return (zram->table[index].flags & ZRAM_GRPID_MASK) >> ZRAM_SIZE_SHIFT; in zram_get_memcg_id()
31 static void zram_set_memcg_id(struct zram *zram, u32 index, u16 gid) in zram_set_memcg_id() argument
33 unsigned long old = zram->table[index].flags & (~ZRAM_GRPID_MASK); in zram_set_memcg_id()
35 zram->table[index].flags = old | ((u64)gid << ZRAM_SIZE_SHIFT); in zram_set_memcg_id()
39 static bool obj_can_wb(struct zram *zram, u32 index, u16 gid) in obj_can_wb() argument
42 if (zram_get_memcg_id(zram, index) != gid) { in obj_can_wb()
44 index, zram_get_memcg_id(zram, index), gid); in obj_can_wb()
47 if (!zgrp_obj_is_isolated(zram->zgrp, index)) { in obj_can_wb()
48 pr_debug("obj %u is not isolated.\n", index); in obj_can_wb()
[all …]
/kernel/liteos_a/arch/arm/arm/src/pmu/
Darmv7_pmu.c59 STATIC INLINE UINT32 Armv7PmuCntOverflowed(UINT32 pmnc, UINT32 index) in Armv7PmuCntOverflowed() argument
61 return pmnc & ARMV7_CNT2BIT(ARMV7_IDX2CNT(index)); in Armv7PmuCntOverflowed()
64 STATIC INLINE UINT32 Armv7CntValid(UINT32 index) in Armv7CntValid() argument
66 return index <= ARMV7_IDX_COUNTER_LAST; in Armv7CntValid()
69 STATIC INLINE VOID Armv7PmuSelCnt(UINT32 index) in Armv7PmuSelCnt() argument
71 UINT32 counter = ARMV7_IDX2CNT(index); in Armv7PmuSelCnt()
76 STATIC INLINE VOID Armv7PmuSetCntPeriod(UINT32 index, UINT32 period) in Armv7PmuSetCntPeriod() argument
78 if (!Armv7CntValid(index)) { in Armv7PmuSetCntPeriod()
79 PRINT_ERR("CPU writing wrong counter %u\n", index); in Armv7PmuSetCntPeriod()
80 } else if (index == ARMV7_IDX_CYCLE_COUNTER) { in Armv7PmuSetCntPeriod()
[all …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper-sgmii.c48 * @index: Index of prot on the interface
52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument
60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time()
70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dintel_intrin.h82 #define __ia64_set_dbr(index, val) \ argument
83 __setIndReg(_IA64_REG_INDR_DBR, index, val)
84 #define ia64_set_ibr(index, val) \ argument
85 __setIndReg(_IA64_REG_INDR_IBR, index, val)
86 #define ia64_set_pkr(index, val) \ argument
87 __setIndReg(_IA64_REG_INDR_PKR, index, val)
88 #define ia64_set_pmc(index, val) \ argument
89 __setIndReg(_IA64_REG_INDR_PMC, index, val)
90 #define ia64_set_pmd(index, val) \ argument
91 __setIndReg(_IA64_REG_INDR_PMD, index, val)
[all …]
/kernel/liteos_m/testsuites/sample/kernel/sem/
Dit_los_sem_041.c41 UINT32 index; in TaskF02() local
43 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF02()
44 ret = LOS_SemPost(g_usSemID3[index]); in TaskF02()
48 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF02()
49 ret = LOS_SemPend(g_usSemID3[index], LOS_WAIT_FOREVER); in TaskF02()
59 UINT32 index; in TaskF01() local
61 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF01()
62 ret = LOS_SemPend(g_usSemID3[index], LOS_WAIT_FOREVER); in TaskF01()
66 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF01()
67 ret = LOS_SemPost(g_usSemID3[index]); in TaskF01()
[all …]
/kernel/uniproton/src/om/cpup/
Dprt_cpup_thread_64.c93 U32 index; in OsCpupTask() local
99 for (index = 0; index < (OS_MAX_TCB_NUM - 1); index++) { in OsCpupTask()
105 if (g_tskCbArray[index].taskStatus == OS_TSK_UNUSED) { in OsCpupTask()
109 cpup[maxNum].id = g_tskCbArray[index].taskPid; in OsCpupTask()
110 cpup[maxNum].usage = g_cpup[index].usage; in OsCpupTask()
135 U32 index; in OsCpupAllTaskTimeGet() local
138 for (index = 0; index < (OS_MAX_TCB_NUM - 1); index++) { in OsCpupAllTaskTimeGet()
139 allTime += g_cpup[index].allTime; in OsCpupAllTaskTimeGet()
150 U32 index; in OsCpupTimeClear() local
152 for (index = 0; index < (OS_MAX_TCB_NUM - 1); index++) { in OsCpupTimeClear()
[all …]

12345678910>>...259