/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 114 unsigned nentry; member 140 t->nentry = 0; in table_init() 148 nlloop = (t->nentry + 3) / 4; in table_print() 149 c = t->nentry; in table_print() 151 t->nentry); in table_print() 174 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build() 175 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build() 178 memset(t->table, 0xff, sizeof(unsigned) * t->nentry); in table_build()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 114 unsigned nentry; member 140 t->nentry = 0; in table_init() 148 nlloop = (t->nentry + 3) / 4; in table_print() 149 c = t->nentry; in table_print() 151 t->nentry); in table_print() 174 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build() 175 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build() 178 memset(t->table, 0xff, sizeof(unsigned) * t->nentry); in table_build()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 169 struct __opa_vnic_mactable_entry *nentry = &node->entry; in opa_vnic_query_mac_tbl() local 178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl() 180 memcpy(entry->mac_addr_mask, nentry->mac_addr_mask, in opa_vnic_query_mac_tbl() 182 entry->dlid_sd = cpu_to_be32(nentry->dlid_sd); in opa_vnic_query_mac_tbl() 226 struct __opa_vnic_mactable_entry *nentry; in opa_vnic_update_mac_tbl() local 248 nentry = &node->entry; in opa_vnic_update_mac_tbl() 249 memcpy(nentry->mac_addr, entry->mac_addr, in opa_vnic_update_mac_tbl() 250 ARRAY_SIZE(nentry->mac_addr)); in opa_vnic_update_mac_tbl() 251 memcpy(nentry->mac_addr_mask, entry->mac_addr_mask, in opa_vnic_update_mac_tbl() 252 ARRAY_SIZE(nentry in opa_vnic_update_mac_tbl() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 169 struct __opa_vnic_mactable_entry *nentry = &node->entry; in opa_vnic_query_mac_tbl() local 178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl() 180 memcpy(entry->mac_addr_mask, nentry->mac_addr_mask, in opa_vnic_query_mac_tbl() 182 entry->dlid_sd = cpu_to_be32(nentry->dlid_sd); in opa_vnic_query_mac_tbl() 226 struct __opa_vnic_mactable_entry *nentry; in opa_vnic_update_mac_tbl() local 248 nentry = &node->entry; in opa_vnic_update_mac_tbl() 249 memcpy(nentry->mac_addr, entry->mac_addr, in opa_vnic_update_mac_tbl() 250 ARRAY_SIZE(nentry->mac_addr)); in opa_vnic_update_mac_tbl() 251 memcpy(nentry->mac_addr_mask, entry->mac_addr_mask, in opa_vnic_update_mac_tbl() 252 ARRAY_SIZE(nentry in opa_vnic_update_mac_tbl() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | audit_watch.c | 250 struct audit_entry *oentry, *nentry; in audit_update_watch() local 282 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch() 283 if (IS_ERR(nentry)) { in audit_update_watch() 290 * nentry->rule.watch == oentry->rule.watch so in audit_update_watch() 294 audit_put_watch(nentry->rule.watch); in audit_update_watch() 296 nentry->rule.watch = nwatch; in audit_update_watch() 297 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 298 list_add_rcu(&nentry->list, &audit_inode_hash[h]); in audit_update_watch() 300 &nentry->rule.list); in audit_update_watch()
|
H A D | auditfilter.c | 1394 struct audit_entry *nentry; in update_lsm_rule() local 1400 nentry = audit_dupe_rule(r); in update_lsm_rule() 1403 if (IS_ERR(nentry)) { in update_lsm_rule() 1406 err = PTR_ERR(nentry); in update_lsm_rule() 1414 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule() 1415 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule() 1416 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | audit_watch.c | 251 struct audit_entry *oentry, *nentry; in audit_update_watch() local 283 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch() 284 if (IS_ERR(nentry)) { in audit_update_watch() 291 * nentry->rule.watch == oentry->rule.watch so in audit_update_watch() 295 audit_put_watch(nentry->rule.watch); in audit_update_watch() 297 nentry->rule.watch = nwatch; in audit_update_watch() 298 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 299 list_add_rcu(&nentry->list, &audit_inode_hash[h]); in audit_update_watch() 301 &nentry->rule.list); in audit_update_watch()
|
H A D | auditfilter.c | 1404 struct audit_entry *nentry; in update_lsm_rule() local 1410 nentry = audit_dupe_rule(r); in update_lsm_rule() 1413 if (IS_ERR(nentry)) { in update_lsm_rule() 1416 err = PTR_ERR(nentry); in update_lsm_rule() 1424 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule() 1425 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule() 1426 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_6_3_sm6115.h | 114 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 117 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 120 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_9_sm6375.h | 125 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 128 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 131 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_2_sc7180.h | 184 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 187 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 190 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_4_sm6350.h | 186 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 189 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 192 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_4_sm6125.h | 178 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 181 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 184 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_7_2_sc7280.h | 231 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 234 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 237 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_3_0_msm8998.h | 295 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 298 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 301 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_7_0_sm8350.h | 378 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 381 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 384 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_0_sm8250.h | 368 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 371 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 374 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_1_sc8180x.h | 382 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 385 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 388 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_8_0_sc8280xp.h | 424 {.nentry = ARRAY_SIZE(sc8180x_qos_linear), 427 {.nentry = ARRAY_SIZE(sc8180x_qos_macrotile), 430 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_8_1_sm8450.h | 400 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 403 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 406 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_9_0_sm8550.h | 399 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 402 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 405 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_0_sm8150.h | 354 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 357 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 360 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.c | 666 {.nentry = ARRAY_SIZE(sdm845_qos_linear), 669 {.nentry = ARRAY_SIZE(sdm845_qos_macrotile), 672 {.nentry = ARRAY_SIZE(sdm845_qos_nrt), 691 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 694 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 697 {.nentry = ARRAY_SIZE(sc7180_qos_nrt), 717 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 720 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 723 {.nentry = ARRAY_SIZE(sc7180_qos_nrt), 742 {.nentry [all...] |
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_policy.c | 354 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local 361 nentry = kmemdup(entry, sizeof(*nentry), GFP_KERNEL); in ima_lsm_copy_rule() 362 if (!nentry) in ima_lsm_copy_rule() 365 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule() 371 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule() 372 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule() 374 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule() 375 nentry->lsm[i].args_p, in ima_lsm_copy_rule() 376 &nentry in ima_lsm_copy_rule() 387 struct ima_rule_entry *nentry; ima_lsm_update_rule() local [all...] |
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_policy.c | 406 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local 413 nentry = kmemdup(entry, sizeof(*nentry), GFP_KERNEL); in ima_lsm_copy_rule() 414 if (!nentry) in ima_lsm_copy_rule() 417 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule() 423 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule() 424 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule() 426 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule() 427 nentry->lsm[i].args_p, in ima_lsm_copy_rule() 428 &nentry in ima_lsm_copy_rule() 439 struct ima_rule_entry *nentry; ima_lsm_update_rule() local [all...] |