/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | ccwgroup.c | 277 char *start, *end; in __get_next_id() local 279 start = (char *)*buf; in __get_next_id() 280 end = strchr(start, ','); in __get_next_id() 283 end = strchr(start, '\n'); in __get_next_id() 286 len = strlen(start) + 1; in __get_next_id() 288 len = end - start + 1; in __get_next_id() 292 if (sscanf(start, "%2x.%1x.%04x", &cssid, &ssid, &devno) != 3) in __get_next_id()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | bcm63xx_pcmcia.c | 310 map->static_start = res->start + map->card_start; in bcm63xx_pcmcia_set_mem_map() 355 if (!request_mem_region(res->start, regmem_size, "bcm63xx_pcmcia")) { in bcm63xx_drv_pcmcia_probe() 361 skt->base = ioremap(res->start, regmem_size); in bcm63xx_drv_pcmcia_probe() 370 skt->io_base = ioremap(res->start, iomem_size); in bcm63xx_drv_pcmcia_probe() 383 sock->pci_irq = irq_res->start; in bcm63xx_drv_pcmcia_probe() 421 /* start polling socket */ in bcm63xx_drv_pcmcia_probe() 434 release_mem_region(skt->reg_res->start, regmem_size); in bcm63xx_drv_pcmcia_probe() 449 release_mem_region(res->start, resource_size(res)); in bcm63xx_drv_pcmcia_remove()
|
/kernel/linux/linux-5.10/drivers/tee/ |
H A D | tee_shm.c | 159 unsigned long start; in tee_shm_register() local 186 start = rounddown(addr, PAGE_SIZE); in tee_shm_register() 187 shm->offset = addr - start; in tee_shm_register() 189 num_pages = (roundup(addr + length, PAGE_SIZE) - start) / PAGE_SIZE; in tee_shm_register() 197 rc = pin_user_pages_fast(start, num_pages, FOLL_WRITE, in tee_shm_register() 210 kiov[i].iov_base = (void *)(start + i * PAGE_SIZE); in tee_shm_register() 236 shm->num_pages, start); in tee_shm_register() 371 * @offs: Offset from start of this shared memory 388 * @offs: Offset from start of this shared memory
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pnp.h | 53 if (res->start == 0 && res->end == 0) in pnp_resource_len() 65 return res->start; in pnp_port_start() 111 return res->start; in pnp_mem_start() 155 return res->start; in pnp_irq() 179 return res->start; in pnp_dma() 464 int pnp_range_reserved(resource_size_t start, resource_size_t end); 495 static inline int pnp_range_reserved(resource_size_t start, resource_size_t end) { return 0;} in pnp_range_reserved() argument
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | cfg.c | 20 struct bpf_insn *start; member 68 if (func->start == insn) in cfg_append_func() 70 else if (func->start > insn) in cfg_append_func() 80 new_func->start = insn; in cfg_append_func() 154 func->end = func_next(func)->start - 1; in cfg_partition_funcs() 170 cur = func->start; in func_partition_bb_head() 405 start_idx = bb->head - func->start; in draw_bb_node()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | recovery.c | 188 * @start: the first log header in the active region 197 static int foreach_descriptor(struct gfs2_jdesc *jd, u32 start, in foreach_descriptor() argument 210 while (start != end) { in foreach_descriptor() 211 error = gfs2_replay_read_block(jd, start, &bh); in foreach_descriptor() 223 error = get_log_header(jd, start, &lh); in foreach_descriptor() 225 gfs2_replay_incr_blk(jd, &start); in foreach_descriptor() 240 error = lops_scan_elements(jd, start, ld, ptr, pass); in foreach_descriptor() 247 gfs2_replay_incr_blk(jd, &start); in foreach_descriptor() 258 * @head: the head journal to start from
|
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | xdr4.c | 110 __u64 len, start; in nlm4_decode_lock() local 123 p = xdr_decode_hyper(p, &start); in nlm4_decode_lock() 125 end = start + len - 1; in nlm4_decode_lock() 127 fl->fl_start = s64_to_loff_t(start); in nlm4_decode_lock() 142 s64 start, len; in nlm4_encode_testres() local 159 start = loff_t_to_s64(fl->fl_start); in nlm4_encode_testres() 165 p = xdr_encode_hyper(p, start); in nlm4_encode_testres() 167 dprintk("xdr: encode_testres (status %u pid %d type %d start %Ld end %Ld)\n", in nlm4_encode_testres()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | file.c | 17 loff_t start = i_size_read(inode), count = size - i_size_read(inode); in exfat_cont_expand() local 30 err = filemap_fdatawrite_range(mapping, start, start + count - 1); in exfat_cont_expand() 40 return filemap_fdatawait_range(mapping, start, start + count - 1); in exfat_cont_expand() 350 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_file_fsync() argument 355 err = __generic_file_fsync(filp, start, end, datasync); in exfat_file_fsync()
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | file.c | 185 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 190 err = __generic_file_fsync(filp, start, end, datasync); in fat_file_fsync() 219 loff_t start = inode->i_size, count = size - inode->i_size; in fat_cont_expand() local 235 err = filemap_fdatawrite_range(mapping, start, in fat_cont_expand() 236 start + count - 1); in fat_cont_expand() 244 err = filemap_fdatawait_range(mapping, start, in fat_cont_expand() 245 start + count - 1); in fat_cont_expand()
|
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | plock.c | 95 op->info.start = 0; in do_unlock_close() 127 op->info.start = fl->fl_start; in dlm_posix_lock() 286 op->info.start = fl->fl_start; in dlm_posix_unlock() 347 op->info.start = fl->fl_start; in dlm_posix_get() 380 fl->fl_start = op->info.start; in dlm_posix_get() 459 iter->info.start == info.start && in dev_write()
|
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | init.c | 233 * @shadow_start - start of the memory range to populate 450 void kasan_remove_zero_shadow(void *start, unsigned long size) in kasan_remove_zero_shadow() argument 455 addr = (unsigned long)kasan_mem_to_shadow(start); in kasan_remove_zero_shadow() 458 if (WARN_ON((unsigned long)start % in kasan_remove_zero_shadow() 486 int kasan_add_zero_shadow(void *start, unsigned long size) in kasan_add_zero_shadow() argument 491 shadow_start = kasan_mem_to_shadow(start); in kasan_add_zero_shadow() 494 if (WARN_ON((unsigned long)start % in kasan_add_zero_shadow() 501 kasan_remove_zero_shadow(start, size); in kasan_add_zero_shadow()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | attr.c | 179 * Mark a range [start, start+len) in this map. Returns true if the 189 unsigned int start, in xchk_xattr_set_map() 195 if (start >= mapsize) in xchk_xattr_set_map() 197 if (start + len > mapsize) { in xchk_xattr_set_map() 198 len = mapsize - start; in xchk_xattr_set_map() 202 if (find_next_bit(map, mapsize, start) < start + len) in xchk_xattr_set_map() 204 bitmap_set(map, start, len); in xchk_xattr_set_map() 186 xchk_xattr_set_map( struct xfs_scrub *sc, unsigned long *map, unsigned int start, unsigned int len) xchk_xattr_set_map() argument
|
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | file.c | 237 u64 cur_data_block = squashfs_i(inode)->start; in fill_meta_index() 328 u64 start; in read_blocklist() local 332 int res = fill_meta_index(inode, index, &start, &offset, block); in read_blocklist() 334 TRACE("read_blocklist: res %d, index %d, start 0x%llx, offset" in read_blocklist() 335 " 0x%x, block 0x%llx\n", res, index, start, offset, in read_blocklist() 348 blks = read_indexes(inode->i_sb, index - res, &start, &offset); in read_blocklist() 357 res = squashfs_read_metadata(inode->i_sb, &size, &start, &offset, in read_blocklist() 459 TRACE("Entered squashfs_readpage, page index %lx, start block %llx\n", in squashfs_readpage() 460 page->index, squashfs_i(inode)->start); in squashfs_readpage()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | aat2870-core.c | 278 char *start = buf; in aat2870_reg_write_file() local 289 while (*start == ' ') in aat2870_reg_write_file() 290 start++; in aat2870_reg_write_file() 292 ret = kstrtoul(start, 16, &addr); in aat2870_reg_write_file() 301 while (*start == ' ') in aat2870_reg_write_file() 302 start++; in aat2870_reg_write_file() 304 ret = kstrtoul(start, 16, &val); in aat2870_reg_write_file()
|
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 313 cpu_addr = entry->res->start; in cdns_pcie_host_bar_config() 314 pci_addr = entry->res->start - entry->offset; in cdns_pcie_host_bar_config() 429 u64 cpu_addr = cfg_res->start; in cdns_pcie_host_init_address_translation() 435 busnr = entry->res->start; in cdns_pcie_host_init_address_translation() 459 u64 pci_addr = res->start - entry->offset; in cdns_pcie_host_init_address_translation() 464 pci_pio_to_address(res->start), in cdns_pcie_host_init_address_translation() 470 res->start, in cdns_pcie_host_init_address_translation() 533 dev_err(dev, "Failed to start link\n"); in cdns_pcie_host_setup()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | aat2870-core.c | 278 char *start = buf; in aat2870_reg_write_file() local 289 while (*start == ' ') in aat2870_reg_write_file() 290 start++; in aat2870_reg_write_file() 292 ret = kstrtoul(start, 16, &addr); in aat2870_reg_write_file() 301 while (*start == ' ') in aat2870_reg_write_file() 302 start++; in aat2870_reg_write_file() 304 ret = kstrtoul(start, 16, &val); in aat2870_reg_write_file()
|
H A D | sta2x11-mfd.c | 29 unsigned int start, in __reg_within_range() 32 return ((r >= start) && (r <= end)); in __reg_within_range() 316 if (!request_mem_region(res->start, resource_size(res), name)) in sta2x11_mfd_platform_probe() 319 mfd->regs[index] = ioremap(res->start, resource_size(res)); in sta2x11_mfd_platform_probe() 321 release_mem_region(res->start, resource_size(res)); in sta2x11_mfd_platform_probe() 421 .start = _cell * 4096, .end = _cell * 4096 + 4095, \ 429 .start = 0, 28 __reg_within_range(unsigned int r, unsigned int start, unsigned int end) __reg_within_range() argument
|
/kernel/linux/linux-6.6/drivers/mtd/chips/ |
H A D | cfi_probe.c | 128 unsigned long start; in cfi_probe_chip() local 133 start = i << cfi->chipshift; in cfi_probe_chip() 136 if (cfi_qry_present(map, start, cfi)) { in cfi_probe_chip() 139 cfi_qry_mode_off(start, map, cfi); in cfi_probe_chip() 142 if (!cfi_qry_present(map, start, cfi)) { in cfi_probe_chip() 145 map->name, base, start); in cfi_probe_chip() 157 map->name, base, start); in cfi_probe_chip()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_hw.h | 20 static inline void xgene_set_bits(u32 *dst, u32 val, u32 start, u32 len) in xgene_set_bits() argument 22 u32 end = start + len - 1; in xgene_set_bits() 23 u32 mask = GENMASK(end, start); in xgene_set_bits() 26 *dst |= (val << start) & mask; in xgene_set_bits() 29 static inline u32 xgene_get_bits(u32 val, u32 start, u32 end) in xgene_get_bits() argument 31 return (val & GENMASK(end, start)) >> start; in xgene_get_bits()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | dbinput.c | 458 * RETURN: Pointer to the start of the next token. 467 char *start; in acpi_db_get_next_token() local 493 start = string; in acpi_db_get_next_token() 505 /* This is the start of a buffer, scan until closing paren */ in acpi_db_get_next_token() 508 start = string; in acpi_db_get_next_token() 520 /* This is the start of a field unit, scan until closing brace */ in acpi_db_get_next_token() 523 start = string; in acpi_db_get_next_token() 535 /* This is the start of a package, scan until closing bracket */ in acpi_db_get_next_token() 539 start = string; in acpi_db_get_next_token() 573 start in acpi_db_get_next_token() [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | class.c | 303 * @start: the device to start iterating from, if any 307 * of @class. If @start is set, the list iteration will start there, 312 const struct device *start, const struct device_type *type) in class_dev_iter_init() 320 if (start) in class_dev_iter_init() 321 start_knode = &start->p->knode_class; in class_dev_iter_init() 373 * @start: the device to start with in the list, if any. 378 * passing it @data. If @start i 311 class_dev_iter_init(struct class_dev_iter *iter, const struct class *class, const struct device *start, const struct device_type *type) class_dev_iter_init() argument 388 class_for_each_device(const struct class *class, const struct device *start, void *data, int (*fn)(struct device *, void *)) class_for_each_device() argument 437 class_find_device(const struct class *class, const struct device *start, const void *data, int (*match)(struct device *, const void *)) class_find_device() argument [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | recovery.c | 186 * @start: the first log header in the active region 196 static int foreach_descriptor(struct gfs2_jdesc *jd, u32 start, in foreach_descriptor() argument 209 while (start != end) { in foreach_descriptor() 210 error = gfs2_replay_read_block(jd, start, &bh); in foreach_descriptor() 222 error = get_log_header(jd, start, &lh); in foreach_descriptor() 224 gfs2_replay_incr_blk(jd, &start); in foreach_descriptor() 239 error = lops_scan_elements(jd, start, ld, ptr, pass); in foreach_descriptor() 246 gfs2_replay_incr_blk(jd, &start); in foreach_descriptor() 257 * @head: the head journal to start from
|
/kernel/linux/linux-6.6/fs/fat/ |
H A D | file.c | 186 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 191 err = __generic_file_fsync(filp, start, end, datasync); in fat_file_fsync() 220 loff_t start = inode->i_size, count = size - inode->i_size; in fat_cont_expand() local 236 err = filemap_fdatawrite_range(mapping, start, in fat_cont_expand() 237 start + count - 1); in fat_cont_expand() 245 err = filemap_fdatawait_range(mapping, start, in fat_cont_expand() 246 start + count - 1); in fat_cont_expand()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | btrfs_inode.h | 18 * to start at 2 since '.' and '..' have f_pos of 0 and 1 respectively, so 19 * everybody else has to start at 2 (see btrfs_real_readdir() and dir_emit_dots()). 37 * during fsync (we start as a fast fsync and then end up in a full 53 * Set when we are in a context where we need to start a transaction and 64 * races where two separate tasks attempt to simultaneously start verity 435 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, 468 void btrfs_set_range_writeback(struct btrfs_inode *inode, u64 start, u64 end); 482 u64 start, u64 end); 494 u64 start, u64 num_bytes, u64 min_size, 498 u64 start, u6 [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | pnp.h | 53 if (res->start == 0 && res->end == 0) in pnp_resource_len() 65 return res->start; in pnp_port_start() 111 return res->start; in pnp_mem_start() 155 return res->start; in pnp_irq() 179 return res->start; in pnp_dma() 464 int pnp_range_reserved(resource_size_t start, resource_size_t end); 495 static inline int pnp_range_reserved(resource_size_t start, resource_size_t end) { return 0;} in pnp_range_reserved() argument
|