/kernel/linux/linux-6.6/fs/zonefs/ |
H A D | super.c | 220 return (zone->wp - zone->start) << SECTOR_SHIFT; in zonefs_check_zone_condition() 381 zone.start = z->z_sector; in __zonefs_io_error() 383 zone.wp = zone.start + zone.len; in __zonefs_io_error() 896 zone->start != zd->cnv_zone_start) in zonefs_get_zone_info_cb() 898 zd->cnv_zone_start = zone->start + zone->len; in zonefs_get_zone_info_cb() 1015 z->z_sector = zone->start; in zonefs_init_zgroup()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | grant-table.c | 86 * gnttab_free_tail_ptr specifies the variable which references the start 356 static void gnttab_set_free(unsigned int start, unsigned int n) in gnttab_set_free() argument 360 for (i = start; i < start + n - 1; i++) in gnttab_set_free() 365 gnttab_free_head = start; in gnttab_set_free() 368 gnttab_entry(gnttab_last_free) = start; in gnttab_set_free() 373 bitmap_set(gnttab_free_bitmap, start, n); in gnttab_set_free()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_rtalloc.c | 138 * Mark an extent specified by start and len allocated. 145 xfs_rtblock_t start, /* start block to allocate */ in xfs_rtallocate_range() 153 xfs_rtblock_t preblock = 0; /* first block allocated < start */ in xfs_rtallocate_range() 155 end = start + len - 1; in xfs_rtallocate_range() 161 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range() 187 if (preblock < start) { in xfs_rtallocate_range() 189 XFS_RTBLOCKLOG(start - preblock), in xfs_rtallocate_range() 210 error = xfs_rtmodify_range(mp, tp, start, len, 0); in xfs_rtallocate_range() 249 xfs_rtblock_t *rtblock) /* out: start bloc in xfs_rtallocate_extent_block() 142 xfs_rtallocate_range( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t start, xfs_extlen_t len, struct xfs_buf **rbpp, xfs_fsblock_t *rsb) xfs_rtallocate_range() argument [all...] |
/kernel/linux/linux-6.6/drivers/vfio/ |
H A D | vfio_main.c | 310 /* Refcounting can't start until the driver calls register */ in __vfio_register_dev() 968 curr_gap = curr->start - prev->last; in vfio_combine_iova_ranges() 1048 nodes[i].start = range.iova; in vfio_ioctl_device_feature_logging_start() 1050 if (interval_tree_iter_first(&root, nodes[i].start, in vfio_ioctl_device_feature_logging_start() 1448 /* Capability structs should start with proper alignment */ in vfio_info_cap_shift() 1480 (hdr->count >= (U32_MAX - hdr->start)) || in vfio_set_irqs_validate_and_prepare() 1488 if (hdr->start >= num_irqs || hdr->start + hdr->count > num_irqs) in vfio_set_irqs_validate_and_prepare() 1550 * VFIO ignores the sub page offset, npages is from the start of in vfio_pin_pages()
|
/kernel/linux/linux-6.6/drivers/video/console/ |
H A D | vgacon.c | 193 .start = 0x3B0, in vgacon_startup() 204 .start = 0x3B0, in vgacon_startup() 209 .start = 0x3BF, in vgacon_startup() 235 .start = 0x3C0, in vgacon_startup() 245 .start = 0x3C0, in vgacon_startup() 280 .start = 0x3D4, in vgacon_startup() 865 /* map start at A000:0000 */ in vgacon_do_font_op()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-nxp-fspi.c | 664 * register and start base address of the slave device. 670 * B2 start address --> -------- <-- FLSHB1CR0 673 * B1 start address --> -------- <-- FLSHA2CR0 676 * A2 start address --> -------- <-- FLSHA1CR0 679 * A1 start address --> -------- (Lower address) 749 u32 start = op->addr.val; in nxp_fspi_read_ahb() local 753 if ((!f->ahb_addr) || start < f->memmap_start || in nxp_fspi_read_ahb() 754 start + len > f->memmap_start + f->memmap_len) { in nxp_fspi_read_ahb() 758 f->memmap_start = start; in nxp_fspi_read_ahb() 773 f->ahb_addr + start in nxp_fspi_read_ahb() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_nego.c | 343 * bit for full-feature-phase, go ahead and start up TX/RX threads in iscsi_target_do_tx_login_io() 1112 char *tmpbuf, *start = NULL, *end = NULL, *key, *value; in iscsi_target_locate_portal() local 1136 start = tmpbuf; in iscsi_target_locate_portal() 1137 end = (start + payload_length); in iscsi_target_locate_portal() 1143 while (start < end) { in iscsi_target_locate_portal() 1144 if (iscsi_extract_key_value(start, &key, &value) < 0) { in iscsi_target_locate_portal() 1156 start += strlen(key) + strlen(value) + 2; in iscsi_target_locate_portal()
|
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | smc_abi.c | 394 * @page_offset: offset of user buffer from page start 454 unsigned long start) in optee_shm_register() 466 rc = optee_check_mem_type(start, num_pages); in optee_shm_register() 563 unsigned long start) in optee_shm_register_supp() 569 return optee_check_mem_type(start, num_pages); in optee_shm_register_supp() 1386 begin = roundup(res.result.start, PAGE_SIZE); in optee_config_shm_memremap() 1387 end = rounddown(res.result.start + res.result.size, PAGE_SIZE); in optee_config_shm_memremap() 452 optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, struct page **pages, size_t num_pages, unsigned long start) optee_shm_register() argument 561 optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, struct page **pages, size_t num_pages, unsigned long start) optee_shm_register_supp() argument
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | platform.c | 207 irqd = irq_get_irq_data(r->start); in platform_get_irq_optional() 214 ret = r->start; in platform_get_irq_optional() 450 if (WARN(!r->start, "0 is an invalid IRQ number\n")) in __platform_get_irq_byname() 452 return r->start; in __platform_get_irq_byname() 1504 * @start: The device to start the search from. 1507 struct device *platform_find_device_by_driver(struct device *start, in platform_find_device_by_driver() argument 1510 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | rw.c | 255 * Reissue will start accounting again, finish the in __io_complete_rw_common() 997 struct io_wq_work_node *pos, *start, *prev; in io_do_iopoll() local 1009 wq_list_for_each(pos, start, &ctx->iopoll_list) { in io_do_iopoll() 1049 prev = start; in io_do_iopoll() 1062 pos = start ? start->next : ctx->iopoll_list.first; in io_do_iopoll() 1063 wq_list_cut(&ctx->iopoll_list, prev, start); in io_do_iopoll()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_mr.c | 90 struct ib_udata *udata, u64 start) in alloc_mr_pbl() 109 udata, start); in alloc_mr_pbl() 222 struct ib_mr *hns_roce_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in hns_roce_reg_user_mr() argument 244 ret = alloc_mr_pbl(hr_dev, mr, udata, start); in hns_roce_reg_user_mr() 265 struct ib_mr *hns_roce_rereg_user_mr(struct ib_mr *ibmr, int flags, u64 start, in hns_roce_rereg_user_mr() argument 308 ret = alloc_mr_pbl(hr_dev, mr, udata, start); in hns_roce_rereg_user_mr() 990 * @user_addr: userspace virtual address to start at 89 alloc_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr, struct ib_udata *udata, u64 start) alloc_mr_pbl() argument
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.c | 271 vbifmt->start[0] = cx->vbi.start[0]; in cx18_g_fmt_vbi_cap() 272 vbifmt->start[1] = cx->vbi.start[1]; in cx18_g_fmt_vbi_cap() 635 cx->vbi.start[0] = cx->is_50hz ? 6 : 10; in cx18_s_std() 636 cx->vbi.start[1] = cx->is_50hz ? 318 : 273; in cx18_s_std()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stb0899_drv.c | 671 unsigned long start = jiffies; in stb0899_wait_diseqc_fifo_empty() local 677 if (time_after(jiffies, start + timeout)) { in stb0899_wait_diseqc_fifo_empty() 715 unsigned long start = jiffies; in stb0899_wait_diseqc_rxidle() local 719 if (time_after(jiffies, start + timeout)) { in stb0899_wait_diseqc_rxidle() 764 unsigned long start = jiffies; in stb0899_wait_diseqc_txidle() local 768 if (time_after(jiffies, start + timeout)) { in stb0899_wait_diseqc_txidle()
|
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-iproc.c | 1023 ret = iproc_pcie_setup_ob(pcie, res->start, in iproc_pcie_map_ranges() 1024 res->start - window->offset, in iproc_pcie_map_ranges() 1120 u64 axi_addr = entry->res->start; in iproc_pcie_setup_ib() 1121 u64 pci_addr = entry->res->start - entry->offset; in iproc_pcie_setup_ib() 1240 *msi_addr = res.start + GITS_TRANSLATER; in iproce_pcie_get_msi() 1253 entry.res->start = msi_addr; in iproc_pcie_paxb_v2_msi_steer()
|
H A D | pcie-rcar-host.c | 803 rcar_pci_write_reg(pcie, lower_32_bits(res.start) | MSIFE, PCIEMSIALR); in rcar_pcie_enable_msi() 804 rcar_pci_write_reg(pcie, upper_32_bits(res.start), PCIEMSIAUR); in rcar_pcie_enable_msi() 880 u64 cpu_addr = entry->res->start; in rcar_pcie_inbound_ranges() 882 u64 pci_addr = entry->res->start - entry->offset; in rcar_pcie_inbound_ranges() 898 * the start address, we have to use multiple entries to in rcar_pcie_inbound_ranges() 1081 rcar_pci_write_reg(pcie, upper_32_bits(res.start), PCIEMSIAUR); in rcar_pcie_resume() 1082 rcar_pci_write_reg(pcie, lower_32_bits(res.start) | MSIFE, PCIEMSIALR); in rcar_pcie_resume()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 601 loff_t start, end; in dc8051_memory_read() local 614 * Adjust start and end to fit. Skip reading anything if out of in dc8051_memory_read() 617 start = *ppos & ~0x7; /* round down */ in dc8051_memory_read() 618 if (start < DC8051_DATA_MEM_SIZE) { in dc8051_memory_read() 622 rval = read_8051_data(ppd->dd, start, end - start, in dc8051_memory_read() 623 (u64 *)(tmp + start)); in dc8051_memory_read()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | intel_memory_region.c | 183 u64 start = order[i] * chunk_size; in igt_mock_reserve() local 194 err = intel_memory_region_reserve(mem, start + offset, size); in igt_mock_reserve() 544 u64 start = drm_buddy_block_offset(block); in igt_object_mappable_total() local 545 u64 end = start + drm_buddy_block_size(mm, block); in igt_object_mappable_total() 547 if (start < mr->io_size) in igt_object_mappable_total() 548 total += min_t(u64, end, mr->io_size) - start; in igt_object_mappable_total()
|
/kernel/linux/linux-6.6/drivers/iio/imu/bno055/ |
H A D | bno055.c | 1443 int xfer_start, start, end, prev_end; in bno055_trigger_handler() local 1460 for_each_set_bitrange(start, end, iio_dev->active_scan_mask, in bno055_trigger_handler() 1463 * First transfer will start from the beginning of the first in bno055_trigger_handler() 1467 xfer_start = start; in bno055_trigger_handler() 1481 quat_extra_len = ((start > BNO055_SCAN_QUATERNION) && in bno055_trigger_handler() 1485 thr_hit = (start - prev_end + quat_extra_len) > in bno055_trigger_handler() 1490 * next transfer start index at right after the gap in bno055_trigger_handler() 1491 * (i.e. at the start of this ones-field). in bno055_trigger_handler() 1500 xfer_start = start; in bno055_trigger_handler()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-verity-target.c | 495 struct bvec_iter start, sector_t cur_block) in verity_recheck() 531 r = verity_for_bv_block(v, io, &start, verity_recheck_copy); in verity_recheck() 568 struct bvec_iter start; in verity_verify_io() local 619 start = *iter; in verity_verify_io() 641 } else if (verity_recheck(v, io, start, cur_block) == 0) { in verity_verify_io() 647 cur_block, NULL, &start) == 0) { in verity_verify_io() 1211 * <hash start block> 1320 ti->error = "Invalid hash start"; in verity_ctr() 494 verity_recheck(struct dm_verity *v, struct dm_verity_io *io, struct bvec_iter start, sector_t cur_block) verity_recheck() argument
|
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | gconf.c | 365 GtkTextIter start, end; in text_insert_help() local 372 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help() 373 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help() 390 GtkTextIter start, end; in text_insert_msg() local 394 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_msg() 395 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_msg()
|
/kernel/liteos_m/components/fs/vfs/ |
H A D | vfs_fs.c | 175 char *start = p; in GetCanonicalPath() local 176 while (start > tmpBuf && *(start - 1) != '/') { in GetCanonicalPath() 177 --start; in GetCanonicalPath() 179 if (EOK != memmove_s(start, tmpLen - (start - tmpBuf), p + offset, tmpLen - (p - tmpBuf) - offset)) { in GetCanonicalPath()
|
/kernel/linux/linux-6.6/sound/soc/dwc/ |
H A D | dwc-i2s.c | 666 dev->play_dma_data.dt.addr = res->start + I2S_TXDMA; in dw_configure_dai_by_pd() 673 dev->capture_dma_data.dt.addr = res->start + I2S_RXDMA; in dw_configure_dai_by_pd() 682 dev->play_dma_data.pd.addr = res->start + I2S_TXDMA; in dw_configure_dai_by_pd() 683 dev->capture_dma_data.pd.addr = res->start + I2S_RXDMA; in dw_configure_dai_by_pd() 713 dev->play_dma_data.dt.addr = res->start + I2S_TXDMA; in dw_configure_dai_by_dt() 722 dev->capture_dma_data.dt.addr = res->start + I2S_RXDMA; in dw_configure_dai_by_dt()
|
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_dec_lzma2.c | 32 * start <= pos <= full <= end 49 size_t start; member 297 dict->start = 0; in dict_reset() 419 dict->start = dict->pos; in dict_uncompressed() 439 size_t copy_size = dict->pos - dict->start; in dict_flush() 456 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush() 460 dict->start = dict->pos; in dict_flush()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | timer.c | 160 * The time start value for each level to select the bucket at enqueue 161 * time. We start from the last possible delta of the previous level 1147 * If @timer->function == NULL then the start operation is silently 1178 * If @timer->function == NULL then the start operation is silently 1203 * If @timer->function == NULL then the start operation is silently 1231 * If @timer->function == NULL then the start operation is silently 1251 * @cpu: The CPU to start it on 1785 * Find the next pending bucket of a level. Search from level start (@offset) 1786 * + @clk upwards and if nothing there, search from start of the level 1792 unsigned pos, start in next_pending_bucket() local [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | ptrace.c | 1610 int index, start, end; in do_fpregs_set() local 1627 start = dst->pos; in do_fpregs_set() 1636 if (start & 0xF) { /* only write high part */ in do_fpregs_set() 1637 if (unw_get_fr(info, start / sizeof(elf_fpreg_t), in do_fpregs_set() 1642 tmp[start / sizeof(elf_fpreg_t) - 2].u.bits[0] in do_fpregs_set() 1644 start &= ~0xFUL; in do_fpregs_set() 1657 for ( ; start < end ; start += sizeof(elf_fpreg_t)) { in do_fpregs_set() 1658 index = start / sizeof(elf_fpreg_t); in do_fpregs_set()
|