/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | arpt_mangle.c | 18 int pln, hln; in target() local 25 pln = arp->ar_pln; in target() 27 /* We assume that pln and hln were checked in the match */ in target() 36 if (ARPT_MANGLE_ADDR_LEN_MAX < pln || in target() 37 (arpptr + pln > skb_tail_pointer(skb))) in target() 39 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target() 41 arpptr += pln; in target() 50 if (ARPT_MANGLE_ADDR_LEN_MAX < pln || in target() 51 (arpptr + pln > skb_tail_pointer(skb))) in target() 53 memcpy(arpptr, &mangle->u_t.tgt_ip, pln); in target() [all...] |
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | arpt_mangle.c | 18 int pln, hln; in target() local 25 pln = arp->ar_pln; in target() 27 /* We assume that pln and hln were checked in the match */ in target() 36 if (ARPT_MANGLE_ADDR_LEN_MAX < pln || in target() 37 (arpptr + pln > skb_tail_pointer(skb))) in target() 39 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target() 41 arpptr += pln; in target() 50 if (ARPT_MANGLE_ADDR_LEN_MAX < pln || in target() 51 (arpptr + pln > skb_tail_pointer(skb))) in target() 53 memcpy(arpptr, &mangle->u_t.tgt_ip, pln); in target() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 392 struct csio_lnode *pln = ln->pln; in csio_vport_set_state() local 396 csio_lnode_state_to_str(pln, state); in csio_vport_set_state() 402 if (!(pln->flags & CSIO_LNF_NPIVSUPP)) { in csio_vport_set_state() 419 struct csio_lnode *pln; in csio_fcoe_alloc_vnp() local 435 pln = ln->pln; in csio_fcoe_alloc_vnp() 436 ln->fcf_flowid = pln->fcf_flowid; in csio_fcoe_alloc_vnp() 437 ln->portid = pln->portid; in csio_fcoe_alloc_vnp() 440 pln in csio_fcoe_alloc_vnp() 555 struct csio_lnode *pln = shost_priv(shost); csio_vport_create() local [all...] |
H A D | csio_lnode.h | 177 struct csio_lnode *pln; /* Parent lnode of child member 206 #define csio_parent_lnode(ln) ((ln)->pln) 212 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) 213 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0)
|
H A D | csio_lnode.c | 1994 struct csio_lnode *pln; in csio_ln_init() local 2027 pln = csio_parent_lnode(ln); in csio_ln_init() 2028 kref_get(&pln->fcfinfo->kref); in csio_ln_init() 2029 ln->fcfinfo = pln->fcfinfo; in csio_ln_init() 2056 struct csio_lnode *pln; in csio_ln_exit() local 2060 pln = csio_parent_lnode(ln); in csio_ln_exit() 2061 kref_put(&pln->fcfinfo->kref, csio_free_fcfinfo); in csio_ln_exit() 2076 struct csio_lnode *pln) in csio_lnode_init() 2084 if (pln) in csio_lnode_init() 2085 ln->pln in csio_lnode_init() 2075 csio_lnode_init(struct csio_lnode *ln, struct csio_hw *hw, struct csio_lnode *pln) csio_lnode_init() argument [all...] |
H A D | csio_init.c | 585 * @pln: Parent lnode if any. 594 bool probe, struct csio_lnode *pln) in csio_shost_init() 641 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init() 593 csio_shost_init(struct csio_hw *hw, struct device *dev, bool probe, struct csio_lnode *pln) csio_shost_init() argument
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 392 struct csio_lnode *pln = ln->pln; in csio_vport_set_state() local 396 csio_lnode_state_to_str(pln, state); in csio_vport_set_state() 402 if (!(pln->flags & CSIO_LNF_NPIVSUPP)) { in csio_vport_set_state() 419 struct csio_lnode *pln; in csio_fcoe_alloc_vnp() local 435 pln = ln->pln; in csio_fcoe_alloc_vnp() 436 ln->fcf_flowid = pln->fcf_flowid; in csio_fcoe_alloc_vnp() 437 ln->portid = pln->portid; in csio_fcoe_alloc_vnp() 440 pln in csio_fcoe_alloc_vnp() 555 struct csio_lnode *pln = shost_priv(shost); csio_vport_create() local [all...] |
H A D | csio_lnode.h | 164 struct csio_lnode *pln; /* Parent lnode of child member 193 #define csio_parent_lnode(ln) ((ln)->pln) 199 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) 200 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0)
|
H A D | csio_lnode.c | 1994 struct csio_lnode *pln; in csio_ln_init() local 2027 pln = csio_parent_lnode(ln); in csio_ln_init() 2028 kref_get(&pln->fcfinfo->kref); in csio_ln_init() 2029 ln->fcfinfo = pln->fcfinfo; in csio_ln_init() 2056 struct csio_lnode *pln; in csio_ln_exit() local 2060 pln = csio_parent_lnode(ln); in csio_ln_exit() 2061 kref_put(&pln->fcfinfo->kref, csio_free_fcfinfo); in csio_ln_exit() 2076 struct csio_lnode *pln) in csio_lnode_init() 2084 if (pln) in csio_lnode_init() 2085 ln->pln in csio_lnode_init() 2075 csio_lnode_init(struct csio_lnode *ln, struct csio_hw *hw, struct csio_lnode *pln) csio_lnode_init() argument [all...] |
H A D | csio_init.c | 584 * @pln: Parent lnode if any. 593 bool probe, struct csio_lnode *pln) in csio_shost_init() 640 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init() 592 csio_shost_init(struct csio_hw *hw, struct device *dev, bool probe, struct csio_lnode *pln) csio_shost_init() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1580 struct dc_plane_state *pln = res_ctx->pipe_ctx[i].plane_state; in dcn20_populate_dml_pipes_from_context() local 1583 pipes[pipe_cnt].pipe.src.immediate_flip = pln->flip_immediate; in dcn20_populate_dml_pipes_from_context() 1584 pipes[pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe && res_ctx->pipe_ctx[i].bottom_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context() 1585 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context() 1589 if (pln->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in dcn20_populate_dml_pipes_from_context() 1590 pln->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in dcn20_populate_dml_pipes_from_context() 1595 pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90 in dcn20_populate_dml_pipes_from_context() 1596 || pln->rotation == ROTATION_ANGLE_270 ? dm_vert : dm_horz; in dcn20_populate_dml_pipes_from_context() 1597 switch (pln->rotation) { in dcn20_populate_dml_pipes_from_context() 1622 pipes[pipe_cnt].pipe.src.viewport_width_max = pln in dcn20_populate_dml_pipes_from_context() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 2267 struct dc_plane_state *pln = res_ctx->pipe_ctx[i].plane_state; local 2270 pipes[pipe_cnt].pipe.src.immediate_flip = pln->flip_immediate; 2271 pipes[pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe && res_ctx->pipe_ctx[i].bottom_pipe->plane_state == pln) 2272 || (res_ctx->pipe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln) 2276 if (pln->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || 2277 pln->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { 2282 pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90 2283 || pln->rotation == ROTATION_ANGLE_270 ? dm_vert : dm_horz; 2290 pipes[pipe_cnt].pipe.src.surface_width_y = pln->plane_size.surface_size.width; 2291 pipes[pipe_cnt].pipe.src.surface_height_y = pln [all...] |