Home
last modified time | relevance | path

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

/Linux-v6.6/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.h94 int num_fields; member
156 int *num_fields);
Dima_fs.c175 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_measurements_show()
243 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_ascii_measurements_show()
Dima_crypto.c589 int num_fields = entry->template_desc->num_fields; in ima_calc_field_array_hash_tfm() local
598 for (i = 0; i < num_fields; i++) { in ima_calc_field_array_hash_tfm()
Dima_policy.c1210 for (i = 0; i < template->num_fields; i++) { in check_template_modsig()
1232 for (i = 0; i < template->num_fields; i++) in check_template_field()
1878 &(template_desc->num_fields)); in ima_parse_rule()
/Linux-v6.6/drivers/mux/
Dmmio.c43 int num_fields; in mux_mmio_probe() local
65 num_fields = ret / 2; in mux_mmio_probe()
67 mux_chip = devm_mux_chip_alloc(dev, num_fields, num_fields * in mux_mmio_probe()
74 for (i = 0; i < num_fields; i++) { in mux_mmio_probe()
/Linux-v6.6/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-v6.6/scripts/gcc-plugins/
Drandomize_layout_plugin.c304 unsigned long num_fields = (unsigned long)list_length(TYPE_FIELDS(type)); in relayout_struct() local
305 unsigned long shuffle_length = num_fields; in relayout_struct()
307 tree newtree[num_fields]; in relayout_struct()
318 if (num_fields < 2) in relayout_struct()
323 gcc_assert(num_fields < INT_MAX); in relayout_struct()
350 if (is_flexible_array(newtree[num_fields - 1])) { in relayout_struct()
373 for (i = 0; i < num_fields - 1; i++) in relayout_struct()
375 TREE_CHAIN(newtree[num_fields - 1]) = NULL_TREE; in relayout_struct()
/Linux-v6.6/include/uapi/linux/
Dhiddev.h69 __u32 num_fields; member
/Linux-v6.6/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-v6.6/drivers/net/wireless/ti/wlcore/
Dwlcore_i.h321 int num_fields; member
Dmain.c1344 int num_fields = 0, in_field = 0, fields_size = 0; in wl1271_validate_wowlan_pattern() local
1368 num_fields++; in wl1271_validate_wowlan_pattern()
1380 num_fields++; in wl1271_validate_wowlan_pattern()
1387 num_fields++; in wl1271_validate_wowlan_pattern()
1390 if (num_fields > WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_validate_wowlan_pattern()
1415 for (i = 0; i < filter->num_fields; i++) in wl1271_rx_filter_free()
1427 if (filter->num_fields == WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_rx_filter_alloc_field()
1432 field = &filter->fields[filter->num_fields]; in wl1271_rx_filter_alloc_field()
1440 filter->num_fields++; in wl1271_rx_filter_alloc_field()
1453 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-v6.6/drivers/base/regmap/
Dregmap.c1255 int num_fields) in regmap_field_bulk_alloc() argument
1260 rf = kcalloc(num_fields, sizeof(*rf), GFP_KERNEL); in regmap_field_bulk_alloc()
1264 for (i = 0; i < num_fields; i++) { in regmap_field_bulk_alloc()
1291 int num_fields) in devm_regmap_field_bulk_alloc() argument
1296 rf = devm_kcalloc(dev, num_fields, sizeof(*rf), GFP_KERNEL); in devm_regmap_field_bulk_alloc()
1300 for (i = 0; i < num_fields; i++) { in devm_regmap_field_bulk_alloc()
/Linux-v6.6/include/linux/
Dregmap.h1367 int num_fields);
1372 int num_fields);
/Linux-v6.6/drivers/hid/usbhid/
Dhiddev.c742 rinfo.num_fields = report->maxfield; in hiddev_ioctl()