| /linux/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()
|
| /linux/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->mac_addr_mask)); in opa_vnic_update_mac_tbl() [all …]
|
| /linux/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() 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 | 1412 struct audit_entry *nentry; in update_lsm_rule() local 1418 nentry = audit_dupe_rule(r); in update_lsm_rule() 1421 if (IS_ERR(nentry)) { in update_lsm_rule() 1424 err = PTR_ERR(nentry); in update_lsm_rule() 1432 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule() 1433 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule() 1434 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
|
| /linux/security/integrity/ima/ |
| H A D | ima_policy.c | 413 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local 420 nentry = kmemdup(entry, sizeof(*nentry), gfp); in ima_lsm_copy_rule() 421 if (!nentry) in ima_lsm_copy_rule() 424 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule() 430 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule() 431 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule() 433 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule() 434 nentry->lsm[i].args_p, in ima_lsm_copy_rule() 435 &nentry->lsm[i].rule, in ima_lsm_copy_rule() 437 if (!nentry->lsm[i].rule) in ima_lsm_copy_rule() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
| H A D | dpu_12_2_glymur.h | 487 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 490 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 493 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_util.c | 446 if (!tbl || !tbl->nentry || !tbl->entries) in _dpu_hw_get_qos_lut() 449 for (i = 0; i < tbl->nentry; i++) in _dpu_hw_get_qos_lut()
|
| H A D | dpu_hw_catalog.h | 237 u32 nentry; member
|
| /linux/security/selinux/ss/ |
| H A D | services.c | 727 struct sidtab_entry *nentry, in security_validtrans_handle_fail() argument 738 if (sidtab_entry_to_string(p, sidtab, nentry, &n, &nlen)) in security_validtrans_handle_fail() 763 struct sidtab_entry *nentry; in security_compute_validatetrans() local 799 nentry = sidtab_search_entry(sidtab, newsid); in security_compute_validatetrans() 800 if (!nentry) { in security_compute_validatetrans() 818 &nentry->context, &tentry->context, in security_compute_validatetrans() 825 nentry, in security_compute_validatetrans()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sev-dev.c | 1170 struct snp_hv_fixed_pages_entry *entry, *nentry; in snp_free_hv_fixed_pages() local 1181 list_for_each_entry_safe(entry, nentry, &snp_hv_fixed_pages, list) { in snp_free_hv_fixed_pages()
|