Home
last modified time | relevance | path

Searched refs:used_len (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c97 int used_len = 0, curr_len, ret; in mtk_vdec_dbgfs_read() local
105 mtk_vdec_dbgfs_get_help(buf, &used_len, total_len); in mtk_vdec_dbgfs_read()
119 curr_len = snprintf(buf + used_len, total_len - used_len, in mtk_vdec_dbgfs_read()
121 used_len += curr_len; in mtk_vdec_dbgfs_read()
124 curr_len = snprintf(buf + used_len, total_len - used_len, in mtk_vdec_dbgfs_read()
128 used_len += curr_len; in mtk_vdec_dbgfs_read()
132 mtk_vdec_dbgfs_get_format_type(ctx, buf, &used_len, total_len); in mtk_vdec_dbgfs_read()
136 ret = simple_read_from_buffer(ubuf, count, ppos, buf, used_len); in mtk_vdec_dbgfs_read()
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c38 int used_len; member
50 int used_len; member
367 if (netinfo->used_len == netinfo->array_len) { in dump_link_nlmsg()
377 snprintf(netinfo->devices[netinfo->used_len].devname, in dump_link_nlmsg()
383 netinfo->used_len++; in dump_link_nlmsg()
402 if (tcinfo->used_len == tcinfo->array_len) { in dump_class_qdisc_nlmsg()
417 tcinfo->used_len++; in dump_class_qdisc_nlmsg()
519 tcinfo.used_len = 0; in show_dev_tc_bpf_classic()
536 for (i = 0; i < tcinfo.used_len; i++) { in show_dev_tc_bpf_classic()
868 dev_array.used_len = 0; in do_show()
[all …]
/openbmc/qemu/hw/ide/
H A Datapi.c640 unsigned int max_len, used_len; in cmd_get_event_status_notification() local
681 used_len = event_status_media(s, buf); in cmd_get_event_status_notification()
684 used_len = sizeof(*gesn_event_header); in cmd_get_event_status_notification()
686 gesn_event_header->len = cpu_to_be16(used_len in cmd_get_event_status_notification()
688 ide_atapi_cmd_reply(s, used_len, max_len); in cmd_get_event_status_notification()
/openbmc/qemu/migration/
H A Dram.c2860 size_t used_len, start, npages; in qemu_guest_free_page_hint() local
2867 for (; len > 0; len -= used_len, addr += used_len) { in qemu_guest_free_page_hint()
2880 used_len = len; in qemu_guest_free_page_hint()
2882 used_len = block->used_length - offset; in qemu_guest_free_page_hint()
2886 npages = used_len >> TARGET_PAGE_BITS; in qemu_guest_free_page_hint()
/openbmc/qemu/docs/devel/migration/
H A Dmapped-ram.rst125 idstr, used_len, etc.
/openbmc/u-boot/tools/binman/
H A Dftest.py1004 used_len = len(U_BOOT_NODTB_DATA) + fdt_len
1005 third = data[used_len:]
1006 self.assertEqual(chr(0) * (0x200 - used_len), third)
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c529 unsigned short used_len = ROUND(dir->namelen + in ext4fs_update_parent_dentry() local
536 if ((used_len + new_entry_byte_reqd) <= in ext4fs_update_parent_dentry()
538 dir->direntlen = cpu_to_le16(used_len); in ext4fs_update_parent_dentry()
/openbmc/linux/fs/smb/client/
H A Dsmb2ops.c1127 int rc, used_len = 0; in smb2_set_ea() local
1179 used_len = le32_to_cpu(rsp->OutputBufferLength); in smb2_set_ea()
1191 used_len + ea_name_len + ea_value_len + 1) { in smb2_set_ea()