/linux-4.19.296/include/linux/ceph/ |
D | decode.h | 52 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room() argument 54 return end >= *p && n <= end - *p; in ceph_has_room() 57 #define ceph_decode_need(p, end, n, bad) \ argument 59 if (!likely(ceph_has_room(p, end, n))) \ 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 65 ceph_decode_need(p, end, sizeof(u64), bad); \ 68 #define ceph_decode_32_safe(p, end, v, bad) \ argument 70 ceph_decode_need(p, end, sizeof(u32), bad); \ 73 #define ceph_decode_16_safe(p, end, v, bad) \ argument 75 ceph_decode_need(p, end, sizeof(u16), bad); \ [all …]
|
/linux-4.19.296/fs/ceph/ |
D | mdsmap.c | 46 #define __decode_and_drop_type(p, end, type, bad) \ argument 48 if (*p + sizeof(type) > end) \ 53 #define __decode_and_drop_set(p, end, type, bad) \ argument 57 ceph_decode_32_safe(p, end, n, bad); \ 59 ceph_decode_need(p, end, need, bad); \ 63 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 67 ceph_decode_32_safe(p, end, n, bad); \ 69 ceph_decode_need(p, end, need, bad); \ 74 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument 80 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() [all …]
|
/linux-4.19.296/lib/ |
D | vsprintf.c | 437 char *number(char *buf, char *end, unsigned long long num, in number() argument 503 if (buf < end) in number() 510 if (buf < end) in number() 517 if (buf < end) in number() 522 if (buf < end) in number() 532 if (buf < end) in number() 539 if (buf < end) in number() 545 if (buf < end) in number() 551 if (buf < end) in number() 560 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument [all …]
|
D | siphash.c | 49 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_aligned() local 53 for (; data != end; data += sizeof(u64)) { in __siphash_aligned() 66 case 7: b |= ((u64)end[6]) << 48; in __siphash_aligned() 67 case 6: b |= ((u64)end[5]) << 40; in __siphash_aligned() 68 case 5: b |= ((u64)end[4]) << 32; in __siphash_aligned() 70 case 3: b |= ((u64)end[2]) << 16; in __siphash_aligned() 72 case 1: b |= end[0]; in __siphash_aligned() 82 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_unaligned() local 86 for (; data != end; data += sizeof(u64)) { in __siphash_unaligned() 99 case 7: b |= ((u64)end[6]) << 48; in __siphash_unaligned() [all …]
|
D | string_helpers.c | 301 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough() argument 305 if (out < end) in escape_passthrough() 311 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument 336 if (out < end) in escape_space() 339 if (out < end) in escape_space() 347 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument 366 if (out < end) in escape_special() 369 if (out < end) in escape_special() 377 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument 384 if (out < end) in escape_null() [all …]
|
D | ioremap.c | 62 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() argument 75 } while (pte++, addr += PAGE_SIZE, addr != end); in ioremap_pte_range() 80 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() argument 90 next = pmd_addr_end(addr, end); in ioremap_pmd_range() 102 } while (pmd++, addr = next, addr != end); in ioremap_pmd_range() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() argument 117 next = pud_addr_end(addr, end); in ioremap_pud_range() 129 } while (pud++, addr = next, addr != end); in ioremap_pud_range() 134 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range() argument 144 next = p4d_addr_end(addr, end); in ioremap_p4d_range() [all …]
|
D | iomap_copy.c | 37 const u32 *end = src + count; in __iowrite32_copy() local 39 while (src < end) in __iowrite32_copy() 58 const u32 __iomem *end = src + count; in __ioread32_copy() local 60 while (src < end) in __ioread32_copy() 82 const u64 *end = src + count; in __iowrite64_copy() local 84 while (src < end) in __iowrite64_copy()
|
/linux-4.19.296/include/linux/ |
D | mmu_notifier.h | 80 unsigned long end); 90 unsigned long end); 161 unsigned long start, unsigned long end, 165 unsigned long start, unsigned long end); 190 unsigned long start, unsigned long end); 226 unsigned long end); 229 unsigned long end); 235 unsigned long start, unsigned long end, 238 unsigned long start, unsigned long end, 241 unsigned long start, unsigned long end); [all …]
|
D | circ_buf.h | 27 ({int end = (size) - (tail); \ 28 int n = ((head) + end) & ((size)-1); \ 29 n < end ? n : end;}) 33 ({int end = (size) - 1 - (head); \ 34 int n = (end + (tail)) & ((size)-1); \ 35 n <= end ? n : end+1;})
|
D | firmware-map.h | 26 int firmware_map_add_early(u64 start, u64 end, const char *type); 27 int firmware_map_add_hotplug(u64 start, u64 end, const char *type); 28 int firmware_map_remove(u64 start, u64 end, const char *type); 32 static inline int firmware_map_add_early(u64 start, u64 end, const char *type) in firmware_map_add_early() argument 37 static inline int firmware_map_add_hotplug(u64 start, u64 end, const char *type) in firmware_map_add_hotplug() argument 42 static inline int firmware_map_remove(u64 start, u64 end, const char *type) in firmware_map_remove() argument
|
/linux-4.19.296/fs/btrfs/ |
D | extent_io.h | 102 struct page *page, u64 start, u64 end, 109 int (*writepage_start_hook)(struct page *page, u64 start, u64 end); 110 void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end, 123 u64 start, u64 end); 137 u64 end; /* inclusive */ member 262 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 265 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent() argument 267 return lock_extent_bits(tree, start, end, NULL); in lock_extent() 270 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end); 281 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, [all …]
|
D | extent_io.c | 71 state->start, state->end, state->state, in btrfs_leak_debug_check() 87 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument 88 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end)) 90 struct extent_io_tree *tree, u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument 94 start, end); in __btrfs_debug_check_extent_io_range() 107 u64 end; member 135 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset() 136 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset() 316 else if (offset > entry->end) in tree_insert() 348 else if (offset > entry->end) in __etree_search() [all …]
|
/linux-4.19.296/fs/btrfs/tests/ |
D | extent-io-tests.c | 18 static noinline int process_page_range(struct inode *inode, u64 start, u64 end, in process_page_range() argument 24 unsigned long end_index = end >> PAGE_SHIFT; in process_page_range() 51 start, end, nr_pages, ret); in process_page_range() 67 u64 start, end, test_start; in test_find_delalloc() local 108 end = 0; in test_find_delalloc() 110 &end, max_bytes); in test_find_delalloc() 115 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc() 117 sectorsize - 1, start, end); in test_find_delalloc() 120 unlock_extent(&tmp, start, end); in test_find_delalloc() 139 end = 0; in test_find_delalloc() [all …]
|
/linux-4.19.296/drivers/bus/ |
D | uniphier-system-bus.c | 38 u32 end; member 50 u64 end, mask; in uniphier_system_bus_add_bank() local 61 if (priv->bank[bank].base || priv->bank[bank].end) { in uniphier_system_bus_add_bank() 72 end = paddr + size; in uniphier_system_bus_add_bank() 83 end = round_up(end, 0x00020000); in uniphier_system_bus_add_bank() 85 if (end > U32_MAX) { in uniphier_system_bus_add_bank() 86 dev_err(priv->dev, "end address %08llx is too high\n", end); in uniphier_system_bus_add_bank() 89 mask = paddr ^ (end - 1); in uniphier_system_bus_add_bank() 93 end = round_up(end, mask); in uniphier_system_bus_add_bank() 96 priv->bank[bank].end = end; in uniphier_system_bus_add_bank() [all …]
|
/linux-4.19.296/crypto/ |
D | dh_helper.c | 19 static inline u8 *dh_pack_data(u8 *dst, u8 *end, const void *src, size_t size) in dh_pack_data() argument 21 if (!dst || size > end - dst) in dh_pack_data() 47 u8 * const end = ptr + len; in crypto_dh_encode_key() local 56 ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); in crypto_dh_encode_key() 57 ptr = dh_pack_data(ptr, end, ¶ms->key_size, in crypto_dh_encode_key() 59 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 60 ptr = dh_pack_data(ptr, end, ¶ms->q_size, sizeof(params->q_size)); in crypto_dh_encode_key() 61 ptr = dh_pack_data(ptr, end, ¶ms->g_size, sizeof(params->g_size)); in crypto_dh_encode_key() 62 ptr = dh_pack_data(ptr, end, params->key, params->key_size); in crypto_dh_encode_key() 63 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key() [all …]
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 31 char *end; in add_slot_store() local 39 end = strchr(drc_name, '\n'); in add_slot_store() 40 if (end) in add_slot_store() 41 *end = '\0'; in add_slot_store() 62 char *end; in remove_slot_store() local 69 end = strchr(drc_name, '\n'); in remove_slot_store() 70 if (end) in remove_slot_store() 71 *end = '\0'; in remove_slot_store()
|
D | ibmphp_res.c | 72 rs->end = curr->end_addr; in alloc_resources() 111 newrange->end = curr->end_addr; in alloc_bus_range() 118 … Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 127 …ebug("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 137 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 147 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 210 …"gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 225 …debug("New Bus, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 236 …buses = NULL, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 250 …bug("1st Bus, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() [all …]
|
/linux-4.19.296/drivers/s390/cio/ |
D | itcw.c | 137 static inline void *fit_chunk(addr_t *start, addr_t end, size_t len, in fit_chunk() argument 147 if (addr + len > end) in fit_chunk() 184 addr_t end; in itcw_init() local 189 end = start + size; in itcw_init() 190 if (end > (1 << 31)) in itcw_init() 194 chunk = fit_chunk(&start, end, sizeof(struct itcw), 1, 0); in itcw_init() 210 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 218 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 227 chunk = fit_chunk(&start, end, sizeof(struct tidaw) * in itcw_init() 235 chunk = fit_chunk(&start, end, sizeof(struct tidaw) * in itcw_init() [all …]
|
/linux-4.19.296/fs/nfs/ |
D | namespace.c | 53 char *end; in nfs_path() local 63 end = buffer+buflen; in nfs_path() 64 *--end = '\0'; in nfs_path() 77 end -= namelen; in nfs_path() 78 memcpy(end, dentry->d_name.name, namelen); in nfs_path() 79 *--end = '/'; in nfs_path() 88 if ((flags & NFS_PATH_CANONICAL) && *end != '/') { in nfs_path() 94 *--end = '/'; in nfs_path() 96 *p = end; in nfs_path() 102 return end; in nfs_path() [all …]
|
/linux-4.19.296/fs/cifs/ |
D | asn1.c | 97 unsigned char *end; /* Octet after last octet */ member 112 ctx->end = buf + len; in asn1_open() 120 if (ctx->pointer >= ctx->end) { in asn1_octet_decode() 134 if (ctx->pointer >= ctx->end) { 216 if (*len > ctx->end - ctx->pointer) in asn1_length_decode() 498 unsigned char *end; in decode_negTokenInit() local 508 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit() 518 rc = asn1_header_decode(&ctx, &end, &cls, &con, &tag); in decode_negTokenInit() 522 rc = asn1_oid_decode(&ctx, end, &oid, &oidlen); in decode_negTokenInit() 539 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit() [all …]
|
/linux-4.19.296/drivers/pci/ |
D | host-bridge.c | 65 region->end = res->end - offset; in pcibios_resource_to_bus() 72 return region1->start <= region2->start && region1->end >= region2->end; in region_contains() 89 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource() 98 res->end = region->end + offset; in pcibios_bus_to_resource()
|
D | bus.c | 145 if (r.end > region->end) in pci_clip_resource_to_region() 146 r.end = region->end; in pci_clip_resource_to_region() 148 if (r.end < r.start) in pci_clip_resource_to_region() 149 res->end = res->start - 1; in pci_clip_resource_to_region() 198 max = avail.end; in pci_bus_alloc_from_region() 270 resource_size_t start, end; in pci_bus_clip_resource() local 279 end = min(r->end, res->end); in pci_bus_clip_resource() 281 if (start > end) in pci_bus_clip_resource() 284 if (res->start == start && res->end == end) in pci_bus_clip_resource() 288 res->end = end; in pci_bus_clip_resource()
|
/linux-4.19.296/virt/kvm/arm/ |
D | mmu.c | 234 phys_addr_t addr, phys_addr_t end) in unmap_stage2_ptes() argument 253 } while (pte++, addr += PAGE_SIZE, addr != end); in unmap_stage2_ptes() 260 phys_addr_t addr, phys_addr_t end) in unmap_stage2_pmds() argument 267 next = stage2_pmd_addr_end(addr, end); in unmap_stage2_pmds() 282 } while (pmd++, addr = next, addr != end); in unmap_stage2_pmds() 289 phys_addr_t addr, phys_addr_t end) in unmap_stage2_puds() argument 296 next = stage2_pud_addr_end(addr, end); in unmap_stage2_puds() 309 } while (pud++, addr = next, addr != end); in unmap_stage2_puds() 330 phys_addr_t addr = start, end = start + size; in __unmap_stage2_range() local 345 next = stage2_pgd_addr_end(addr, end); in __unmap_stage2_range() [all …]
|
/linux-4.19.296/drivers/parisc/ |
D | lba_pci.c | 172 (long)r->start, (long)r->end, r->flags); in lba_dump_res() 195 u8 last_sub_bus = d->hba.hba_bus->busn_res.end; in lba_device_present() 577 unsigned long end = new->end; in truncate_pat_collision() local 580 if (end <= start || start < root->start || !tmp) in truncate_pat_collision() 584 while (tmp && tmp->end < start) in truncate_pat_collision() 593 if (tmp->start >= end) return 0; in truncate_pat_collision() 597 new->start = tmp->end + 1; in truncate_pat_collision() 599 if (tmp->end >= end) { in truncate_pat_collision() 605 if (tmp->end < end ) { in truncate_pat_collision() 607 new->end = tmp->start - 1; in truncate_pat_collision() [all …]
|
/linux-4.19.296/fs/hfsplus/ |
D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 47 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate() 49 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 65 while (curr < end) { in hfsplus_block_allocate() 89 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate() 91 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 118 while (curr < end) { in hfsplus_block_allocate() 140 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate() 169 __be32 *pptr, *curr, *end; in hfsplus_block_free() local 190 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_free() [all …]
|