Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/security/integrity/ima/
Dima_template.c96 for (i = 0; i < ima_template->num_fields; i++) in ima_template_has_modsig()
210 int *num_fields) in template_desc_init_fields() argument
217 if (num_fields && *num_fields > 0) /* already initialized? */ in template_desc_init_fields()
247 if (fields && num_fields) { in template_desc_init_fields()
253 *num_fields = i; in template_desc_init_fields()
300 &(template->num_fields)); in ima_init_template()
316 &(template->num_fields)); in ima_init_template()
366 template_desc->num_fields), GFP_NOFS); in ima_restore_template_data()
380 NULL, template_desc->num_fields, in ima_restore_template_data()
390 for (i = 0; i < template_desc->num_fields; i++) { in ima_restore_template_data()
[all …]
Dima_api.c27 for (i = 0; i < entry->template_desc->num_fields; i++) in ima_free_template_entry()
51 template_desc->num_fields), GFP_NOFS); in ima_alloc_init_template()
65 for (i = 0; i < template_desc->num_fields; i++) { in ima_alloc_init_template()
Dima_crypto.c584 int num_fields = entry->template_desc->num_fields; in ima_calc_field_array_hash_tfm() local
593 for (i = 0; i < num_fields; i++) { in ima_calc_field_array_hash_tfm()
Dima.h102 int num_fields; member
269 int *num_fields);
Dima_fs.c205 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_measurements_show()
281 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_ascii_measurements_show()
Dima_policy.c1213 for (i = 0; i < template->num_fields; i++) { in check_template_modsig()
1235 for (i = 0; i < template->num_fields; i++) in check_template_field()
1881 &(template_desc->num_fields)); in ima_parse_rule()
/linux-6.12.1/drivers/mux/
Dmmio.c43 int num_fields; in mux_mmio_probe() local
70 num_fields = ret / 2; in mux_mmio_probe()
72 mux_chip = devm_mux_chip_alloc(dev, num_fields, num_fields * in mux_mmio_probe()
79 for (i = 0; i < num_fields; i++) { in mux_mmio_probe()
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_plane.c49 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local
87 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps()
89 fipks = (num_fields * 1000000) / ms_since_last; in sti_plane_update_fps()
/linux-6.12.1/scripts/gcc-plugins/
Drandomize_layout_plugin.c295 unsigned long num_fields = (unsigned long)list_length(TYPE_FIELDS(type)); in relayout_struct() local
296 unsigned long shuffle_length = num_fields; in relayout_struct()
298 tree newtree[num_fields]; in relayout_struct()
309 if (num_fields < 2) in relayout_struct()
314 gcc_assert(num_fields < INT_MAX); in relayout_struct()
340 if (is_flexible_array(newtree[num_fields - 1])) { in relayout_struct()
363 for (i = 0; i < num_fields - 1; i++) in relayout_struct()
365 TREE_CHAIN(newtree[num_fields - 1]) = NULL_TREE; in relayout_struct()
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_ale.c108 int num_fields; member
1405 .num_fields = ARRAY_SIZE(ale_fields_cpsw),
1413 .num_fields = ARRAY_SIZE(ale_fields_cpsw),
1420 .num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
1429 .num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
1438 .num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
1446 .num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
1453 .num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
1489 for (i = 0; i < ale->params.num_fields; i++) { in cpsw_ale_regfield_init()
1515 params->num_fields = ale_dev_id->num_fields; in cpsw_ale_create()
Dcpsw_ale.h27 int num_fields; member
/linux-6.12.1/include/uapi/linux/
Dhiddev.h69 __u32 num_fields; member
/linux-6.12.1/drivers/media/platform/renesas/
Drcar_fdp1.c537 unsigned int num_fields; member
1278 for (i = 0; i < buf->num_fields; i++) { in fdp1_m2m_device_run()
1791 unsigned int num_fields; in fdp1_buf_prepare_field() local
1794 num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; in fdp1_buf_prepare_field()
1797 fbuf->last_field = (field_num + 1) == num_fields; in fdp1_buf_prepare_field()
1907 buf->num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; in fdp1_buf_prepare()
1908 for (i = 0; i < buf->num_fields; ++i) in fdp1_buf_prepare()
/linux-6.12.1/drivers/net/wireless/ti/wlcore/
Dwlcore_i.h325 int num_fields; member
Dmain.c1423 int num_fields = 0, in_field = 0, fields_size = 0; in wl1271_validate_wowlan_pattern() local
1447 num_fields++; in wl1271_validate_wowlan_pattern()
1459 num_fields++; in wl1271_validate_wowlan_pattern()
1466 num_fields++; in wl1271_validate_wowlan_pattern()
1469 if (num_fields > WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_validate_wowlan_pattern()
1494 for (i = 0; i < filter->num_fields; i++) in wl1271_rx_filter_free()
1506 if (filter->num_fields == WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_rx_filter_alloc_field()
1511 field = &filter->fields[filter->num_fields]; in wl1271_rx_filter_alloc_field()
1519 filter->num_fields++; in wl1271_rx_filter_alloc_field()
1532 for (i = 0; i < filter->num_fields; i++) in wl1271_rx_filter_get_fields_size()
[all …]
Dacx.c1809 filter->action, filter->num_fields, fields_size); in wl1271_acx_set_rx_filter()
1822 acx->num_fields = filter->num_fields; in wl1271_acx_set_rx_filter()
Dacx.h940 u8 num_fields; member
/linux-6.12.1/drivers/base/regmap/
Dregmap.c1256 int num_fields) in regmap_field_bulk_alloc() argument
1261 rf = kcalloc(num_fields, sizeof(*rf), GFP_KERNEL); in regmap_field_bulk_alloc()
1265 for (i = 0; i < num_fields; i++) { in regmap_field_bulk_alloc()
1292 int num_fields) in devm_regmap_field_bulk_alloc() argument
1297 rf = devm_kcalloc(dev, num_fields, sizeof(*rf), GFP_KERNEL); in devm_regmap_field_bulk_alloc()
1301 for (i = 0; i < num_fields; i++) { in devm_regmap_field_bulk_alloc()
/linux-6.12.1/include/linux/
Dregmap.h1375 int num_fields);
1380 int num_fields);
/linux-6.12.1/drivers/hid/usbhid/
Dhiddev.c742 rinfo.num_fields = report->maxfield; in hiddev_ioctl()