Home
last modified time | relevance | path

Searched refs:im (Results 1 – 25 of 48) sorted by relevance

12

/linux/net/sched/
H A Dem_ipt.c42 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 …]
/linux/net/ipv4/
H A Digmp.c156 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 …]
/linux/kernel/bpf/
H A Dtrampoline.c254 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 arch_free_bpf_trampoline(im->image, im->size); in bpf_tramp_image_free()
258 bpf_jit_uncharge_modmem(im->size); 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
[all …]
/linux/arch/powerpc/platforms/83xx/
H A Dmpc837x_rdb.c23 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()
/linux/fs/nfs/
H A Dnfs4idmap.c512 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 …]
/linux/net/ipv6/
H A Danycast.c488 struct ifacaddr6 *im = NULL; in ac6_get_first() local
496 im = rcu_dereference(idev->ac_list); in ac6_get_first()
497 if (im) in ac6_get_first()
500 return im; in ac6_get_first()
503 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument
508 im = rcu_dereference(im->aca_next); in ac6_get_next()
509 while (!im) { in ac6_get_next()
516 im = rcu_dereference(idev->ac_list); in ac6_get_next()
518 return im; in ac6_get_next()
523 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local
[all …]
H A Dmcast.c733 static void mld_add_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_add_delrec() argument
747 pmc->idev = im->idev; in mld_add_delrec()
749 pmc->mca_addr = im->mca_addr; in mld_add_delrec()
751 pmc->mca_sfmode = im->mca_sfmode; in mld_add_delrec()
756 mc_dereference(im->mca_tomb, idev)); in mld_add_delrec()
758 mc_dereference(im->mca_sources, idev)); in mld_add_delrec()
759 RCU_INIT_POINTER(im->mca_tomb, NULL); in mld_add_delrec()
760 RCU_INIT_POINTER(im->mca_sources, NULL); in mld_add_delrec()
771 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument
774 struct in6_addr *pmca = &im->mca_addr; in mld_del_delrec()
[all …]
/linux/fs/f2fs/
H A Dcheckpoint.c521 struct inode_management *im = &sbi->im[type]; in __add_ino_entry() local
526 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry()
537 spin_lock(&im->ino_lock); in __add_ino_entry()
538 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry()
541 spin_unlock(&im->ino_lock); in __add_ino_entry()
546 if (unlikely(radix_tree_insert(&im->ino_root, ino, e))) in __add_ino_entry()
552 list_add_tail(&e->list, &im->ino_list); in __add_ino_entry()
554 im->ino_num++; in __add_ino_entry()
560 spin_unlock(&im->ino_lock); in __add_ino_entry()
569 struct inode_management *im = &sbi->im[type]; in __remove_ino_entry() local
[all …]
/linux/drivers/irqchip/
H A Dirq-tb10x.c44 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()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c892 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 …]
/linux/drivers/scsi/bfa/
H A Dbfad_im.c432 (*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()
672 struct bfad_im_s *im = in bfad_aen_im_notify_handler() local
675 struct bfad_s *bfad = im->bfad; in bfad_aen_im_notify_handler()
[all …]
H A Dbfad_im.h107 struct bfad_im_s *im; member
170 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()
176 void bfad_destroy_workq(struct bfad_im_s *im);
/linux/arch/mips/lantiq/
H A Dirq.c81 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 …]
/linux/drivers/tty/serial/
H A Damba-pl011.c259 unsigned int im; /* interrupt mask */ member
687 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
688 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
697 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
698 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
737 uap->im &= ~UART011_TXIM; in pl011_dma_tx_start()
738 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_start()
841 uap->im &= ~UART011_RXIM; in pl011_dma_rx_trigger_dma()
842 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_rx_trigger_dma()
964 uap->im |= UART011_RXIM; in pl011_dma_rx_irq()
[all …]
/linux/arch/arm/mach-ux500/
H A Dpm.c111 u32 it, im; in prcmu_pending_irq() local
116 im = readl(PRCM_ARMITMSK31TO0 + i * 4); in prcmu_pending_irq()
117 if (it & im) in prcmu_pending_irq()
/linux/net/sunrpc/
H A Dsvcauth_unix.c109 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() local
113 auth_domain_put(&im->m_client->h); in ip_map_put()
114 kfree_rcu(im, m_rcu); in ip_map_put()
163 struct ip_map *im = container_of(h, struct ip_map, h); in ip_map_request() local
165 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request()
166 snprintf(text_addr, 20, "%pI4", &im->m_addr.s6_addr32[3]); in ip_map_request()
168 snprintf(text_addr, 40, "%pI6", &im->m_addr); in ip_map_request()
170 qword_add(bpp, blen, im->m_class); in ip_map_request()
264 struct ip_map *im; in ip_map_show() local
272 im = container_of(h, struct ip_map, h); in ip_map_show()
[all …]
/linux/drivers/input/serio/
H A Dhp_sdc.c404 hp_sdc_status_out8(hp_sdc.im | HP_SDC_CMD_SET_IM); in hp_sdc_put()
675 hp_sdc.im &= ~HP_SDC_IM_FH; in hp_sdc_request_timer_irq()
676 hp_sdc.im &= ~HP_SDC_IM_PT; in hp_sdc_request_timer_irq()
677 hp_sdc.im &= ~HP_SDC_IM_TIMERS; in hp_sdc_request_timer_irq()
698 hp_sdc.im &= ~(HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_request_hil_irq()
720 hp_sdc.im &= ~(HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_request_cooked_irq()
740 hp_sdc.im |= HP_SDC_IM_TIMERS; in hp_sdc_release_timer_irq()
741 hp_sdc.im |= HP_SDC_IM_FH; in hp_sdc_release_timer_irq()
742 hp_sdc.im |= HP_SDC_IM_PT; in hp_sdc_release_timer_irq()
762 hp_sdc.im |= (HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_release_hil_irq()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-iop3xx.c357 int im = 0; in iop3xx_i2c_xfer() local
365 for (im = 0; ret == 0 && im != num; im++) { in iop3xx_i2c_xfer()
366 ret = iop3xx_i2c_handle_msg(i2c_adap, &msgs[im]); in iop3xx_i2c_xfer()
374 return im; in iop3xx_i2c_xfer()
H A Di2c-sprd.c290 int im, ret; in sprd_i2c_xfer() local
296 for (im = 0; im < num - 1; im++) { in sprd_i2c_xfer()
297 ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im], 0); in sprd_i2c_xfer()
302 ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im++], 1); in sprd_i2c_xfer()
308 return ret < 0 ? ret : im; in sprd_i2c_xfer()
/linux/drivers/gpio/
H A Dgpio-pch.c231 u32 im, im_pos, val; in pch_irq_type() local
269 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type()
270 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
H A Dgpio-ml-ioh.c235 u32 im; in ioh_irq_type() local
284 im = ioread32(im_reg) & ~(IOH_IM_MASK << (im_pos * 4)); in ioh_irq_type()
285 iowrite32(im | (val << (im_pos * 4)), im_reg); in ioh_irq_type()
/linux/arch/arm/boot/dts/arm/
H A DMakefile4 integratorap-im-pd1.dtb \
/linux/sound/pci/ali5451/
H A Dali5451.c1829 struct snd_ali_image *im = &chip->image; in ali_suspend() local
1838 im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT)); in ali_suspend()
1840 im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP)); in ali_suspend()
1848 im->regs[i] = inl(ALI_REG(chip, i*4)); in ali_suspend()
1854 im->channel_regs[i][j] = inl(ALI_REG(chip, j*4 + 0xe0)); in ali_suspend()
1868 struct snd_ali_image *im = &chip->image; in ali_resume() local
1876 outl(im->channel_regs[i][j], ALI_REG(chip, j*4 + 0xe0)); in ali_resume()
1883 outl(im->regs[i], ALI_REG(chip, i*4)); in ali_resume()
1887 outl(im->regs[ALI_START >> 2], ALI_REG(chip, ALI_START)); in ali_resume()
1889 outl(im->regs[ALI_MISCINT >> 2], ALI_REG(chip, ALI_MISCINT)); in ali_resume()
/linux/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c488 static void ipu_image_from_q_data(struct ipu_image *im, in ipu_image_from_q_data() argument
493 im->pix = *fmt; in ipu_image_from_q_data()
495 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
497 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
498 im->rect = q_data->rect; in ipu_image_from_q_data()
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2567 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, in __arch_prepare_bpf_trampoline() argument
2735 load_imm64(jit, REG_2, (u64)im); in __arch_prepare_bpf_trampoline()
2797 im->ip_after_call = jit->prg_buf + jit->prg; in __arch_prepare_bpf_trampoline()
2804 EMIT6_PCREL_RILC(0xc0040000, 0, (u64)im->ip_epilogue); in __arch_prepare_bpf_trampoline()
2814 im->ip_epilogue = jit->prg_buf + jit->prg; in __arch_prepare_bpf_trampoline()
2823 load_imm64(jit, REG_2, (u64)im); in __arch_prepare_bpf_trampoline()
2868 struct bpf_tramp_image im; in arch_bpf_trampoline_size() local
2874 ret = __arch_prepare_bpf_trampoline(&im, &tjit, m, flags, in arch_bpf_trampoline_size()
2880 int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *image, in arch_prepare_bpf_trampoline() argument
2890 ret = __arch_prepare_bpf_trampoline(im, &tjit, m, flags, in arch_prepare_bpf_trampoline()
[all …]

12