Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/radeon/
H A 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/drivers/infiniband/ulp/opa_vnic/
H A 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 in opa_vnic_update_mac_tbl()
[all...]
/linux/kernel/
H A 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()
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()
/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/
H A Ddpu_6_9_sm6375.h117 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
120 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
123 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_6_3_sm6115.h107 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
110 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
113 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_1_15_msm8917.h139 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
142 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
145 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_1_14_msm8937.h160 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
163 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
166 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_1_16_msm8953.h167 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
170 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
173 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_5_4_sm6125.h177 {.nentry = ARRAY_SIZE(sm8150_qos_linear),
180 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
183 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_3_3_sdm630.h175 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
178 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
181 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_6_2_sc7180.h172 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
175 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
178 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_6_4_sm6350.h188 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
191 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile),
194 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_5_3_sm6150.h206 {.nentry = ARRAY_SIZE(sm8150_qos_linear),
209 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
212 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_7_2_sc7280.h212 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
215 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
218 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_3_2_sdm660.h235 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
238 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
241 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_5_2_sm7150.h266 .nentry = ARRAY_SIZE(sm8150_qos_linear),
269 .nentry = ARRAY_SIZE(sc7180_qos_macrotile),
272 .nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_1_7_msm8996.h281 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
284 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
287 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_3_0_msm8998.h271 {.nentry = ARRAY_SIZE(msm8998_qos_linear),
274 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile),
277 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
H A Ddpu_9_0_sm8550.h356 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
359 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
362 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_6_0_sm8250.h336 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
339 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
342 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_7_0_sm8350.h348 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
351 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
354 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_9_1_sar2130p.h356 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
359 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
362 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_10_0_sm8650.h399 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
402 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
405 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
H A Ddpu_8_0_sc8280xp.h379 {.nentry = ARRAY_SIZE(sc8180x_qos_linear),
382 {.nentry = ARRAY_SIZE(sc8180x_qos_macrotile),
385 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
/linux/security/integrity/ima/
H A Dima_policy.c408 struct ima_rule_entry *nentry; in ima_lsm_copy_rule() local
415 nentry = kmemdup(entry, sizeof(*nentry), gfp); in ima_lsm_copy_rule()
416 if (!nentry) in ima_lsm_copy_rule()
419 memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm)); in ima_lsm_copy_rule()
425 nentry->lsm[i].type = entry->lsm[i].type; in ima_lsm_copy_rule()
426 nentry->lsm[i].args_p = entry->lsm[i].args_p; in ima_lsm_copy_rule()
428 ima_filter_rule_init(nentry->lsm[i].type, Audit_equal, in ima_lsm_copy_rule()
429 nentry->lsm[i].args_p, in ima_lsm_copy_rule()
430 &nentry in ima_lsm_copy_rule()
442 struct ima_rule_entry *nentry; ima_lsm_update_rule() local
[all...]

12