Home
last modified time | relevance | path

Searched refs:item_len (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c32 u16 item_len, void *buf_addr) in brcmf_commonring_config() argument
35 commonring->item_len = item_len; in brcmf_commonring_config()
123 (commonring->w_ptr * commonring->item_len); in brcmf_commonring_reserve_for_write()
159 (commonring->w_ptr * commonring->item_len); in brcmf_commonring_reserve_for_write_multiple()
221 (commonring->r_ptr * commonring->item_len); in brcmf_commonring_get_read_ptr()
Dcommonring.h14 u16 item_len; member
42 u16 item_len, void *buf_addr);
59 #define brcmf_commonring_len_item(commonring) (commonring->item_len)
Dpcie.c1183 size = ring->commonring.depth * ring->commonring.item_len; in brcmf_pcie_release_ringbuffer()
/linux-6.12.1/net/rds/
Dconnection.c657 size_t item_len) in rds_for_each_conn_info() argument
666 lens->each = item_len; in rds_for_each_conn_info()
679 if (len >= item_len) { in rds_for_each_conn_info()
680 rds_info_copy(iter, buffer, item_len); in rds_for_each_conn_info()
681 len -= item_len; in rds_for_each_conn_info()
695 size_t item_len) in rds_walk_conn_path_info() argument
704 lens->each = item_len; in rds_walk_conn_path_info()
729 if (len >= item_len) { in rds_walk_conn_path_info()
730 rds_info_copy(iter, buffer, item_len); in rds_walk_conn_path_info()
731 len -= item_len; in rds_walk_conn_path_info()
Drds.h787 size_t item_len);
/linux-6.12.1/fs/btrfs/
Ddir-item.c425 u32 item_len; in btrfs_delete_one_dir_name() local
431 item_len = btrfs_item_size(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
432 if (sub_item_len == item_len) { in btrfs_delete_one_dir_name()
441 item_len - (ptr + sub_item_len - start)); in btrfs_delete_one_dir_name()
442 btrfs_truncate_item(trans, path, item_len - sub_item_len, 1); in btrfs_delete_one_dir_name()
Dioctl.c1581 unsigned long item_len; in copy_to_sk() local
1599 item_len = btrfs_item_size(leaf, i); in copy_to_sk()
1605 if (sizeof(sh) + item_len > *buf_size) { in copy_to_sk()
1616 *buf_size = sizeof(sh) + item_len; in copy_to_sk()
1617 item_len = 0; in copy_to_sk()
1621 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { in copy_to_sk()
1629 sh.len = item_len; in copy_to_sk()
1645 if (item_len) { in copy_to_sk()
1652 item_off, item_len)) { in copy_to_sk()
1658 *sk_offset += item_len; in copy_to_sk()
[all …]
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c449 u16 item_len; in hns3_dbg_fill_content() local
463 item_len = strlen(items[i].name) + items[i].interval; in hns3_dbg_fill_content()
464 if (len < item_len) in hns3_dbg_fill_content()
468 if (item_len < strlen(result[i])) in hns3_dbg_fill_content()
474 pos += item_len; in hns3_dbg_fill_content()
475 len -= item_len; in hns3_dbg_fill_content()
/linux-6.12.1/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c515 u8 item_len; in gelic_wl_parse_ie() local
524 item_len = *pos++; in gelic_wl_parse_ie()
527 if (data_left < item_len) in gelic_wl_parse_ie()
532 if ((OUI_LEN + 1 <= item_len) && in gelic_wl_parse_ie()
536 ie_info->wpa.len = item_len + 2; in gelic_wl_parse_ie()
542 ie_info->rsn.len = item_len + 2; in gelic_wl_parse_ie()
546 item_id, item_len); in gelic_wl_parse_ie()
549 pos += item_len; in gelic_wl_parse_ie()
550 data_left -= item_len; in gelic_wl_parse_ie()
/linux-6.12.1/fs/reiserfs/
Dnamei.c1101 int item_len; in reiserfs_symlink() local
1136 item_len = ROUND_UP(strlen(symname)); in reiserfs_symlink()
1137 if (item_len > MAX_DIRECT_ITEM_LEN(parent_dir->i_sb->s_blocksize)) { in reiserfs_symlink()
1143 name = kmalloc(item_len, GFP_NOFS); in reiserfs_symlink()
1150 padd_item(name, item_len, strlen(symname)); in reiserfs_symlink()
Dstree.c1408 int item_len = 0; in reiserfs_delete_solid_item() local
1447 item_len = ih_item_len(tp_item_head(&path)); in reiserfs_delete_solid_item()
1449 -(IH_SIZE + item_len)); in reiserfs_delete_solid_item()
Dinode.c1851 int item_len) in reiserfs_new_symlink() argument
1864 make_le_item_head(ih, NULL, KEY_FORMAT_3_5, 1, TYPE_DIRECT, item_len, in reiserfs_new_symlink()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c734 u16 item_len; in hclge_dbg_fill_content() local
748 item_len = strlen(items[i].name) + items[i].interval; in hclge_dbg_fill_content()
749 if (len < item_len) in hclge_dbg_fill_content()
753 if (item_len < strlen(result[i])) in hclge_dbg_fill_content()
759 pos += item_len; in hclge_dbg_fill_content()
760 len -= item_len; in hclge_dbg_fill_content()
/linux-6.12.1/sound/soc/
Dsoc-topology.c599 unsigned int item_len = 2 * sizeof(unsigned int); in soc_tplg_create_tlv_db_scale() local
602 p = devm_kzalloc(tplg->dev, item_len + 2 * sizeof(unsigned int), GFP_KERNEL); in soc_tplg_create_tlv_db_scale()
607 p[1] = item_len; in soc_tplg_create_tlv_db_scale()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3713 u32 item_len; in bnxt_resize_update_entry() local
3718 &item_len, NULL); in bnxt_resize_update_entry()
3724 if (fw_size > item_len) { in bnxt_resize_update_entry()
3747 u32 item_len; in bnxt_flash_package_from_fw_obj() local
3803 &index, &item_len, NULL); in bnxt_flash_package_from_fw_obj()
3808 if (fw->size > item_len) { in bnxt_flash_package_from_fw_obj()
3872 0, 0, item_len, NULL, 0); in bnxt_flash_package_from_fw_obj()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c669 #define ADD_LEN(len, item_len, const_len) \ argument
670 do {size_t item = item_len; len += (!!item) * const_len + item; } \