/linux/drivers/md/dm-vdo/indexer/ |
H A D | index.c | 7 #include "index.h" 19 * When searching for deduplication records, the index first searches the volume index, and then 20 * searches the chapter index for the relevant chapter. If the chapter has been fully committed to 22 * committed (either the open chapter or a recently closed one), the index searches the in-memory 23 * representation of the chapter. Finally, if the volume index does not find a record and the index 24 * is sparse, the index will search the sparse cache. 26 * The index send two kinds of messages to coordinate between zones: chapter close messages for the 36 * The last zone to close the chapter also removes the oldest chapter from the volume index. 38 * means that those zones will never ask the volume index about it. No zone is allowed to get more 49 * barrier message to change the sparse cache membership, so the index simulates the message by [all …]
|
H A D | index-session.c | 6 #include "index-session.h" 15 #include "index.h" 16 #include "index-layout.h" 19 * The index session contains a lock (the request_mutex) which ensures that only one thread can 20 * change the state of its index at a time. The state field indicates the current state of the 21 * index through a set of descriptive flags. The request_mutex must be notified whenever a 23 * requests currently in progress so that they can be drained when suspending or closing the index. 25 * If the index session is suspended shortly after opening an index, it may have to suspend during 26 * a rebuild. Depending on the size of the index, a rebuild may take a significant amount of time, 28 * the index session is resumed, the rebuild can continue from where it left off. If the index [all …]
|
/linux/Documentation/translations/zh_CN/driver-api/ |
H A D | index.rst | 5 :Original: Documentation/driver-api/index.rst 24 gpio/index 26 phy/index 30 * driver-model/index 34 * early-userspace/index 35 * pm/index 47 * iio/index 49 * usb/index 51 * pci/index 52 * cxl/index [all …]
|
/linux/Documentation/driver-api/ |
H A D | index.rst | 23 driver-model/index 27 pm/index 38 early-userspace/index 58 cxl/index 61 i3c/index 64 pci/index 65 rapidio/index 67 usb/index 68 virtio/index 80 80211/index [all...] |
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | ife.json | 20 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 22 "verifyCmd": "$TC actions get action ife index 2", 23 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 47 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2", 49 "verifyCmd": "$TC actions get action ife index 2", 50 … "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 74 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2", 76 "verifyCmd": "$TC actions get action ife index 2", 77 …chPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*index 2", 101 "cmdUnderTest": "$TC actions add action ife encode use mark 789 drop index 2", [all …]
|
H A D | sample.json | 20 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 22 "verifyCmd": "$TC actions get action sample index 2", 23 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 47 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2", 49 "verifyCmd": "$TC actions get action sample index 2", 50 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref", 74 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22", 77 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref", 101 "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100", 104 … "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref", [all …]
|
H A D | vlan.json | 20 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8", 23 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref", 47 "cmdUnderTest": "$TC actions add action vlan pop pass index 8", 49 "verifyCmd": "$TC actions get action vlan index 8", 50 "matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref", 74 "cmdUnderTest": "$TC actions add action vlan pop drop index 8", 76 "verifyCmd": "$TC actions get action vlan index 8", 77 "matchPattern": "action order [0-9]+: vlan.*pop.*drop.*index 8 ref", 101 "cmdUnderTest": "$TC actions add action vlan pop reclassify index 8", 103 "verifyCmd": "$TC actions get action vlan index 8", [all …]
|
H A D | gact.json | 20 "cmdUnderTest": "$TC actions add action pass index 8", 23 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 47 "cmdUnderTest": "$TC actions add action pipe index 6", 50 "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref", 74 "cmdUnderTest": "$TC actions add action reclassify index 5", 77 "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref", 101 "cmdUnderTest": "$TC actions add action drop index 30", 104 "matchPattern": "action order [0-9]*: gact action drop.*index 30 ref", 128 "cmdUnderTest": "$TC actions add action continue index 432", 131 "matchPattern": "action order [0-9]*: gact action continue.*index 432 ref", [all …]
|
H A D | csum.json | 20 "cmdUnderTest": "$TC actions add action csum iph index 800", 22 "verifyCmd": "$TC actions get action csum index 800", 23 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref", 47 "cmdUnderTest": "$TC actions add action csum ip4h index 7", 49 "verifyCmd": "$TC actions get action csum index 7", 50 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 7 ref", 74 "cmdUnderTest": "$TC actions add action csum ipv4h index 1122", 76 "verifyCmd": "$TC actions get action csum index 1122", 77 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 1122 ref", 101 "cmdUnderTest": "$TC actions add action csum icmp index 1", [all …]
|
H A D | tunnel_key.json | 111 …t": "$TC actions add action tunnel_key set src_ip 300.168.100.1 dst_ip 192.168.200.1 id 7 index 1", 113 "verifyCmd": "$TC actions get action tunnel_key index 1", 114 …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", 143 …: "$TC actions add action tunnel_key set src_ip 192.168.100.1 dst_ip 192.168.800.1 id 10 index 11", 145 "verifyCmd": "$TC actions get action tunnel_key index 11", 146 …order [0-9]+: tunnel_key set.*src_ip 192.168.100.1.*dst_ip 192.168.800.1.*key_id 10.*index 11 ref", 175 …$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 112233445566778899 index 1", 177 "verifyCmd": "$TC actions get action tunnel_key index 1", 178 …er [0-9]+: tunnel_key set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 112233445566778899.*index 1 ref", 207 …$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 …]
|
H A D | connmark.json | 47 "cmdUnderTest": "$TC actions add action connmark pass index 1", 49 "verifyCmd": "$TC actions get action connmark index 1", 50 "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 1 ref", 74 "cmdUnderTest": "$TC actions add action connmark drop index 100", 76 "verifyCmd": "$TC actions get action connmark index 100", 77 "matchPattern": "action order [0-9]+: connmark zone 0 drop.*index 100 ref", 101 "cmdUnderTest": "$TC actions add action connmark pipe index 455", 103 "verifyCmd": "$TC actions get action connmark index 455", 104 "matchPattern": "action order [0-9]+: connmark zone 0 pipe.*index 455 ref", 128 "cmdUnderTest": "$TC actions add action connmark reclassify index 7", [all …]
|
H A D | ctinfo.json | 20 "cmdUnderTest": "$TC action add action ctinfo index 10", 22 "verifyCmd": "$TC action get action ctinfo index 10", 23 "matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 10 ref", 47 "cmdUnderTest": "$TC action add action ctinfo dscp 0xfc000000 0x01000000 index 100", 50 …"matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 100 ref.*dscp 0xfc000000 0x0100000… 74 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1", 76 "verifyCmd": "$TC action get action ctinfo index 1", 77 "matchPattern": "action order [0-9]*: ctinfo zone 1 pipe.*index 1 ref.*cpmark 0x01000000", 101 "cmdUnderTest": "$TC action add action ctinfo drop index 1000", 104 "matchPattern": "action order [0-9]*: ctinfo zone 0 drop.*index 1000 ref", [all …]
|
H A D | nat.json | 47 "cmdUnderTest": "$TC actions add action nat ingress 1.1.1.1 2.2.2.1 pipe index 77", 49 "verifyCmd": "$TC actions get action nat index 77", 50 "matchPattern": "action order [0-9]+: nat ingress 1.1.1.1/32 2.2.2.1 pipe.*index 77 ref", 74 …mdUnderTest": "$TC actions add action nat ingress 192.168.10.10 192.168.20.20 continue index 1000", 76 "verifyCmd": "$TC actions get action nat index 1000", 77 …tern": "action order [0-9]+: nat ingress 192.168.10.10/32 192.168.20.20 continue.*index 1000 ref", 101 …UnderTest": "$TC actions add action nat ingress 192.168.10.10 192.168.20.20 reclassify index 1000", 103 "verifyCmd": "$TC actions get action nat index 1000", 104 …rn": "action order [0-9]+: nat ingress 192.168.10.10/32 192.168.20.20 reclassify.*index 1000 ref", 128 … "cmdUnderTest": "$TC actions add action nat ingress 12.18.10.10 12.18.20.20 jump 10 index 22", [all …]
|
H A D | mirred.json | 20 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo", 23 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref", 47 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe", 50 … "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref", 74 "$TC actions add action mirred egress mirror index 1 dev lo", 75 "$TC actions add action mirred egress redirect index 2 dev lo" 104 "cmdUnderTest": "$TC actions add action mirred inbound mirror index 20 dev lo", 107 "matchPattern": "action order [0-9]*: mirred \\(.*to device lo\\).*index 20 ref", 131 "cmdUnderTest": "$TC actions add action mirred egress remirror index 20 dev lo", 134 "matchPattern": "action order [0-9]*: mirred \\(Egress.*to device lo\\).*index 20 ref", [all …]
|
H A D | gate.json | 20 … "cmdUnderTest": "$TC action add action gate priority 1 sched-entry close 100000000ns index 100", 22 "verifyCmd": "$TC action get action gate index 100", 23 "matchPattern": "action order [0-9]*: .*priority 1.*index 100 ref", 47 …est": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns index 10", 50 "matchPattern": "action order [0-9]*: .*base-time 200s.*index 10 ref", 74 …": "$TC action add action gate cycle-time 200000000000ns sched-entry close 100000000ns index 1000", 77 "matchPattern": "action order [0-9]*: .*cycle-time 200s.*index 1000 ref", 101 …"$TC action add action gate cycle-time-ext 20000000000ns sched-entry close 100000000ns index 1000", 103 "verifyCmd": "$TC action get action gate index 1000", 104 "matchPattern": "action order [0-9]*: .*cycle-time-ext 20s.*index 1000 ref", [all …]
|
/linux/tools/testing/cxl/test/ |
H A D | mock.c | 31 struct cxl_mock_ops *get_cxl_mock_ops(int *index) in get_cxl_mock_ops() argument 33 *index = srcu_read_lock(&cxl_mock_srcu); in get_cxl_mock_ops() 38 void put_cxl_mock_ops(int index) in put_cxl_mock_ops() argument 40 srcu_read_unlock(&cxl_mock_srcu, index); in put_cxl_mock_ops() 48 int index; in __wrap_is_acpi_device_node() local 49 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); in __wrap_is_acpi_device_node() 58 put_cxl_mock_ops(index); in __wrap_is_acpi_device_node() 67 int index, rc; in __wrap_acpi_table_parse_cedt() local 68 struct cxl_mock_ops *ops = get_cxl_mock_ops(&index); in __wrap_acpi_table_parse_cedt() 75 put_cxl_mock_ops(index); in __wrap_acpi_table_parse_cedt() [all …]
|
/linux/tools/testing/radix-tree/ |
H A D | tag_check.c | 14 __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 …]
|
/linux/net/netfilter/ |
H A D | xt_set.c | 29 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 …]
|
/linux/drivers/hwmon/ |
H A D | w83795.c | 118 #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 …]
|
H A D | w83793.c | 116 #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 …]
|
/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-pcb-cfg.c | 21 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 …]
|
/linux/arch/m68k/sun3x/ |
H A D | dvma.c | 44 #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() 148 unsigned long end, index; in dvma_map_iommu() local [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-sgmii.c | 48 * @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 …]
|
/linux/drivers/soundwire/ |
H A D | amd_init.c | 76 int count, index; in sdw_amd_probe_controller() local 118 for (index = 0; index < count; index++) { in sdw_amd_probe_controller() 119 if (!(link_mask & BIT(index))) in sdw_amd_probe_controller() 122 sdw_pdata[index].instance = index; in sdw_amd_probe_controller() 123 sdw_pdata[index].acp_sdw_lock = res->acp_lock; in sdw_amd_probe_controller() 124 sdw_pdata[index].acp_rev = res->acp_rev; in sdw_amd_probe_controller() 125 pdevinfo[index].name = "amd_sdw_manager"; in sdw_amd_probe_controller() 126 pdevinfo[index].id = index; in sdw_amd_probe_controller() 127 pdevinfo[index].parent = res->parent; in sdw_amd_probe_controller() 128 pdevinfo[index].num_res = 1; in sdw_amd_probe_controller() [all …]
|
/linux/drivers/phy/tegra/ |
H A D | xusb-tegra186.c | 297 unsigned int index) in tegra186_usb2_lane_probe() argument 307 usb2->base.soc = &pad->soc->lanes[index]; in tegra186_usb2_lane_probe() 308 usb2->base.index = index; in tegra186_usb2_lane_probe() 333 unsigned int index = lane->index; in tegra186_utmi_enable_phy_sleepwalk() local 339 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 341 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 344 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 346 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 355 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() 358 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); in tegra186_utmi_enable_phy_sleepwalk() [all …]
|