/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 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() 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 D | dpu_6_9_sm6375.h | 117 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 120 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 123 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_3_sm6115.h | 107 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 110 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 113 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_1_15_msm8917.h | 139 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 142 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 145 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_1_14_msm8937.h | 160 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 163 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 166 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_1_16_msm8953.h | 167 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 170 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 173 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_5_4_sm6125.h | 177 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 180 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 183 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_3_3_sdm630.h | 175 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 178 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 181 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_6_2_sc7180.h | 172 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 175 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 178 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_4_sm6350.h | 188 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 191 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 194 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_3_sm6150.h | 206 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 209 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 212 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_7_2_sc7280.h | 212 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 215 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 218 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_3_2_sdm660.h | 235 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 238 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 241 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_5_2_sm7150.h | 266 .nentry = ARRAY_SIZE(sm8150_qos_linear), 269 .nentry = ARRAY_SIZE(sc7180_qos_macrotile), 272 .nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_1_7_msm8996.h | 281 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 284 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 287 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_3_0_msm8998.h | 271 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 274 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 277 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_9_0_sm8550.h | 356 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 359 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 362 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_0_sm8250.h | 336 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 339 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 342 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_7_0_sm8350.h | 348 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 351 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 354 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_9_1_sar2130p.h | 356 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 359 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 362 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_10_0_sm8650.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_8_0_sc8280xp.h | 379 {.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 D | ima_policy.c | 408 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...] |