Home
last modified time | relevance | path

Searched refs:pln (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/net/ipv4/netfilter/
Darpt_mangle.c18 int pln, hln; in target() local
25 pln = arp->ar_pln; 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()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_attr.c392 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->fcf_flowid, pln->vnp_flowid, 0, in csio_fcoe_alloc_vnp()
555 struct csio_lnode *pln = shost_priv(shost); in csio_vport_create() local
557 struct csio_hw *hw = csio_lnode_to_hw(pln); in csio_vport_create()
[all …]
Dcsio_lnode.h177 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)
Dcsio_lnode.c1992 struct csio_lnode *rln, *pln; in csio_ln_init() local
2026 pln = csio_parent_lnode(ln); in csio_ln_init()
2027 kref_get(&pln->fcfinfo->kref); in csio_ln_init()
2028 ln->fcfinfo = pln->fcfinfo; in csio_ln_init()
2055 struct csio_lnode *pln; in csio_ln_exit() local
2059 pln = csio_parent_lnode(ln); in csio_ln_exit()
2060 kref_put(&pln->fcfinfo->kref, csio_free_fcfinfo); in csio_ln_exit()
2076 struct csio_lnode *pln) in csio_lnode_init() argument
2084 if (pln) in csio_lnode_init()
2085 ln->pln = pln; in csio_lnode_init()
[all …]
Dcsio_init.c597 bool probe, struct csio_lnode *pln) in csio_shost_init() argument
644 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1953 struct dc_plane_state *pln = res_ctx->pipe_ctx[i].plane_state; in dcn20_populate_dml_pipes_from_context() local
1956 pipes[pipe_cnt].pipe.src.immediate_flip = pln->flip_immediate; in dcn20_populate_dml_pipes_from_context()
1958 && res_ctx->pipe_ctx[i].bottom_pipe->plane_state == pln) in dcn20_populate_dml_pipes_from_context()
1960 && res_ctx->pipe_ctx[i].top_pipe->plane_state == pln); in dcn20_populate_dml_pipes_from_context()
1961 pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90 in dcn20_populate_dml_pipes_from_context()
1962 || pln->rotation == ROTATION_ANGLE_270 ? dm_vert : dm_horz; in dcn20_populate_dml_pipes_from_context()
1969 if (pln->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { in dcn20_populate_dml_pipes_from_context()
1970 pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; in dcn20_populate_dml_pipes_from_context()
1971 pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch; in dcn20_populate_dml_pipes_from_context()
1972 pipes[pipe_cnt].pipe.src.meta_pitch = pln->dcc.meta_pitch; in dcn20_populate_dml_pipes_from_context()
[all …]