/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mlx5_core.h | 167 size_t item_size, size_t num_items, in mlx5_flexible_inlen() argument 172 if (fixed > INT_MAX || item_size > INT_MAX || num_items > INT_MAX) { in mlx5_flexible_inlen() 174 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen() 178 if (check_mul_overflow((int)item_size, (int)num_items, &inlen)) { in mlx5_flexible_inlen() 180 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen() 186 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen() 193 #define MLX5_FLEXIBLE_INLEN(dev, fixed, item_size, num_items) \ argument 194 mlx5_flexible_inlen(dev, fixed, item_size, num_items, __func__, __LINE__)
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_overlay.c | 96 int i, num_items; in vmw_overlay_send_put() local 113 num_items = SVGA_VIDEO_DST_SCREEN_ID + 1; in vmw_overlay_send_put() 115 num_items = SVGA_VIDEO_PITCH_3 + 1; in vmw_overlay_send_put() 117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 125 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put() 128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put() 134 for (i = 0; i < num_items; i++) in vmw_overlay_send_put()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
D | isys_stream2mmio_private.h | 82 state->num_items = in stream2mmio_get_sid_state() 101 ia_css_print("\t \t Num Items 0x%x\n", state->num_items); in stream2mmio_print_sid_state()
|
D | isys_stream2mmio_local.h | 30 hrt_data num_items; member
|
D | ibuf_ctrl_local.h | 26 hrt_data num_items; member
|
/linux-6.12.1/fs/btrfs/ |
D | transaction.h | 260 unsigned int num_items); 263 unsigned int num_items);
|
D | fs.h | 938 unsigned num_items) in btrfs_calc_insert_metadata_size() argument 940 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_insert_metadata_size() 948 unsigned num_items) in btrfs_calc_metadata_size() argument 950 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_metadata_size()
|
D | transaction.c | 589 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() argument 622 if (num_items && root != fs_info->chunk_root) { in start_transaction() 623 qgroup_reserved = num_items * fs_info->nodesize; in start_transaction() 634 num_bytes = btrfs_calc_insert_metadata_size(fs_info, num_items); in start_transaction() 643 delayed_refs_bytes = btrfs_calc_delayed_ref_bytes(fs_info, num_items); in start_transaction() 662 } else if (num_items == 0 && flush == BTRFS_RESERVE_FLUSH_ALL && in start_transaction() 808 unsigned int num_items) in btrfs_start_transaction() argument 810 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction() 816 unsigned int num_items) in btrfs_start_transaction_fallback_global_rsv() argument 818 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction_fallback_global_rsv()
|
/linux-6.12.1/sound/pci/hda/ |
D | hda_codec.c | 3535 uinfo->value.enumerated.items = imux->num_items; in snd_hda_input_mux_info() 3536 if (!imux->num_items) in snd_hda_input_mux_info() 3539 if (index >= imux->num_items) in snd_hda_input_mux_info() 3540 index = imux->num_items - 1; in snd_hda_input_mux_info() 3562 if (!imux->num_items) in snd_hda_input_mux_put() 3565 if (idx >= imux->num_items) in snd_hda_input_mux_put() 3566 idx = imux->num_items - 1; in snd_hda_input_mux_put() 3589 int num_items, const char * const *texts) in snd_hda_enum_helper_info() argument 3595 if (!texts || !num_items) { in snd_hda_enum_helper_info() 3596 num_items = 2; in snd_hda_enum_helper_info() [all …]
|
D | hda_generic.c | 3196 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3200 if (i >= imux->num_items) { in check_dyn_adc_switch() 3208 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3227 for (i = 0; i < imux->num_items; i++) { in check_dyn_adc_switch() 3240 if (imux->num_items == 1 || in check_dyn_adc_switch() 3241 (imux->num_items == 2 && spec->hp_mic)) { in check_dyn_adc_switch() 3260 int imux_idx = imux->num_items; in parse_capture_source() 3279 spec->hp_mic_mux_idx = imux->num_items; in parse_capture_source() 3280 spec->imux_pins[imux->num_items] = pin; in parse_capture_source() 3479 for (i = 0; i < imux->num_items; i++) { in cap_put_caller() [all …]
|
D | patch_conexant.c | 429 .num_items = 3, 592 if (idx >= imux->num_items) in olpc_xo_dc_bias_enum_put() 593 idx = imux->num_items - 1; in olpc_xo_dc_bias_enum_put()
|
D | hda_local.h | 180 unsigned int num_items; member 648 int num_items, const char * const *texts);
|
/linux-6.12.1/include/linux/ |
D | counter.h | 487 size_t num_items; member 493 .num_items = ARRAY_SIZE(_enums), \ 499 .num_items = ARRAY_SIZE(_strs), \
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | isp2401_input_system_private.h | 56 state->num_items = in ibuf_ctrl_get_proc_state() 174 state->proc_state[i].num_items); in ibuf_ctrl_dump_state()
|
/linux-6.12.1/drivers/counter/ |
D | counter-sysfs.c | 261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store() 265 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store() 269 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store() 398 element->avail->num_items, buf, in counter_comp_array_u32_store() 498 for (index = 0; index < avail->num_items; index++) in strs_available_show() 525 return enums_available_show(avail->enums, avail->num_items, in counter_comp_available_show()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_switch.h | 340 ice_alloc_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items, 343 ice_free_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,
|
D | ice_sched.h | 102 u16 num_items, u32 *list);
|
/linux-6.12.1/drivers/iio/dac/ |
D | mcp4725.c | 221 .num_items = ARRAY_SIZE(mcp4725_powerdown_modes), 227 .num_items = ARRAY_SIZE(mcp4726_powerdown_modes),
|
D | vf610_dac.c | 94 .num_items = ARRAY_SIZE(vf610_conv_modes),
|
D | ti-dac7311.c | 101 .num_items = ARRAY_SIZE(ti_dac_powerdown_modes),
|
D | ad5624r_spi.c | 110 .num_items = ARRAY_SIZE(ad5624r_powerdown_modes),
|
/linux-6.12.1/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 522 char *bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items); 523 void bnx2fc_return_rqe(struct bnx2fc_rport *tgt, u8 num_items);
|
/linux-6.12.1/drivers/iio/magnetometer/ |
D | hmc5843_core.c | 242 .num_items = ARRAY_SIZE(hmc5843_meas_conf_modes), 256 .num_items = ARRAY_SIZE(hmc5983_meas_conf_modes),
|
/linux-6.12.1/sound/pci/ |
D | rme96.c | 1861 int num_items; in snd_rme96_info_inputtype_control() local 1866 num_items = 3; in snd_rme96_info_inputtype_control() 1869 num_items = 4; in snd_rme96_info_inputtype_control() 1874 num_items = 4; in snd_rme96_info_inputtype_control() 1878 num_items = 5; in snd_rme96_info_inputtype_control() 1885 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_rme96_info_inputtype_control()
|
/linux-6.12.1/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 85 ret = header->prod - header->cons < header->num_items; in qxl_check_header() 113 if (header->prod - header->cons == header->num_items) { in qxl_ring_push()
|