| /linux/net/netfilter/ |
| H A D | x_tables.c | 78 static struct xt_af *xt __read_mostly; 93 mutex_lock(&xt[af].mutex); in xt_register_target() 94 list_add(&target->list, &xt[af].target); in xt_register_target() 95 mutex_unlock(&xt[af].mutex); in xt_register_target() 105 mutex_lock(&xt[af].mutex); in xt_unregister_target() 107 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 143 mutex_lock(&xt[af].mutex); in xt_register_match() 144 list_add(&match->list, &xt[af].match); in xt_register_match() 145 mutex_unlock(&xt[af].mutex); in xt_register_match() 155 mutex_lock(&xt[af].mutex); in xt_unregister_match() [all …]
|
| H A D | nft_compat.c | 63 const void *xt, const void *xt_info) in nft_compat_set_par() argument 68 par->target = xt; in nft_compat_set_par() 80 struct xt_action_param xt; in nft_target_eval_xt() local 83 nft_compat_set_par(&xt, pkt, target, info); in nft_target_eval_xt() 85 ret = target->target(skb, &xt); in nft_target_eval_xt() 87 if (xt.hotdrop) in nft_target_eval_xt() 107 struct xt_action_param xt; in nft_target_eval_bridge() local 110 nft_compat_set_par(&xt, pkt, target, info); in nft_target_eval_bridge() 112 ret = target->target(skb, &xt); in nft_target_eval_bridge() 114 if (xt.hotdrop) in nft_target_eval_bridge() [all …]
|
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_vout_vrfb.c | 142 vout->vrfb_dma_tx.xt = kzalloc(xt_size, GFP_KERNEL); in omap_vout_setup_vrfb_bufs() 143 if (!vout->vrfb_dma_tx.xt) { in omap_vout_setup_vrfb_bufs() 187 kfree(vout->vrfb_dma_tx.xt); in omap_vout_release_vrfb() 236 struct dma_interleaved_template *xt = vout->vrfb_dma_tx.xt; in omap_vout_prepare_vrfb() local 256 xt->src_start = buf_phy_addr; in omap_vout_prepare_vrfb() 257 xt->dst_start = vout->vrfb_context[vb->index].paddr[0]; in omap_vout_prepare_vrfb() 259 xt->numf = vout->pix.height; in omap_vout_prepare_vrfb() 260 xt->frame_size = 1; in omap_vout_prepare_vrfb() 261 xt->sgl[0].size = vout->pix.width * vout->bpp; in omap_vout_prepare_vrfb() 262 xt->sgl[0].icg = dst_icg; in omap_vout_prepare_vrfb() [all …]
|
| /linux/arch/xtensa/kernel/ |
| H A D | vmlinux.lds.S | 382 .xt.prop 0 : { KEEP(*(.xt.prop .xt.prop.* .gnu.linkonce.prop.*)) } 383 .xt.insn 0 : { KEEP(*(.xt.insn .xt.insn.* .gnu.linkonce.x*)) } 384 .xt.lit 0 : { KEEP(*(.xt.lit .xt.lit.* .gnu.linkonce.p*)) }
|
| /linux/drivers/dma/ |
| H A D | imx-dma.c | 936 struct dma_chan *chan, struct dma_interleaved_template *xt, in imxdma_prep_dma_interleaved() argument 945 imxdmac->channel, (unsigned long long)xt->src_start, in imxdma_prep_dma_interleaved() 946 (unsigned long long) xt->dst_start, in imxdma_prep_dma_interleaved() 947 str_true_false(xt->src_sgl), str_true_false(xt->dst_sgl), in imxdma_prep_dma_interleaved() 948 xt->numf, xt->frame_size); in imxdma_prep_dma_interleaved() 954 if (xt->frame_size != 1 || xt->numf <= 0 || xt->dir != DMA_MEM_TO_MEM) in imxdma_prep_dma_interleaved() 960 desc->src = xt->src_start; in imxdma_prep_dma_interleaved() 961 desc->dest = xt->dst_start; in imxdma_prep_dma_interleaved() 962 desc->x = xt->sgl[0].size; in imxdma_prep_dma_interleaved() 963 desc->y = xt->numf; in imxdma_prep_dma_interleaved() [all …]
|
| H A D | at_xdmac.c | 982 struct dma_interleaved_template *xt, in at_xdmac_interleaved_queue_desc() argument 1022 if (xt->src_inc) { in at_xdmac_interleaved_queue_desc() 1023 if (xt->src_sgl) in at_xdmac_interleaved_queue_desc() 1029 if (xt->dst_inc) { in at_xdmac_interleaved_queue_desc() 1030 if (xt->dst_sgl) in at_xdmac_interleaved_queue_desc() 1050 desc->lld.mbr_sus = dmaengine_get_src_icg(xt, chunk); in at_xdmac_interleaved_queue_desc() 1051 desc->lld.mbr_dus = dmaengine_get_dst_icg(xt, chunk); in at_xdmac_interleaved_queue_desc() 1073 struct dma_interleaved_template *xt, in at_xdmac_prep_interleaved() argument 1083 if (!xt || !xt->numf || (xt->dir != DMA_MEM_TO_MEM)) in at_xdmac_prep_interleaved() 1090 if ((xt->numf > 1) && (xt->frame_size > 1)) in at_xdmac_prep_interleaved() [all …]
|
| H A D | at_hdmac.c | 868 struct dma_interleaved_template *xt, in atc_prep_dma_interleaved() argument 884 if (unlikely(!xt || xt->numf != 1 || !xt->frame_size)) in atc_prep_dma_interleaved() 887 first = xt->sgl; in atc_prep_dma_interleaved() 891 __func__, &xt->src_start, &xt->dst_start, xt->numf, in atc_prep_dma_interleaved() 892 xt->frame_size, flags); in atc_prep_dma_interleaved() 900 for (i = 0; i < xt->frame_size; i++) { in atc_prep_dma_interleaved() 901 struct data_chunk *chunk = xt->sgl + i; in atc_prep_dma_interleaved() 903 if ((chunk->size != xt->sgl->size) || in atc_prep_dma_interleaved() 904 (dmaengine_get_dst_icg(xt, chunk) != dmaengine_get_dst_icg(xt, first)) || in atc_prep_dma_interleaved() 905 (dmaengine_get_src_icg(xt, chunk) != dmaengine_get_src_icg(xt, first))) { in atc_prep_dma_interleaved() [all …]
|
| /linux/include/linux/ |
| H A D | dmaengine.h | 942 struct dma_chan *chan, struct dma_interleaved_template *xt, 1051 struct dma_chan *chan, struct dma_interleaved_template *xt, in dmaengine_prep_interleaved_dma() argument 1060 return chan->device->device_prep_interleaved_dma(chan, xt, flags); in dmaengine_prep_interleaved_dma() 1349 static inline size_t dmaengine_get_dst_icg(struct dma_interleaved_template *xt, in dmaengine_get_dst_icg() argument 1352 return dmaengine_get_icg(xt->dst_inc, xt->dst_sgl, in dmaengine_get_dst_icg() 1356 static inline size_t dmaengine_get_src_icg(struct dma_interleaved_template *xt, in dmaengine_get_src_icg() argument 1359 return dmaengine_get_icg(xt->src_inc, xt->src_sgl, in dmaengine_get_src_icg()
|
| /linux/drivers/gpu/drm/xlnx/ |
| H A D | zynqmp_disp.c | 102 struct dma_interleaved_template xt; member 1127 dma->xt.numf = height; in zynqmp_disp_layer_update() 1130 dma->xt.src_start = dma_addr; in zynqmp_disp_layer_update() 1131 dma->xt.frame_size = 1; in zynqmp_disp_layer_update() 1132 dma->xt.dir = DMA_MEM_TO_DEV; in zynqmp_disp_layer_update() 1133 dma->xt.src_sgl = true; in zynqmp_disp_layer_update() 1134 dma->xt.dst_sgl = false; in zynqmp_disp_layer_update() 1136 desc = dmaengine_prep_interleaved_dma(dma->chan, &dma->xt, in zynqmp_disp_layer_update()
|
| /linux/drivers/dma/ti/ |
| H A D | edma.c | 1223 struct dma_interleaved_template *xt, in edma_prep_dma_interleaved() argument 1234 if (is_slave_direction(xt->dir)) in edma_prep_dma_interleaved() 1237 if (xt->frame_size != 1 || xt->numf == 0) in edma_prep_dma_interleaved() 1240 if (xt->sgl[0].size > SZ_64K || xt->numf > SZ_64K) in edma_prep_dma_interleaved() 1243 src_icg = dmaengine_get_src_icg(xt, &xt->sgl[0]); in edma_prep_dma_interleaved() 1245 src_bidx = src_icg + xt->sgl[0].size; in edma_prep_dma_interleaved() 1246 } else if (xt->src_inc) { in edma_prep_dma_interleaved() 1247 src_bidx = xt->sgl[0].size; in edma_prep_dma_interleaved() 1254 dst_icg = dmaengine_get_dst_icg(xt, &xt->sgl[0]); in edma_prep_dma_interleaved() 1256 dst_bidx = dst_icg + xt->sgl[0].size; in edma_prep_dma_interleaved() [all …]
|
| /linux/drivers/dma/xilinx/ |
| H A D | xilinx_dma.c | 2044 struct dma_interleaved_template *xt, in xilinx_vdma_dma_prep_interleaved() argument 2052 if (!is_slave_direction(xt->dir)) in xilinx_vdma_dma_prep_interleaved() 2055 if (!xt->numf || !xt->sgl[0].size) in xilinx_vdma_dma_prep_interleaved() 2058 if (xt->numf & ~XILINX_DMA_VSIZE_MASK || in xilinx_vdma_dma_prep_interleaved() 2059 xt->sgl[0].size & ~XILINX_DMA_HSIZE_MASK) in xilinx_vdma_dma_prep_interleaved() 2062 if (xt->frame_size != 1) in xilinx_vdma_dma_prep_interleaved() 2081 hw->vsize = xt->numf; in xilinx_vdma_dma_prep_interleaved() 2082 hw->hsize = xt->sgl[0].size; in xilinx_vdma_dma_prep_interleaved() 2083 hw->stride = (xt->sgl[0].icg + xt->sgl[0].size) << in xilinx_vdma_dma_prep_interleaved() 2088 if (xt->dir != DMA_MEM_TO_DEV) { in xilinx_vdma_dma_prep_interleaved() [all …]
|
| /linux/drivers/media/platform/xilinx/ |
| H A D | xilinx-dma.h | 99 struct dma_interleaved_template xt; member
|
| /linux/Documentation/sphinx/ |
| H A D | kerneldoc-preamble.sty | 48 \nobreak\hb@xt@\@pnumwidth{\hss #2%
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 3792 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire() argument 3808 ua->aalgos = xt->aalgos; in build_acquire() 3809 ua->ealgos = xt->ealgos; in build_acquire() 3810 ua->calgos = xt->calgos; in build_acquire() 3835 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire() argument 3846 err = build_acquire(skb, x, xt, xp); in xfrm_send_acquire()
|
| /linux/kernel/time/ |
| H A D | timekeeping.c | 1436 struct timespec64 ts_delta, xt; in do_settimeofday64() local 1446 xt = tk_xtime(tks); in do_settimeofday64() 1447 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64()
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | client.rst | 119 struct dma_chan *chan, struct dma_interleaved_template *xt,
|
| /linux/fs/ocfs2/ |
| H A D | alloc.c | 307 struct ocfs2_xattr_tree_root *xt = &xb->xb_attrs.xb_root; in ocfs2_xattr_tree_set_last_eb_blk() local 309 xt->xt_last_eb_blk = cpu_to_le64(blkno); in ocfs2_xattr_tree_set_last_eb_blk() 315 struct ocfs2_xattr_tree_root *xt = &xb->xb_attrs.xb_root; in ocfs2_xattr_tree_get_last_eb_blk() local 317 return le64_to_cpu(xt->xt_last_eb_blk); in ocfs2_xattr_tree_get_last_eb_blk()
|