/kernel/linux/linux-5.10/drivers/regulator/ |
D | aat2870-regulator.c | 35 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_set_voltage_sel() local 36 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_set_voltage_sel() 38 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel() 39 selector << ri->voltage_shift); in aat2870_ldo_set_voltage_sel() 44 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_get_voltage_sel() local 45 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_get_voltage_sel() 49 ret = aat2870->read(aat2870, ri->voltage_addr, &val); in aat2870_ldo_get_voltage_sel() 53 return (val & ri->voltage_mask) >> ri->voltage_shift; in aat2870_ldo_get_voltage_sel() 58 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_enable() local 59 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_enable() [all …]
|
D | tps80031-regulator.c | 88 struct tps80031_regulator *ri = rdev_get_drvdata(rdev); in tps80031_reg_is_enabled() local 93 if (ri->ext_ctrl_flag & TPS80031_EXT_PWR_REQ) in tps80031_reg_is_enabled() 96 ret = tps80031_read(parent, TPS80031_SLAVE_ID1, ri->rinfo->state_reg, in tps80031_reg_is_enabled() 100 ri->rinfo->state_reg, ret); in tps80031_reg_is_enabled() 108 struct tps80031_regulator *ri = rdev_get_drvdata(rdev); in tps80031_reg_enable() local 112 if (ri->ext_ctrl_flag & TPS80031_EXT_PWR_REQ) in tps80031_reg_enable() 115 ret = tps80031_update(parent, TPS80031_SLAVE_ID1, ri->rinfo->state_reg, in tps80031_reg_enable() 119 ri->rinfo->state_reg, ret); in tps80031_reg_enable() 127 struct tps80031_regulator *ri = rdev_get_drvdata(rdev); in tps80031_reg_disable() local 131 if (ri->ext_ctrl_flag & TPS80031_EXT_PWR_REQ) in tps80031_reg_disable() [all …]
|
D | tps65090-regulator.c | 64 static int tps65090_reg_set_overcurrent_wait(struct tps65090_regulator *ri, in tps65090_reg_set_overcurrent_wait() argument 71 ri->overcurrent_wait << CTRL_WT_BIT); in tps65090_reg_set_overcurrent_wait() 255 struct tps65090_regulator *ri, bool enable) in tps65090_config_ext_control() argument 258 struct device *parent = ri->dev->parent; in tps65090_config_ext_control() 259 unsigned int reg_en_reg = ri->desc->enable_reg; in tps65090_config_ext_control() 266 dev_err(ri->dev, "Error in updating reg 0x%x\n", reg_en_reg); in tps65090_config_ext_control() 271 struct tps65090_regulator *ri, in tps65090_regulator_disable_ext_control() argument 275 struct device *parent = ri->dev->parent; in tps65090_regulator_disable_ext_control() 276 unsigned int reg_en_reg = ri->desc->enable_reg; in tps65090_regulator_disable_ext_control() 286 dev_err(ri->dev, "Error in set reg 0x%x\n", reg_en_reg); in tps65090_regulator_disable_ext_control() [all …]
|
D | tps6586x-regulator.c | 268 struct tps6586x_regulator *ri) in tps6586x_regulator_preinit() argument 273 if (ri->enable_reg[0] == ri->enable_reg[1] && in tps6586x_regulator_preinit() 274 ri->enable_bit[0] == ri->enable_bit[1]) in tps6586x_regulator_preinit() 277 ret = tps6586x_read(parent, ri->enable_reg[0], &val1); in tps6586x_regulator_preinit() 281 ret = tps6586x_read(parent, ri->enable_reg[1], &val2); in tps6586x_regulator_preinit() 285 if (!(val2 & (1 << ri->enable_bit[1]))) in tps6586x_regulator_preinit() 292 if (!(val1 & (1 << ri->enable_bit[0]))) { in tps6586x_regulator_preinit() 293 ret = tps6586x_set_bits(parent, ri->enable_reg[0], in tps6586x_regulator_preinit() 294 1 << ri->enable_bit[0]); in tps6586x_regulator_preinit() 299 return tps6586x_clr_bits(parent, ri->enable_reg[1], in tps6586x_regulator_preinit() [all …]
|
D | da903x-regulator.c | 419 struct da903x_regulator_info *ri; in find_regulator_info() local 423 ri = &da903x_regulator_info[i]; in find_regulator_info() 424 if (ri->desc.id == id) in find_regulator_info() 425 return ri; in find_regulator_info() 432 struct da903x_regulator_info *ri = NULL; in da903x_regulator_probe() local 436 ri = find_regulator_info(pdev->id); in da903x_regulator_probe() 437 if (ri == NULL) { in da903x_regulator_probe() 443 if (ri->desc.id == DA9034_ID_LDO12) { in da903x_regulator_probe() 444 ri->desc.ops = &da9034_regulator_ldo12_ops; in da903x_regulator_probe() 445 ri->desc.n_voltages = 16; in da903x_regulator_probe() [all …]
|
D | rc5t583-regulator.c | 106 struct rc5t583_regulator_info *ri; in rc5t583_regulator_probe() local 116 ri = &rc5t583_reg_info[id]; in rc5t583_regulator_probe() 118 if (ri->deepsleep_id == RC5T583_DS_NONE) in rc5t583_regulator_probe() 122 ri->deepsleep_id, in rc5t583_regulator_probe() 136 config.driver_data = ri; in rc5t583_regulator_probe() 139 rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config); in rc5t583_regulator_probe() 142 ri->desc.name); in rc5t583_regulator_probe()
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | read.c | 27 struct jffs2_raw_inode *ri; in jffs2_read_dnode() local 34 ri = jffs2_alloc_raw_inode(); in jffs2_read_dnode() 35 if (!ri) in jffs2_read_dnode() 38 ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 40 jffs2_free_raw_inode(ri); in jffs2_read_dnode() 45 if (readlen != sizeof(*ri)) { in jffs2_read_dnode() 46 jffs2_free_raw_inode(ri); in jffs2_read_dnode() 48 ref_offset(fd->raw), sizeof(*ri), readlen); in jffs2_read_dnode() 51 crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_read_dnode() 54 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() [all …]
|
D | file.c | 147 struct jffs2_raw_inode ri; in jffs2_write_begin() local 154 ret = jffs2_reserve_space(c, sizeof(ri), &alloc_len, in jffs2_write_begin() 160 memset(&ri, 0, sizeof(ri)); in jffs2_write_begin() 162 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_write_begin() 163 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_begin() 164 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin() 165 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin() 167 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin() 168 ri.version = cpu_to_je32(++f->highest_version); in jffs2_write_begin() 169 ri.mode = cpu_to_jemode(inode->i_mode); in jffs2_write_begin() [all …]
|
D | write.c | 24 uint32_t mode, struct jffs2_raw_inode *ri) in jffs2_do_new_inode() argument 42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode() 44 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_new_inode() 45 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_new_inode() 46 ri->totlen = cpu_to_je32(PAD(sizeof(*ri))); in jffs2_do_new_inode() 47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode() 48 ri->mode = cpu_to_jemode(mode); in jffs2_do_new_inode() 51 ri->version = cpu_to_je32(f->highest_version); in jffs2_do_new_inode() 60 struct jffs2_raw_inode *ri, const unsigned char *data, in jffs2_write_dnode() argument 72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode() [all …]
|
D | gc.c | 762 struct jffs2_raw_inode ri; in jffs2_garbage_collect_metadata() local 796 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &alloclen, in jffs2_garbage_collect_metadata() 800 sizeof(ri) + mdatalen, ret); in jffs2_garbage_collect_metadata() 812 memset(&ri, 0, sizeof(ri)); in jffs2_garbage_collect_metadata() 813 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_metadata() 814 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_metadata() 815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata() 816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata() 818 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_metadata() 819 ri.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_metadata() [all …]
|
D | fs.c | 37 struct jffs2_raw_inode *ri; in jffs2_do_setattr() local 78 ri = jffs2_alloc_raw_inode(); in jffs2_do_setattr() 79 if (!ri) { in jffs2_do_setattr() 85 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr() 88 jffs2_free_raw_inode(ri); in jffs2_do_setattr() 96 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_setattr() 97 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_setattr() 98 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr() 99 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr() 101 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_do_setattr() [all …]
|
D | dir.c | 163 struct jffs2_raw_inode *ri; in jffs2_create() local 169 ri = jffs2_alloc_raw_inode(); in jffs2_create() 170 if (!ri) in jffs2_create() 177 inode = jffs2_new_inode(dir_i, mode, ri); in jffs2_create() 181 jffs2_free_raw_inode(ri); in jffs2_create() 200 ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name); in jffs2_create() 204 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(ri->ctime)); in jffs2_create() 206 jffs2_free_raw_inode(ri); in jffs2_create() 217 jffs2_free_raw_inode(ri); in jffs2_create() 284 struct jffs2_raw_inode *ri; in jffs2_symlink() local [all …]
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | inode.c | 58 static void __get_inode_rdev(struct inode *inode, struct f2fs_inode *ri) in __get_inode_rdev() argument 64 if (ri->i_addr[extra_size]) in __get_inode_rdev() 66 le32_to_cpu(ri->i_addr[extra_size])); in __get_inode_rdev() 69 le32_to_cpu(ri->i_addr[extra_size + 1])); in __get_inode_rdev() 74 struct f2fs_inode *ri) in __written_first_block() argument 76 block_t addr = le32_to_cpu(ri->i_addr[offset_in_addr(ri)]); in __written_first_block() 85 static void __set_inode_rdev(struct inode *inode, struct f2fs_inode *ri) in __set_inode_rdev() argument 91 ri->i_addr[extra_size] = in __set_inode_rdev() 93 ri->i_addr[extra_size + 1] = 0; in __set_inode_rdev() 95 ri->i_addr[extra_size] = 0; in __set_inode_rdev() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | pci.c | 153 struct acpi_pci_generic_root_info *ri; in pci_acpi_generic_release_info() local 155 ri = container_of(ci, struct acpi_pci_generic_root_info, common); in pci_acpi_generic_release_info() 156 pci_ecam_free(ri->cfg); in pci_acpi_generic_release_info() 158 kfree(ri); in pci_acpi_generic_release_info() 164 struct acpi_pci_generic_root_info *ri; in pci_acpi_scan_root() local 169 ri = kzalloc(sizeof(*ri), GFP_KERNEL); in pci_acpi_scan_root() 170 if (!ri) in pci_acpi_scan_root() 175 kfree(ri); in pci_acpi_scan_root() 179 ri->cfg = pci_acpi_setup_ecam_mapping(root); in pci_acpi_scan_root() 180 if (!ri->cfg) { in pci_acpi_scan_root() [all …]
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | recovery.c | 417 struct nilfs_recovery_info *ri) in nilfs_prepare_segment_for_recovery() argument 419 struct list_head *head = &ri->ri_used_segments; in nilfs_prepare_segment_for_recovery() 428 segnum[2] = ri->ri_segnum; in nilfs_prepare_segment_for_recovery() 429 segnum[3] = ri->ri_nextnum; in nilfs_prepare_segment_for_recovery() 465 nilfs->ns_seg_seq = ri->ri_seq + 2; in nilfs_prepare_segment_for_recovery() 570 struct nilfs_recovery_info *ri) in nilfs_do_roll_forward() argument 589 pseg_start = ri->ri_lsegs_start; in nilfs_do_roll_forward() 590 seg_seq = ri->ri_lsegs_start_seq; in nilfs_do_roll_forward() 594 while (segnum != ri->ri_segnum || pseg_start <= ri->ri_pseg_start) { in nilfs_do_roll_forward() 650 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward() [all …]
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | debug_fs.c | 382 struct rsbtbl_iter *ri = iter_ptr; in table_seq_show() local 384 switch (ri->format) { in table_seq_show() 386 print_format1(ri->rsb, seq); in table_seq_show() 389 if (ri->header) { in table_seq_show() 391 ri->header = 0; in table_seq_show() 393 print_format2(ri->rsb, seq); in table_seq_show() 396 if (ri->header) { in table_seq_show() 398 ri->header = 0; in table_seq_show() 400 print_format3(ri->rsb, seq); in table_seq_show() 403 if (ri->header) { in table_seq_show() [all …]
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptfc.c | 426 struct mptfc_rport_info *ri; in mptfc_register_dev() local 440 list_for_each_entry(ri, &ioc->fc_rports, list) { in mptfc_register_dev() 441 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev() 443 list_move_tail(&ri->list, &ioc->fc_rports); in mptfc_register_dev() 449 ri = kzalloc(sizeof(struct mptfc_rport_info), GFP_KERNEL); in mptfc_register_dev() 450 if (!ri) in mptfc_register_dev() 452 list_add_tail(&ri->list, &ioc->fc_rports); in mptfc_register_dev() 455 ri->pg0 = *pg0; /* add/update pg0 data */ in mptfc_register_dev() 456 ri->flags &= ~MPT_RPORT_INFO_FLAGS_MISSING; in mptfc_register_dev() 459 if (!(ri->flags & MPT_RPORT_INFO_FLAGS_REGISTERED)) { in mptfc_register_dev() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 41 static uint64_t virt_alloc_region(struct kvm_vm *vm, int ri, uint32_t memslot) in virt_alloc_region() argument 45 taddr = vm_phy_pages_alloc(vm, ri < 4 ? PAGES_PER_REGION : 1, in virt_alloc_region() 50 | (((4 - ri) << 2) & REGION_ENTRY_TYPE) in virt_alloc_region() 51 | ((ri < 4 ? (PAGES_PER_REGION - 1) : 0) & REGION_ENTRY_LENGTH); in virt_alloc_region() 57 int ri, idx; in virt_pg_map() local 79 for (ri = 1; ri <= 4; ri++) { in virt_pg_map() 80 idx = (gva >> (64 - 11 * ri)) & 0x7ffu; in virt_pg_map() 82 entry[idx] = virt_alloc_region(vm, ri, memslot); in virt_pg_map() 96 int ri, idx; in addr_gva2gpa() local 103 for (ri = 1; ri <= 4; ri++) { in addr_gva2gpa() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | common.c | 200 struct brcmf_rev_info *ri; in brcmf_c_preinit_dcmds() local 216 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds() 222 strlcpy(ri->chipname, "UNKNOWN", sizeof(ri->chipname)); in brcmf_c_preinit_dcmds() 224 ri->vendorid = le32_to_cpu(revinfo.vendorid); in brcmf_c_preinit_dcmds() 225 ri->deviceid = le32_to_cpu(revinfo.deviceid); in brcmf_c_preinit_dcmds() 226 ri->radiorev = le32_to_cpu(revinfo.radiorev); in brcmf_c_preinit_dcmds() 227 ri->corerev = le32_to_cpu(revinfo.corerev); in brcmf_c_preinit_dcmds() 228 ri->boardid = le32_to_cpu(revinfo.boardid); in brcmf_c_preinit_dcmds() 229 ri->boardvendor = le32_to_cpu(revinfo.boardvendor); in brcmf_c_preinit_dcmds() 230 ri->boardrev = le32_to_cpu(revinfo.boardrev); in brcmf_c_preinit_dcmds() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
D | clk-mix.c | 137 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; in _set_rate() local 151 mux_div = readl(ri->reg_clk_ctrl); in _set_rate() 153 mux_div = readl(ri->reg_clk_sel); in _set_rate() 156 width = ri->width_div; in _set_rate() 157 shift = ri->shift_div; in _set_rate() 163 width = ri->width_mux; in _set_rate() 164 shift = ri->shift_mux; in _set_rate() 170 writel(mux_div, ri->reg_clk_ctrl); in _set_rate() 172 mux_div |= (1 << ri->bit_fc); in _set_rate() 173 writel(mux_div, ri->reg_clk_ctrl); in _set_rate() [all …]
|
/kernel/linux/linux-5.10/fs/romfs/ |
D | super.c | 154 struct romfs_inode ri; in romfs_readdir() local 165 ret = romfs_dev_read(i->i_sb, offset, &ri, ROMFH_SIZE); in romfs_readdir() 168 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_readdir() 181 ret = romfs_dev_read(i->i_sb, offset, &ri, ROMFH_SIZE); in romfs_readdir() 196 nextfh = be32_to_cpu(ri.next); in romfs_readdir() 198 ino = be32_to_cpu(ri.spec); in romfs_readdir() 217 struct romfs_inode ri; in romfs_lookup() local 222 ret = romfs_dev_read(dir->i_sb, offset, &ri, ROMFH_SIZE); in romfs_lookup() 229 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup() 238 ret = romfs_dev_read(dir->i_sb, offset, &ri, sizeof(ri)); in romfs_lookup() [all …]
|
/kernel/linux/linux-5.10/include/soc/mscc/ |
D | ocelot.h | 665 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument 667 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument 670 … ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi) + … argument 672 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) argument 675 …ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (gi) +… argument 677 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_RSZ * (r… argument 685 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument 686 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri)) 689 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument 690 __ocelot_target_read_ix(ocelot, target, reg, reg##_RSZ * (ri)) [all …]
|
/kernel/linux/linux-5.10/kernel/events/ |
D | uprobes.c | 1705 static struct return_instance *free_ret_instance(struct return_instance *ri) in free_ret_instance() argument 1707 struct return_instance *next = ri->next; in free_ret_instance() 1708 put_uprobe(ri->uprobe); in free_ret_instance() 1709 kfree(ri); in free_ret_instance() 1720 struct return_instance *ri; in uprobe_free_utask() local 1728 ri = utask->return_instances; in uprobe_free_utask() 1729 while (ri) in uprobe_free_utask() 1730 ri = free_ret_instance(ri); in uprobe_free_utask() 1851 struct return_instance *ri = utask->return_instances; in cleanup_return_instances() local 1854 while (ri && !arch_uretprobe_is_alive(ri, ctx, regs)) { in cleanup_return_instances() [all …]
|
/kernel/liteos_a/fs/jffs2/src/ |
D | vfs_jffs2.c | 338 struct jffs2_raw_inode ri = {0}; in VfsJffs2WritePage() local 354 ri.ino = cpu_to_je32(f->inocache->ino); in VfsJffs2WritePage() 355 ri.mode = cpu_to_jemode(node->i_mode); in VfsJffs2WritePage() 356 ri.uid = cpu_to_je16(node->i_uid); in VfsJffs2WritePage() 357 ri.gid = cpu_to_je16(node->i_gid); in VfsJffs2WritePage() 358 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(Jffs2CurSec()); in VfsJffs2WritePage() 370 ri.isize = cpu_to_je32(node->i_size); in VfsJffs2WritePage() 372 ret = jffs2_write_inode_range(c, f, &ri, (unsigned char *)buffer, pos, buflen, &writtenLen); in VfsJffs2WritePage() 374 node->i_mtime = node->i_ctime = je32_to_cpu(ri.mtime); in VfsJffs2WritePage() 379 node->i_mtime = node->i_ctime = je32_to_cpu(ri.mtime); in VfsJffs2WritePage() [all …]
|
/kernel/linux/linux-5.10/samples/kprobes/ |
D | kretprobe_example.c | 40 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler() argument 47 data = (struct my_data *)ri->data; in entry_handler() 58 static int ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in ret_handler() argument 61 struct my_data *data = (struct my_data *)ri->data; in ret_handler()
|