Searched refs:start (Results 126 - 150 of 6361) sorted by relevance

1234567891011>>

/linux-master/tools/testing/radix-tree/
H A Dmain.c50 unsigned long start; local
53 start = 0;
57 // printf("0x%08lx\n", start);
58 __gang_check(start, rand() % 113 + 1, rand() % 71,
60 old_start = start;
61 start += rand() % 1000000;
62 start %= 1ULL << 33;
63 if (start < old_start)
126 void check_copied_tags(struct radix_tree_root *tree, unsigned long start, unsigned long end, unsigned long *idx, int count, int fromtag, int totag) argument
133 if (idx[i] < start || id
160 unsigned long start, end, count = 0, tagged, cur, tmp; local
[all...]
H A Dbenchmark.c18 struct timespec start, finish; local
26 clock_gettime(CLOCK_MONOTONIC, &start);
38 nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
39 (finish.tv_nsec - start.tv_nsec);
55 struct timespec start, finish; local
59 clock_gettime(CLOCK_MONOTONIC, &start);
66 nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
67 (finish.tv_nsec - start.tv_nsec);
76 struct timespec start, finish; local
80 clock_gettime(CLOCK_MONOTONIC, &start);
97 struct timespec start, finish; local
[all...]
/linux-master/lib/pldmfw/
H A Dpldmfw_private.h137 * @start: byte offset of the start of the descriptor TLVs
142 #define pldm_first_desc_tlv(start) \
143 ((const struct __pldmfw_desc_tlv *)(start))
159 * @start: byte offset of the start of the descriptors
165 #define pldm_for_each_desc_tlv(i, desc, start, count) \
166 for ((i) = 0, (desc) = pldm_first_desc_tlv(start); \
172 * @start: byte offset of the start o
[all...]
/linux-master/arch/mips/loongson64/
H A Dvbios_quirk.c10 if (res->start)
20 res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr);
21 res->end = res->start + 256*1024 - 1;
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime-001.c30 uint64_t start, u0, u1, c0, c1; local
37 start = u0;
55 } while (u1 - start < 100);
/linux-master/arch/x86/pci/
H A Dbus_numa.c15 if (info->busn.start == bus)
84 info->busn.start = bus_min;
95 void update_res(struct pci_root_info *info, resource_size_t start, argument
101 if (start > end)
104 if (start == RESOURCE_SIZE_MAX)
119 common_start = max(res->start, start);
124 final_start = min(res->start, start);
127 res->start
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_reroute.c16 void *start = (void *)(long)skb->data; local
23 if (start + sizeof(*iph) > end)
26 iph = (struct iphdr *)start;
/linux-master/include/linux/
H A Dioport.h22 resource_size_t start; member in struct:resource
53 #define IORESOURCE_STARTALIGN 0x00080000 /* start field is alignment */
159 .start = (_start), \
200 resource_size_t start, resource_size_t end,
215 struct resource *lookup_resource(struct resource *root, resource_size_t start);
216 int adjust_resource(struct resource *res, resource_size_t start,
221 return res->end - res->start + 1;
238 return r1->start <= r2->start && r1->end >= r2->end;
244 return r1->start <
[all...]
/linux-master/arch/mips/bcm63xx/
H A Ddev-wdt.c17 .start = -1, /* filled at runtime */
39 wdt_resources[0].start = bcm63xx_regset_address(RSET_WDT);
40 wdt_resources[0].end = wdt_resources[0].start;
H A Ddev-rng.c16 .start = -1, /* filled at runtime */
34 rng_resources[0].start = bcm63xx_regset_address(RSET_RNG);
35 rng_resources[0].end = rng_resources[0].start;
/linux-master/arch/x86/include/asm/
H A Diommu.h27 u64 start = rmrr->base_address; local
31 entry_type = e820__get_entry_type(start, end);
36 start, end - 1);
/linux-master/arch/arm/mach-pxa/
H A Ddevices.c37 .start = IRQ_PMU,
51 .start = 0x41100000,
56 .start = IRQ_MMC,
86 .start = 0x40600000,
91 .start = IRQ_USB,
123 .start = 0x44000000,
128 .start = IRQ_LCD,
155 .start = 0x40100000,
159 .start = IRQ_FFUART,
179 .start
[all...]
/linux-master/arch/alpha/kernel/
H A Dpci.c78 dev->resource[2].start = dev->resource[3].start = 0;
82 dev->resource[0].start = 0x170;
84 dev->resource[1].start = 0x376;
133 resource_size_t start = res->start; local
136 /* Make sure we start at our min on all hoses */
137 if (start - hose->io_space->start < PCIBIOS_MIN_IO)
138 start
[all...]
/linux-master/drivers/pcmcia/
H A Drsrc_iodyn.c31 resource_size_t start; local
33 start = (res->start & ~data->mask) + data->offset;
34 if (start < res->start)
35 start += data->mask + 1;
39 if (start & 0x300)
40 start = (start + 0x3ff) & ~0x3ff;
46 if ((res->start
[all...]
/linux-master/drivers/vhost/
H A Diotlb.c16 #define START(map) ((map)->start)
41 * @start: start of the IOVA range
43 * @addr: the address that is mapped to @start
47 * Returns an error last is smaller than start or memory allocation
51 u64 start, u64 last,
57 if (last < start)
63 if (start == 0 && last == ULONG_MAX) {
65 int err = vhost_iotlb_add_range_ctx(iotlb, start, mid, addr,
72 start
50 vhost_iotlb_add_range_ctx(struct vhost_iotlb *iotlb, u64 start, u64 last, u64 addr, unsigned int perm, void *opaque) argument
103 vhost_iotlb_add_range(struct vhost_iotlb *iotlb, u64 start, u64 last, u64 addr, unsigned int perm) argument
118 vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last) argument
195 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) argument
208 vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last) argument
[all...]
/linux-master/arch/m68k/include/asm/
H A Dcacheflush_mm.h31 static inline void clear_cf_icache(unsigned long start, unsigned long end) argument
40 static inline void clear_cf_dcache(unsigned long start, unsigned long end) argument
49 static inline void clear_cf_bcache(unsigned long start, unsigned long end) argument
60 * The start and end addresses are cache line numbers not memory addresses.
62 static inline void flush_cf_icache(unsigned long start, unsigned long end) argument
66 for (set = start; set <= end; set += (0x10 - 3)) {
80 static inline void flush_cf_dcache(unsigned long start, unsigned long end) argument
84 for (set = start; set <= end; set += (0x10 - 3)) {
98 static inline void flush_cf_bcache(unsigned long start, unsigned long end) argument
102 for (set = start; se
207 flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) argument
227 unsigned long addr, start, end; local
[all...]
/linux-master/drivers/firmware/efi/
H A Dunaccepted_memory.c15 unsigned long start; member in struct:accept_range
33 void accept_memory(phys_addr_t start, phys_addr_t end) argument
51 if (start < unaccepted->phys_base)
52 start = unaccepted->phys_base;
57 start -= unaccepted->phys_base;
77 * 1. Implicitly extend the range_contains_unaccepted_memory(start, end)
81 * 2. Implicitly extend accept_memory(start, end) to end+unit_size if
92 range.start = start / unit_size;
105 if (entry->end <= range.start)
159 range_contains_unaccepted_memory(phys_addr_t start, phys_addr_t end) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Dphysmem_info.h17 u64 start; member in struct:physmem_range
34 unsigned long start; member in struct:reserved_range
60 void add_physmem_online_range(u64 start, u64 end);
62 static inline int __get_physmem_range(u32 n, unsigned long *start, argument
66 *start = 0;
72 *start = (unsigned long)physmem_info.online[n].start;
75 *start = (unsigned long)physmem_info.online_extended[n - MEM_INLINED_ENTRIES].start;
80 if (*start >
[all...]
/linux-master/lib/kunit/
H A Dexecutor_test.c47 .start = subsuite, .end = &subsuite[2],
57 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start);
62 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]);
63 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2");
66 KUNIT_ASSERT_EQ(test, got.end - got.start, 1);
73 .start = subsuite, .end = &subsuite[2],
83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start);
88 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]);
89 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2");
90 KUNIT_ASSERT_EQ(test, got.end - got.start,
[all...]
/linux-master/arch/arm64/include/asm/
H A Dtlbflush.h210 * flush_tlb_range(vma, start, end)
211 * Invalidate the virtual-address range '[start, end)' on all
217 * flush_tlb_kernel_range(start, end)
218 * Same as flush_tlb_range(..., start, end), but applies to
241 * __flush_tlb_range(vma, start, end, stride, last_level, tlb_level)
242 * Invalidate the virtual-address range '[start, end)' on all
367 * @start: The start address of the range
368 * @pages: Range as the number of pages from 'start'
380 * 1. If FEAT_LPA2 is in use, the start addres
434 __flush_tlb_range_nosync(struct vm_area_struct *vma, unsigned long start, unsigned long end, unsigned long stride, bool last_level, int tlb_level) argument
471 __flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, unsigned long stride, bool last_level, int tlb_level) argument
481 flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) argument
493 flush_tlb_kernel_range(unsigned long start, unsigned long end) argument
[all...]
/linux-master/arch/x86/mm/
H A Dnuma.c127 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, argument
131 if (start == end)
135 if (start > end || nid < 0 || nid >= MAX_NUMNODES) {
137 nid, start, end - 1);
146 mi->blk[mi->nr_blks].start = start;
184 * @start: Start address of the new memblk
192 int __init numa_add_memblk(int nid, u64 start, u64 end) argument
194 return numa_add_memblk_to(nid, start, end, &numa_meminfo);
252 bi->start, b
278 u64 start, end; local
563 u64 start = PFN_PHYS(max_pfn); local
897 meminfo_to_nid(struct numa_meminfo *mi, u64 start) argument
907 phys_to_target_node(phys_addr_t start) argument
922 memory_add_physaddr_to_nid(u64 start) argument
957 numa_fill_memblks(u64 start, u64 end) argument
[all...]
/linux-master/kernel/
H A Dresource.c37 .start = 0,
45 .start = 0,
112 unsigned long long start, end; local
121 start = r->start;
124 start = end = 0;
129 width, start,
136 .start = r_start,
173 resource_size_t start = new->start; local
325 find_next_iomem_res(resource_size_t start, resource_size_t end, unsigned long flags, unsigned long desc, struct resource *res) argument
374 __walk_iomem_res_desc(resource_size_t start, resource_size_t end, unsigned long flags, unsigned long desc, void *arg, int (*func)(struct resource *, void *)) argument
411 walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end, void *arg, int (*func)(struct resource *, void *)) argument
425 walk_system_ram_res(u64 start, u64 end, void *arg, int (*func)(struct resource *, void *)) argument
440 walk_system_ram_res_rev(u64 start, u64 end, void *arg, int (*func)(struct resource *, void *)) argument
493 walk_mem_res(u64 start, u64 end, void *arg, int (*func)(struct resource *, void *)) argument
510 resource_size_t start, end; local
547 __region_intersects(struct resource *parent, resource_size_t start, size_t size, unsigned long flags, unsigned long desc) argument
596 region_intersects(resource_size_t start, size_t size, unsigned long flags, unsigned long desc) argument
805 lookup_resource(struct resource *root, resource_size_t start) argument
984 __adjust_resource(struct resource *res, resource_size_t start, resource_size_t size) argument
1031 adjust_resource(struct resource *res, resource_size_t start, resource_size_t size) argument
1044 __reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument
1105 reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument
1213 __request_region_locked(struct resource *res, struct resource *parent, resource_size_t start, resource_size_t n, const char *name, int flags) argument
1272 __request_region(struct resource *parent, resource_size_t start, resource_size_t n, const char *name, int flags) argument
1306 __release_region(struct resource *parent, resource_size_t start, resource_size_t n) argument
1365 release_mem_region_adjustable(resource_size_t start, resource_size_t size) argument
1591 resource_size_t start; member in struct:region_devres
1611 __devm_request_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n, const char *name) argument
1636 __devm_release_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n) argument
[all...]
/linux-master/arch/powerpc/lib/
H A Drheap.c138 blk->start = 0;
163 s = blkn->start;
175 bs = blk->start;
193 if (before && s != (before->start + before->size))
196 if (after && e != after->start)
221 after->start -= size;
240 if (blk->start > blkn->start) {
329 int rh_attach_region(rh_info_t * info, unsigned long start, int size) argument
336 s = start;
370 rh_detach_region(rh_info_t * info, unsigned long start, int size) argument
447 unsigned long start, sp_size; local
527 rh_alloc_fixed(rh_info_t * info, unsigned long start, int size, const char *owner) argument
612 rh_free(rh_info_t * info, unsigned long start) argument
679 rh_set_owner(rh_info_t * info, unsigned long start, const char *owner) argument
[all...]
/linux-master/arch/mips/pci/
H A Dpci.c48 const struct resource *rsrc, resource_size_t *start,
53 *start = fixup_bigphys_addr(rsrc->start, size);
54 *end = rsrc->start + size - 1;
47 pci_resource_to_user(const struct pci_dev *dev, int bar, const struct resource *rsrc, resource_size_t *start, resource_size_t *end) argument
/linux-master/arch/sparc/kernel/
H A Diommu-common.c59 unsigned int start, i; local
71 start = 0;
83 iommu->pools[i].start = start;
84 iommu->pools[i].hint = start;
85 start += iommu->poolsize; /* start for next pool */
86 iommu->pools[i].end = start - 1;
92 p->start = start;
105 unsigned long n, end, start, limit, boundary_size; local
[all...]

Completed in 392 milliseconds

1234567891011>>