/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | subpage_prot.c | 92 u32 **spm, *spp; in subpage_prot_clear() local 115 spp = spm[(addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_prot_clear() 116 if (!spp) in subpage_prot_clear() 118 spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); in subpage_prot_clear() 125 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear() 195 u32 **spm, *spp; in SYSCALL_DEFINE3() local 254 spp = *spm; in SYSCALL_DEFINE3() 255 if (!spp) { in SYSCALL_DEFINE3() 256 spp = (u32 *)get_zeroed_page(GFP_KERNEL); in SYSCALL_DEFINE3() 257 if (!spp) in SYSCALL_DEFINE3() [all...] |
H A D | hash_utils.c | 1221 u32 spp = 0; in subpage_protection() local 1240 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; in subpage_protection() 1243 spp >>= 30 - 2 * ((ea >> 12) & 0xf); in subpage_protection() 1251 spp = ((spp & 2) ? _PAGE_RWX : 0) | ((spp & 1) ? _PAGE_WRITE : 0); in subpage_protection() 1252 return spp; in subpage_protection() 1478 int spp = subpage_protection(mm, ea); in hash_page_mm() local 1479 if (access & spp) in hash_page_mm() 1483 flags, ssize, spp); in hash_page_mm() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | subpage_prot.c | 94 u32 **spm, *spp; in subpage_prot_clear() local 117 spp = spm[(addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_prot_clear() 118 if (!spp) in subpage_prot_clear() 120 spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); in subpage_prot_clear() 127 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear() 189 u32 **spm, *spp; in SYSCALL_DEFINE3() local 248 spp = *spm; in SYSCALL_DEFINE3() 249 if (!spp) { in SYSCALL_DEFINE3() 250 spp = (u32 *)get_zeroed_page(GFP_KERNEL); in SYSCALL_DEFINE3() 251 if (!spp) in SYSCALL_DEFINE3() [all...] |
H A D | hash_utils.c | 1376 u32 spp = 0; in subpage_protection() local 1395 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; in subpage_protection() 1398 spp >>= 30 - 2 * ((ea >> 12) & 0xf); in subpage_protection() 1406 spp = ((spp & 2) ? _PAGE_RWX : 0) | ((spp & 1) ? _PAGE_WRITE : 0); in subpage_protection() 1407 return spp; in subpage_protection() 1634 int spp = subpage_protection(mm, ea); in hash_page_mm() local 1635 if (access & spp) in hash_page_mm() 1639 flags, ssize, spp); in hash_page_mm() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_rport.c | 1121 struct fc_els_spp spp; in fc_rport_prli_resp() member 1162 resp_code = (pp->spp.spp_flags & FC_SPP_RESP_MASK); in fc_rport_prli_resp() 1164 pp->spp.spp_flags, pp->spp.spp_type); in fc_rport_prli_resp() 1166 rdata->spp_type = pp->spp.spp_type; in fc_rport_prli_resp() 1174 if (pp->prli.prli_spp_len < sizeof(pp->spp)) { in fc_rport_prli_resp() 1179 fcp_parm = ntohl(pp->spp.spp_params); in fc_rport_prli_resp() 1193 &pp->spp, &temp_spp); in fc_rport_prli_resp() 1200 !(pp->spp.spp_flags & FC_SPP_EST_IMG_PAIR)) { in fc_rport_prli_resp() 1250 struct fc_els_spp spp; in fc_rport_enter_prli() member 1972 struct fc_els_spp spp; fc_rport_recv_prli_req() member 1975 struct fc_els_spp *spp; /* response spp */ fc_rport_recv_prli_req() local 2088 struct fc_els_spp spp; fc_rport_recv_prlo_req() member 2091 struct fc_els_spp *spp; /* response spp */ fc_rport_recv_prlo_req() local 2198 fc_rport_fcp_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) fc_rport_fcp_prli() argument 2242 fc_rport_t0_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) fc_rport_t0_prli() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_rport.c | 1121 struct fc_els_spp spp; in fc_rport_prli_resp() member 1162 resp_code = (pp->spp.spp_flags & FC_SPP_RESP_MASK); in fc_rport_prli_resp() 1164 pp->spp.spp_flags, pp->spp.spp_type); in fc_rport_prli_resp() 1166 rdata->spp_type = pp->spp.spp_type; in fc_rport_prli_resp() 1174 if (pp->prli.prli_spp_len < sizeof(pp->spp)) { in fc_rport_prli_resp() 1179 fcp_parm = ntohl(pp->spp.spp_params); in fc_rport_prli_resp() 1193 &pp->spp, &temp_spp); in fc_rport_prli_resp() 1200 !(pp->spp.spp_flags & FC_SPP_EST_IMG_PAIR)) { in fc_rport_prli_resp() 1250 struct fc_els_spp spp; in fc_rport_enter_prli() member 1972 struct fc_els_spp spp; fc_rport_recv_prli_req() member 1975 struct fc_els_spp *spp; /* response spp */ fc_rport_recv_prli_req() local 2088 struct fc_els_spp spp; fc_rport_recv_prlo_req() member 2091 struct fc_els_spp *spp; /* response spp */ fc_rport_recv_prlo_req() local 2198 fc_rport_fcp_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) fc_rport_fcp_prli() argument 2242 fc_rport_t0_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) fc_rport_t0_prli() argument [all...] |
H A D | fc_encode.h | 872 struct fc_els_spp spp; in fc_prli_fill() member 880 pp->spp.spp_type = FC_TYPE_FCP; in fc_prli_fill() 881 pp->spp.spp_flags = FC_SPP_EST_IMG_PAIR; in fc_prli_fill() 882 pp->spp.spp_params = htonl(lport->service_params); in fc_prli_fill()
|
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 348 const struct fc_els_spp *rspp, struct fc_els_spp *spp) in ft_prli_locked() 376 spp->spp_flags |= FC_SPP_EST_IMG_PAIR; in ft_prli_locked() 382 spp->spp_flags &= ~FC_SPP_EST_IMG_PAIR; in ft_prli_locked() 400 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked() 402 spp->spp_params = htonl(fcp_parm | FCP_SPPF_TARG_FCN); in ft_prli_locked() 406 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked() 408 spp->spp_params = htonl(fcp_parm); in ft_prli_locked() 417 * @spp: response service parameter page 419 * Returns spp response code. 422 const struct fc_els_spp *rspp, struct fc_els_spp *spp) in ft_prli() 347 ft_prli_locked(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) ft_prli_locked() argument 421 ft_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) ft_prli() argument [all...] |
/kernel/linux/linux-6.6/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 348 const struct fc_els_spp *rspp, struct fc_els_spp *spp) in ft_prli_locked() 376 spp->spp_flags |= FC_SPP_EST_IMG_PAIR; in ft_prli_locked() 382 spp->spp_flags &= ~FC_SPP_EST_IMG_PAIR; in ft_prli_locked() 400 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked() 402 spp->spp_params = htonl(fcp_parm | FCP_SPPF_TARG_FCN); in ft_prli_locked() 406 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked() 408 spp->spp_params = htonl(fcp_parm); in ft_prli_locked() 417 * @spp: response service parameter page 419 * Returns spp response code. 422 const struct fc_els_spp *rspp, struct fc_els_spp *spp) in ft_prli() 347 ft_prli_locked(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) ft_prli_locked() argument 421 ft_prli(struct fc_rport_priv *rdata, u32 spp_len, const struct fc_els_spp *rspp, struct fc_els_spp *spp) ft_prli() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_els.c | 484 struct fc_els_spp spp; in efc_send_prli() member 505 pp->spp.spp_type = FC_TYPE_FCP; in efc_send_prli() 506 pp->spp.spp_type_ext = 0; in efc_send_prli() 507 pp->spp.spp_flags = FC_SPP_EST_IMG_PAIR; in efc_send_prli() 508 pp->spp.spp_params = cpu_to_be32(FCP_SPPF_RD_XRDY_DIS | in efc_send_prli() 716 struct fc_els_spp spp; in efc_send_prli_acc() member 738 pp->spp.spp_type = FC_TYPE_FCP; in efc_send_prli_acc() 739 pp->spp.spp_type_ext = 0; in efc_send_prli_acc() 740 pp->spp.spp_flags = FC_SPP_EST_IMG_PAIR | FC_SPP_RESP_ACK; in efc_send_prli_acc() 742 pp->spp in efc_send_prli_acc() 758 struct fc_els_spp spp; efc_send_prlo_acc() member [all...] |
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack_lsm.c | 2297 struct smk_port_label *spp; in smack_sk_free_security() local 2301 list_for_each_entry_rcu(spp, &smk_ipv6_port_list, list) { in smack_sk_free_security() 2302 if (spp->smk_sock != sk) in smack_sk_free_security() 2304 spp->smk_can_reuse = 1; in smack_sk_free_security() 2562 struct smk_port_label *spp; in smk_ipv6_port_label() local 2572 list_for_each_entry_rcu(spp, &smk_ipv6_port_list, list) { in smk_ipv6_port_label() 2573 if (sk != spp->smk_sock) in smk_ipv6_port_label() 2575 spp->smk_in = ssp->smk_in; in smk_ipv6_port_label() 2576 spp->smk_out = ssp->smk_out; in smk_ipv6_port_label() 2601 list_for_each_entry_rcu(spp, in smk_ipv6_port_label() 2649 struct smk_port_label *spp; smk_ipv6_port_check() local [all...] |
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack_lsm.c | 2415 struct smk_port_label *spp; in smack_sk_free_security() local 2419 list_for_each_entry_rcu(spp, &smk_ipv6_port_list, list) { in smack_sk_free_security() 2420 if (spp->smk_sock != sk) in smack_sk_free_security() 2422 spp->smk_can_reuse = 1; in smack_sk_free_security() 2695 struct smk_port_label *spp; in smk_ipv6_port_label() local 2705 list_for_each_entry_rcu(spp, &smk_ipv6_port_list, list) { in smk_ipv6_port_label() 2706 if (sk != spp->smk_sock) in smk_ipv6_port_label() 2708 spp->smk_in = ssp->smk_in; in smk_ipv6_port_label() 2709 spp->smk_out = ssp->smk_out; in smk_ipv6_port_label() 2734 list_for_each_entry_rcu(spp, in smk_ipv6_port_label() 2781 struct smk_port_label *spp; smk_ipv6_port_check() local [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 514 unsigned int spp = reg->hr_slots_per_page; in o2hb_setup_one_bio() local 539 current_page = cs / spp; in o2hb_setup_one_bio() 543 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio() 551 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio() 1671 unsigned int spp = reg->hr_slots_per_page; in o2hb_map_slot_data() local 1692 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data() 1695 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data() 1709 last_slot = i * spp; in o2hb_map_slot_data() 1712 (j < spp) in o2hb_map_slot_data() [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 509 unsigned int spp = reg->hr_slots_per_page; in o2hb_setup_one_bio() local 532 current_page = cs / spp; in o2hb_setup_one_bio() 536 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio() 544 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio() 1661 unsigned int spp = reg->hr_slots_per_page; in o2hb_map_slot_data() local 1682 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data() 1685 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data() 1699 last_slot = i * spp; in o2hb_map_slot_data() 1702 (j < spp) in o2hb_map_slot_data() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-csid.h | 75 u8 spp; /* bus samples per pixel */ member
|
H A D | camss-csid-4-1.c | 189 num_bytes_per_line = input_format->width * format->bpp * format->spp / 8; in csid_configure_stream()
|
H A D | camss-csid-4-7.c | 218 num_bytes_per_line = input_format->width * format->bpp * format->spp / 8; in csid_configure_stream()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | fc_encode.h | 648 struct fc_els_spp spp; in fc_prli_fill() member 656 pp->spp.spp_type = FC_TYPE_FCP; in fc_prli_fill() 657 pp->spp.spp_flags = FC_SPP_EST_IMG_PAIR; in fc_prli_fill() 658 pp->spp.spp_params = htonl(lport->service_params); in fc_prli_fill()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/ |
H A D | micropatch.c | 343 struct spi_pram *spp; in cpm_load_patch() local 349 spp = (struct spi_pram *)&cp->cp_dparam[PROFF_SPI]; in cpm_load_patch() 350 out_be16(&spp->rpbase, (rpbase + sizeof(iic_t) + 31) & ~31); in cpm_load_patch()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/8xx/ |
H A D | micropatch.c | 343 struct spi_pram *spp; in cpm_load_patch() local 349 spp = (struct spi_pram *)&cp->cp_dparam[PROFF_SPI]; in cpm_load_patch() 350 out_be16(&spp->rpbase, (rpbase + sizeof(iic_t) + 31) & ~31); in cpm_load_patch()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-csid.c | 83 u8 spp; /* bus samples per pixel */ member 653 f->width * format->bpp * format->spp / 8; in csid_set_stream()
|