Home
last modified time | relevance | path

Searched full:im (Results 1 – 25 of 80) sorted by relevance

1234

/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.c159 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im,
161 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im);
170 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put() argument
172 if (refcount_dec_and_test(&im->refcnt)) { in ip_ma_put()
173 in_dev_put(im->interface); in ip_ma_put()
174 kfree_rcu(im, rcu); in ip_ma_put()
205 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer() argument
207 spin_lock_bh(&im->lock); in igmp_stop_timer()
208 if (timer_delete(&im->timer)) in igmp_stop_timer()
209 refcount_dec(&im->refcnt); in igmp_stop_timer()
[all …]
H A Digmp_internal.h15 const struct ip_mc_list *im,
/linux/kernel/bpf/
H A Dtrampoline.c466 static void bpf_tramp_image_free(struct bpf_tramp_image *im) in bpf_tramp_image_free() argument
468 bpf_image_ksym_del(&im->ksym); in bpf_tramp_image_free()
469 arch_free_bpf_trampoline(im->image, im->size); in bpf_tramp_image_free()
470 bpf_jit_uncharge_modmem(im->size); in bpf_tramp_image_free()
471 percpu_ref_exit(&im->pcref); in bpf_tramp_image_free()
472 kfree_rcu(im, rcu); in bpf_tramp_image_free()
477 struct bpf_tramp_image *im; in __bpf_tramp_image_put_deferred() local
479 im = container_of(work, struct bpf_tramp_image, work); in __bpf_tramp_image_put_deferred()
480 bpf_tramp_image_free(im); in __bpf_tramp_image_put_deferred()
486 struct bpf_tramp_image *im; in __bpf_tramp_image_put_rcu() local
[all …]
/linux/fs/nfs/
H A Dnfs4idmap.c499 struct idmap_msg *im, in nfs_idmap_prepare_message() argument
505 im->im_type = IDMAP_TYPE_GROUP; in nfs_idmap_prepare_message()
510 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message()
513 im->im_conv = IDMAP_CONV_NAMETOID; in nfs_idmap_prepare_message()
514 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
518 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message()
521 im->im_conv = IDMAP_CONV_IDTONAME; in nfs_idmap_prepare_message()
522 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message()
532 msg->data = im; in nfs_idmap_prepare_message()
572 struct idmap_msg *im; in nfs_idmap_legacy_upcall() local
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad_im.c12 * 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 …]
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/net/ipv6/
H A Danycast.c541 struct ifacaddr6 *im = NULL; in ac6_get_first() local
549 im = rcu_dereference(idev->ac_list); in ac6_get_first()
550 if (im) in ac6_get_first()
553 return im; in ac6_get_first()
556 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument
561 im = rcu_dereference(im->aca_next); in ac6_get_next()
562 while (!im) { in ac6_get_next()
569 im = rcu_dereference(idev->ac_list); in ac6_get_next()
571 return im; in ac6_get_next()
576 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local
[all …]
H A Dmcast.c731 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()
770 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument
773 struct in6_addr *pmca = &im->mca_addr; in mld_del_delrec()
[all …]
/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/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/drivers/irqchip/
H A Dirq-tb10x.c44 uint32_t mod, pol, im = data->mask; in tb10x_irq_set_type() local
48 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
49 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type()
53 pol ^= im; in tb10x_irq_set_type()
56 mod ^= im; in tb10x_irq_set_type()
62 mod ^= im; in tb10x_irq_set_type()
63 pol ^= im; in tb10x_irq_set_type()
77 ab_irqctl_writereg(gc, AB_IRQCTL_INT_STATUS, im); in tb10x_irq_set_type()
/linux/arch/arm/boot/dts/arm/
H A Dintegratorap-im-pd1.dts4 * with the IM-PD1 example logical module mounted.
10 model = "ARM Integrator/AP with IM-PD1";
19 /* 1 MB of designated video RAM on the IM-PD1 */
29 compatible = "arm,im-pd1-syscon", "syscon";
42 clock-output-names = "IM-PD1-VCO1";
52 clock-output-names = "IM-PD1-VCO2";
85 /* Push buttons on the IM-PD1 */
/linux/Documentation/devicetree/bindings/display/
H A Dmulti-inno,mi0283qt.txt11 the panel interface mode (IM[3:0] pins):
12 - present: IM=x110 4-wire 8-bit data serial interface
13 - absent: IM=x101 3-wire 9-bit data serial interface
/linux/drivers/tty/serial/
H A Damba-pl011.c266 unsigned int im; /* interrupt mask */ member
697 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
698 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
707 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
708 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
747 uap->im &= ~UART011_TXIM; in pl011_dma_tx_start()
748 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_start()
851 uap->im &= ~UART011_RXIM; in pl011_dma_rx_trigger_dma()
852 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_rx_trigger_dma()
974 uap->im |= UART011_RXIM; in pl011_dma_rx_irq()
[all …]
/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/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()
307 return ret < 0 ? ret : im; in sprd_i2c_xfer()
/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/arch/arm/mach-versatile/
H A DKconfig52 bool "Include support for Integrator/IM-PD1"
60 The IM-PD1 is an add-on logic module for the Integrator which
62 The IM-PD1 can be found on the Integrator/PP2 platform.
/linux/arch/arc/mm/
H A Dcache.c367 * flush-n-inv is achieved by INV cmd but with IM=1 in __before_dc_op()
389 * combined Flush-n-invalidate uses DC_CTRL.IM = 1 set above in __before_dc_op()
566 * - b'001 is Invalidate if CTRL.IM == 0 in slc_op_rgn()
567 * - b'001 is Flush-n-Invalidate if CTRL.IM == 1 in slc_op_rgn()
571 /* Don't rely on default value of IM bit */ in slc_op_rgn()
573 ctrl &= ~SLC_CTRL_IM; /* clear IM: Disable flush before Inv */ in slc_op_rgn()
630 /* Don't rely on default value of IM bit */ in slc_op_line()
632 ctrl &= ~SLC_CTRL_IM; /* clear IM: Disable flush before Inv */ in slc_op_line()
668 ctrl &= ~SLC_CTRL_IM; /* clear IM: Disable flush before Inv */ in slc_entire_op()
/linux/Documentation/admin-guide/media/
H A Dgspca-cardlist.rst48 ov519 041e:4052 Creative Live! VISTA IM
49 zc3xx 041e:4053 Creative Live!Cam Video IM
55 ov519 041e:4067 Creative Live! Cam Video IM (VF0350)
90 zc3xx 046d:08a0 Logitech QC IM
91 zc3xx 046d:08a1 Logitech QC IM 0x08A1 +sound
105 zc3xx 046d:08d9 Logitech QuickCam IM/Connect
/linux/Documentation/hwmon/
H A Dltc2947.rst61 curr1_input IP-IM Sense current (mA)
69 curr1_label Channel label (IP-IM)
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c722 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_image, in __arch_prepare_bpf_trampoline() argument
920 PPC_LI_ADDR(_R3, (unsigned long)im); in __arch_prepare_bpf_trampoline()
977 im->ip_after_call = &((u32 *)ro_image)[ctx->idx]; in __arch_prepare_bpf_trampoline()
1001 im->ip_epilogue = &((u32 *)ro_image)[ctx->idx]; in __arch_prepare_bpf_trampoline()
1002 PPC_LI_ADDR(_R3, im); in __arch_prepare_bpf_trampoline()
1061 struct bpf_tramp_image im; in arch_bpf_trampoline_size() local
1064 ret = __arch_prepare_bpf_trampoline(&im, NULL, NULL, NULL, m, flags, tlinks, func_addr); in arch_bpf_trampoline_size()
1068 int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *image, void *image_end, in arch_prepare_bpf_trampoline() argument
1085 ret = __arch_prepare_bpf_trampoline(im, rw_image, rw_image + size, image, m, in arch_prepare_bpf_trampoline()
1189 * an unconditional branch instruction at im->ip_after_call in bpf_arch_text_poke()
/linux/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c491 static void ipu_image_from_q_data(struct ipu_image *im, in ipu_image_from_q_data() argument
496 im->pix = *fmt; in ipu_image_from_q_data()
498 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
500 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
501 im->rect = q_data->rect; in ipu_image_from_q_data()

1234