Searched refs:nentry (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| 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-v5.4/drivers/infiniband/ulp/opa_vnic/ |
| 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-v5.4/kernel/ |
| 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() 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()
|
| D | auditfilter.c | 1389 struct audit_entry *nentry; in update_lsm_rule() local 1395 nentry = audit_dupe_rule(r); in update_lsm_rule() 1398 if (IS_ERR(nentry)) { in update_lsm_rule() 1401 err = PTR_ERR(nentry); in update_lsm_rule() 1409 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule() 1410 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule() 1411 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
|
| /Linux-v5.4/security/integrity/ima/ |
| D | ima_policy.c | 265 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local 268 nentry = kmalloc(sizeof(*nentry), GFP_KERNEL); in ima_lsm_copy_rule() 269 if (!nentry) in ima_lsm_copy_rule() 276 memcpy(nentry, entry, sizeof(*nentry)); in ima_lsm_copy_rule() 277 memset(nentry->lsm, 0, FIELD_SIZEOF(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule() 283 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule() 284 nentry->lsm[i].args_p = kstrdup(entry->lsm[i].args_p, in ima_lsm_copy_rule() 286 if (!nentry->lsm[i].args_p) in ima_lsm_copy_rule() 289 result = security_filter_rule_init(nentry->lsm[i].type, in ima_lsm_copy_rule() 291 nentry->lsm[i].args_p, in ima_lsm_copy_rule() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.c | 379 {.nentry = ARRAY_SIZE(sdm845_qos_linear), 382 {.nentry = ARRAY_SIZE(sdm845_qos_macrotile), 385 {.nentry = ARRAY_SIZE(sdm845_qos_nrt),
|
| D | dpu_hw_catalog.h | 271 u32 nentry; member
|
| D | dpu_plane.c | 203 if (!tbl || !tbl->nentry || !tbl->entries) in _dpu_plane_get_qos_lut() 206 for (i = 0; i < tbl->nentry; i++) in _dpu_plane_get_qos_lut()
|