| /kernel/linux/linux-5.10/net/sched/ |
| D | em_ipt.c | 42 static int check_match(struct net *net, struct em_ipt_match *im, int mdata_len) in check_match() argument 52 mtpar.hook_mask = 1 << im->hook; in check_match() 53 mtpar.family = im->match->family; in check_match() 54 mtpar.match = im->match; in check_match() 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 130 struct em_ipt_match *im = NULL; in em_ipt_change() local 160 im = kzalloc(sizeof(*im) + mdata_len, GFP_KERNEL); in em_ipt_change() 161 if (!im) { in em_ipt_change() 166 im->match = match; in em_ipt_change() 167 im->hook = nla_get_u32(tb[TCA_EM_IPT_HOOK]); in em_ipt_change() [all …]
|
| /kernel/linux/linux-6.6/net/sched/ |
| D | em_ipt.c | 42 static int check_match(struct net *net, struct em_ipt_match *im, int mdata_len) in check_match() argument 52 mtpar.hook_mask = 1 << im->hook; in check_match() 53 mtpar.family = im->match->family; in check_match() 54 mtpar.match = im->match; in check_match() 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 130 struct em_ipt_match *im = NULL; in em_ipt_change() local 160 im = kzalloc(sizeof(*im) + mdata_len, GFP_KERNEL); in em_ipt_change() 161 if (!im) { in em_ipt_change() 166 im->match = match; in em_ipt_change() 167 im->hook = nla_get_u32(tb[TCA_EM_IPT_HOOK]); in em_ipt_change() [all …]
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | trampoline.c | 170 struct bpf_tramp_image *im; in __bpf_tramp_image_put_deferred() local 172 im = container_of(work, struct bpf_tramp_image, work); in __bpf_tramp_image_put_deferred() 173 bpf_image_ksym_del(&im->ksym); in __bpf_tramp_image_put_deferred() 174 bpf_jit_free_exec(im->image); in __bpf_tramp_image_put_deferred() 176 percpu_ref_exit(&im->pcref); in __bpf_tramp_image_put_deferred() 177 kfree_rcu(im, rcu); in __bpf_tramp_image_put_deferred() 183 struct bpf_tramp_image *im; in __bpf_tramp_image_put_rcu() local 185 im = container_of(rcu, struct bpf_tramp_image, rcu); in __bpf_tramp_image_put_rcu() 186 INIT_WORK(&im->work, __bpf_tramp_image_put_deferred); in __bpf_tramp_image_put_rcu() 187 schedule_work(&im->work); in __bpf_tramp_image_put_rcu() [all …]
|
| /kernel/linux/linux-6.6/net/ipv4/ |
| D | igmp.c | 156 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im, 158 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im); 167 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put() argument 169 if (refcount_dec_and_test(&im->refcnt)) { in ip_ma_put() 170 in_dev_put(im->interface); in ip_ma_put() 171 kfree_rcu(im, rcu); in ip_ma_put() 202 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer() argument 204 spin_lock_bh(&im->lock); in igmp_stop_timer() 205 if (del_timer(&im->timer)) in igmp_stop_timer() 206 refcount_dec(&im->refcnt); in igmp_stop_timer() [all …]
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | igmp.c | 156 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im, 158 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im); 167 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put() argument 169 if (refcount_dec_and_test(&im->refcnt)) { in ip_ma_put() 170 in_dev_put(im->interface); in ip_ma_put() 171 kfree_rcu(im, rcu); in ip_ma_put() 202 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer() argument 204 spin_lock_bh(&im->lock); in igmp_stop_timer() 205 if (del_timer(&im->timer)) in igmp_stop_timer() 206 refcount_dec(&im->refcnt); in igmp_stop_timer() [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | trampoline.c | 254 static void bpf_tramp_image_free(struct bpf_tramp_image *im) in bpf_tramp_image_free() argument 256 bpf_image_ksym_del(&im->ksym); in bpf_tramp_image_free() 257 bpf_jit_free_exec(im->image); in bpf_tramp_image_free() 259 percpu_ref_exit(&im->pcref); in bpf_tramp_image_free() 260 kfree_rcu(im, rcu); in bpf_tramp_image_free() 265 struct bpf_tramp_image *im; in __bpf_tramp_image_put_deferred() local 267 im = container_of(work, struct bpf_tramp_image, work); in __bpf_tramp_image_put_deferred() 268 bpf_tramp_image_free(im); in __bpf_tramp_image_put_deferred() 274 struct bpf_tramp_image *im; in __bpf_tramp_image_put_rcu() local 276 im = container_of(rcu, struct bpf_tramp_image, rcu); in __bpf_tramp_image_put_rcu() [all …]
|
| /kernel/linux/linux-5.10/fs/f2fs/ |
| D | checkpoint.c | 481 struct inode_management *im = &sbi->im[type]; in __add_ino_entry() local 488 spin_lock(&im->ino_lock); in __add_ino_entry() 489 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry() 492 if (unlikely(radix_tree_insert(&im->ino_root, ino, e))) in __add_ino_entry() 498 list_add_tail(&e->list, &im->ino_list); in __add_ino_entry() 500 im->ino_num++; in __add_ino_entry() 506 spin_unlock(&im->ino_lock); in __add_ino_entry() 515 struct inode_management *im = &sbi->im[type]; in __remove_ino_entry() local 518 spin_lock(&im->ino_lock); in __remove_ino_entry() 519 e = radix_tree_lookup(&im->ino_root, ino); in __remove_ino_entry() [all …]
|
| /kernel/linux/linux-6.6/fs/nfs/ |
| D | nfs4idmap.c | 512 struct idmap_msg *im, in nfs_idmap_prepare_message() argument 518 im->im_type = IDMAP_TYPE_GROUP; in nfs_idmap_prepare_message() 523 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message() 526 im->im_conv = IDMAP_CONV_NAMETOID; in nfs_idmap_prepare_message() 527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message() 531 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message() 534 im->im_conv = IDMAP_CONV_IDTONAME; in nfs_idmap_prepare_message() 535 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message() 545 msg->data = im; in nfs_idmap_prepare_message() 585 struct idmap_msg *im; in nfs_idmap_legacy_upcall() local [all …]
|
| /kernel/linux/linux-5.10/fs/nfs/ |
| D | nfs4idmap.c | 512 struct idmap_msg *im, in nfs_idmap_prepare_message() argument 518 im->im_type = IDMAP_TYPE_GROUP; in nfs_idmap_prepare_message() 523 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message() 526 im->im_conv = IDMAP_CONV_NAMETOID; in nfs_idmap_prepare_message() 527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message() 531 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message() 534 im->im_conv = IDMAP_CONV_IDTONAME; in nfs_idmap_prepare_message() 535 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message() 545 msg->data = im; in nfs_idmap_prepare_message() 585 struct idmap_msg *im; in nfs_idmap_legacy_upcall() local [all …]
|
| /kernel/linux/linux-6.6/fs/f2fs/ |
| D | checkpoint.c | 504 struct inode_management *im = &sbi->im[type]; in __add_ino_entry() local 509 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry() 520 spin_lock(&im->ino_lock); in __add_ino_entry() 521 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry() 524 spin_unlock(&im->ino_lock); in __add_ino_entry() 529 if (unlikely(radix_tree_insert(&im->ino_root, ino, e))) in __add_ino_entry() 535 list_add_tail(&e->list, &im->ino_list); in __add_ino_entry() 537 im->ino_num++; in __add_ino_entry() 543 spin_unlock(&im->ino_lock); in __add_ino_entry() 552 struct inode_management *im = &sbi->im[type]; in __remove_ino_entry() local [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/bfa/ |
| D | bfad_im.c | 12 * bfad_im.c Linux driver IM module. 21 BFA_TRC_FILE(LDRV, IM); 433 (*itnim_drv)->im = bfad->im; in bfa_fcb_itnim_alloc() 456 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_free() local 480 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_free() 491 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_online() local 501 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_online() 513 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_offline() local 528 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_offline() 647 queue_work(bfad->im->drv_workq, in bfad_im_port_delete() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/bfa/ |
| D | bfad_im.c | 12 * bfad_im.c Linux driver IM module. 21 BFA_TRC_FILE(LDRV, IM); 432 (*itnim_drv)->im = bfad->im; in bfa_fcb_itnim_alloc() 455 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_free() local 479 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_free() 490 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_online() local 500 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_online() 512 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_offline() local 527 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_offline() 646 queue_work(bfad->im->drv_workq, in bfad_im_port_delete() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| D | ar9003_calib.c | 892 int i, im, nmeasurement; in ar9003_hw_tx_iq_cal_outlier_detection() local 941 for (im = 0; im < nmeasurement; im++) { in ar9003_hw_tx_iq_cal_outlier_detection() 942 magnitude = coeff->mag_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 943 phase = coeff->phs_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 948 if ((im % 2) == 0) in ar9003_hw_tx_iq_cal_outlier_detection() 949 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 953 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 958 caldata->tx_corr_coeff[im][i] = in ar9003_hw_tx_iq_cal_outlier_detection() 1008 int im, ix, iy, temp; in __ar955x_tx_iq_cal_sort() local 1010 for (im = 0; im < nmeasurement; im++) { in __ar955x_tx_iq_cal_sort() [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | anycast.c | 487 struct ifacaddr6 *im = NULL; in ac6_get_first() local 498 im = idev->ac_list; in ac6_get_first() 499 if (im) { in ac6_get_first() 505 return im; in ac6_get_first() 508 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument 512 im = im->aca_next; in ac6_get_next() 513 while (!im) { in ac6_get_next() 526 im = state->idev->ac_list; in ac6_get_next() 528 return im; in ac6_get_next() 533 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local [all …]
|
| D | mcast.c | 724 static void mld_add_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_add_delrec() argument 738 spin_lock_bh(&im->mca_lock); in mld_add_delrec() 740 pmc->idev = im->idev; in mld_add_delrec() 742 pmc->mca_addr = im->mca_addr; in mld_add_delrec() 744 pmc->mca_sfmode = im->mca_sfmode; in mld_add_delrec() 748 pmc->mca_tomb = im->mca_tomb; in mld_add_delrec() 749 pmc->mca_sources = im->mca_sources; in mld_add_delrec() 750 im->mca_tomb = im->mca_sources = NULL; in mld_add_delrec() 754 spin_unlock_bh(&im->mca_lock); in mld_add_delrec() 762 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument [all …]
|
| /kernel/linux/linux-6.6/net/ipv6/ |
| D | anycast.c | 487 struct ifacaddr6 *im = NULL; in ac6_get_first() local 498 im = idev->ac_list; in ac6_get_first() 499 if (im) { in ac6_get_first() 505 return im; in ac6_get_first() 508 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument 512 im = im->aca_next; in ac6_get_next() 513 while (!im) { in ac6_get_next() 526 im = state->idev->ac_list; in ac6_get_next() 528 return im; in ac6_get_next() 533 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-tb10x.c | 45 uint32_t im, mod, pol; in tb10x_irq_set_type() local 47 im = data->mask; in tb10x_irq_set_type() 51 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type() 52 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type() 56 pol ^= im; in tb10x_irq_set_type() 59 mod ^= im; in tb10x_irq_set_type() 64 mod ^= im; in tb10x_irq_set_type() 65 pol ^= im; in tb10x_irq_set_type() 81 ab_irqctl_writereg(gc, AB_IRQCTL_INT_STATUS, im); in tb10x_irq_set_type()
|
| /kernel/linux/linux-6.6/drivers/irqchip/ |
| D | irq-tb10x.c | 44 uint32_t im, mod, pol; in tb10x_irq_set_type() local 46 im = data->mask; in tb10x_irq_set_type() 50 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type() 51 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type() 55 pol ^= im; in tb10x_irq_set_type() 58 mod ^= im; in tb10x_irq_set_type() 64 mod ^= im; in tb10x_irq_set_type() 65 pol ^= im; in tb10x_irq_set_type() 81 ab_irqctl_writereg(gc, AB_IRQCTL_INT_STATUS, im); in tb10x_irq_set_type()
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/ |
| D | mpc837x_rdb.c | 23 void __iomem *im; in mpc837x_rdb_sd_cfg() local 25 im = ioremap(get_immrbase(), 0x1000); in mpc837x_rdb_sd_cfg() 26 if (!im) { in mpc837x_rdb_sd_cfg() 35 clrsetbits_be32(im + MPC83XX_SICRL_OFFS, MPC837X_SICRL_USBB_MASK, in mpc837x_rdb_sd_cfg() 37 clrsetbits_be32(im + MPC83XX_SICRH_OFFS, MPC837X_SICRH_SPI_MASK, in mpc837x_rdb_sd_cfg() 39 iounmap(im); in mpc837x_rdb_sd_cfg()
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/83xx/ |
| D | mpc837x_rdb.c | 23 void __iomem *im; in mpc837x_rdb_sd_cfg() local 25 im = ioremap(get_immrbase(), 0x1000); in mpc837x_rdb_sd_cfg() 26 if (!im) { in mpc837x_rdb_sd_cfg() 35 clrsetbits_be32(im + MPC83XX_SICRL_OFFS, MPC837X_SICRL_USBB_MASK, in mpc837x_rdb_sd_cfg() 37 clrsetbits_be32(im + MPC83XX_SICRH_OFFS, MPC837X_SICRH_SPI_MASK, in mpc837x_rdb_sd_cfg() 39 iounmap(im); in mpc837x_rdb_sd_cfg()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| D | ar9003_calib.c | 892 int i, im, nmeasurement; in ar9003_hw_tx_iq_cal_outlier_detection() local 941 for (im = 0; im < nmeasurement; im++) { in ar9003_hw_tx_iq_cal_outlier_detection() 942 magnitude = coeff->mag_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 943 phase = coeff->phs_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection() 948 if ((im % 2) == 0) in ar9003_hw_tx_iq_cal_outlier_detection() 949 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 953 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 958 caldata->tx_corr_coeff[im][i] = in ar9003_hw_tx_iq_cal_outlier_detection() 1008 int im, ix, iy; in __ar955x_tx_iq_cal_sort() local 1010 for (im = 0; im < nmeasurement; im++) { in __ar955x_tx_iq_cal_sort() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/lantiq/ |
| D | irq.c | 80 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local 88 ltq_icu_w32(vpe, im, in ltq_disable_irq() 89 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq() 98 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local 106 ltq_icu_w32(vpe, im, in ltq_mask_and_ack_irq() 107 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_mask_and_ack_irq() 109 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_mask_and_ack_irq() 117 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_ack_irq() local 125 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_ack_irq() 133 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_enable_irq() local [all …]
|
| /kernel/linux/linux-6.6/arch/mips/lantiq/ |
| D | irq.c | 81 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local 89 ltq_icu_w32(vpe, im, in ltq_disable_irq() 90 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq() 99 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local 107 ltq_icu_w32(vpe, im, in ltq_mask_and_ack_irq() 108 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_mask_and_ack_irq() 110 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_mask_and_ack_irq() 118 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_ack_irq() local 126 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_ack_irq() 134 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_enable_irq() local [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/versatile/ |
| D | clk-impd1.c | 3 * Clock driver for the ARM Integrator/IM-PD1 board 23 * There are two VCO's on the IM-PD1 75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn() 96 dev_err(dev, "error setting up IM-PD1 ICST clock\n"); in integrator_impd1_clk_spawn() 122 { .compatible = "arm,im-pd1-syscon", }, 137 MODULE_DESCRIPTION("Arm IM-PD1 module clock driver");
|
| /kernel/linux/linux-5.10/drivers/clk/versatile/ |
| D | clk-impd1.c | 3 * Clock driver for the ARM Integrator/IM-PD1 board 23 * There are two VCO's on the IM-PD1 75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn() 96 dev_err(dev, "error setting up IM-PD1 ICST clock\n"); in integrator_impd1_clk_spawn() 122 { .compatible = "arm,im-pd1-syscon", }, 137 MODULE_DESCRIPTION("Arm IM-PD1 module clock driver");
|