Home
last modified time | relevance | path

Searched refs:nentry (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/radeon/
Dmkregtable.c114 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-6.12.1/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c169 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-6.12.1/kernel/
Daudit_watch.c251 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()
Dauditfilter.c1405 struct audit_entry *nentry; in update_lsm_rule() local
1411 nentry = audit_dupe_rule(r); in update_lsm_rule()
1414 if (IS_ERR(nentry)) { in update_lsm_rule()
1417 err = PTR_ERR(nentry); in update_lsm_rule()
1425 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule()
1426 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule()
1427 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/catalog/
Ddpu_6_3_sm6115.h112 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
115 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
118 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_6_9_sm6375.h123 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
126 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
129 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_3_3_sdm630.h181 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
184 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
187 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
Ddpu_6_2_sc7180.h180 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
183 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
186 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_5_4_sm6125.h191 {.nentry = ARRAY_SIZE(sm8150_qos_linear),
194 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
197 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_6_4_sm6350.h198 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
201 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
204 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_7_2_sc7280.h224 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
227 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
230 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_3_2_sdm660.h245 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
248 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
251 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
Ddpu_4_0_sdm845.h307 {.nentry = ARRAY_SIZE(sdm845_qos_linear),
310 {.nentry = ARRAY_SIZE(sdm845_qos_macrotile),
313 {.nentry = ARRAY_SIZE(sdm845_qos_nrt),
Ddpu_3_0_msm8998.h290 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
293 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
296 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
Ddpu_5_2_sm7150.h285 .nentry = ARRAY_SIZE(sm8150_qos_linear),
288 .nentry = ARRAY_SIZE(sc7180_qos_macrotile),
291 .nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_7_0_sm8350.h369 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
372 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
375 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_5_0_sm8150.h361 {.nentry = ARRAY_SIZE(sm8150_qos_linear),
364 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
367 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_9_0_sm8550.h380 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
383 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
386 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_6_0_sm8250.h359 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
362 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
365 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_5_1_sc8180x.h387 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
390 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
393 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_10_0_sm8650.h406 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
409 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
412 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_8_1_sm8450.h387 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
390 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
393 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_8_0_sc8280xp.h410 {.nentry = ARRAY_SIZE(sc8180x_qos_linear),
413 {.nentry = ARRAY_SIZE(sc8180x_qos_macrotile),
416 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
Ddpu_9_2_x1e80100.h426 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
429 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
432 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
/linux-6.12.1/security/integrity/ima/
Dima_policy.c407 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local
414 nentry = kmemdup(entry, sizeof(*nentry), gfp); in ima_lsm_copy_rule()
415 if (!nentry) in ima_lsm_copy_rule()
418 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
424 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule()
425 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule()
427 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule()
428 nentry->lsm[i].args_p, in ima_lsm_copy_rule()
429 &nentry->lsm[i].rule, in ima_lsm_copy_rule()
431 if (!nentry->lsm[i].rule) in ima_lsm_copy_rule()
[all …]

12