/Linux-v6.6/tools/net/ynl/generated/ |
D | devlink-user.h | 96 req->bus_name = malloc(req->_present.bus_name_len + 1); in devlink_get_req_set_bus_name() 105 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_get_req_set_dev_name() 170 req->bus_name = malloc(req->_present.bus_name_len + 1); in devlink_port_get_req_set_bus_name() 180 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_port_get_req_set_dev_name() 236 req->bus_name = malloc(req->_present.bus_name_len + 1); in devlink_port_get_req_dump_set_bus_name() 246 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_port_get_req_dump_set_dev_name() 300 req->bus_name = malloc(req->_present.bus_name_len + 1); in devlink_sb_get_req_set_bus_name() 310 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_get_req_set_dev_name() 365 req->bus_name = malloc(req->_present.bus_name_len + 1); in devlink_sb_get_req_dump_set_bus_name() 375 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_get_req_dump_set_dev_name() [all …]
|
D | fou-user.h | 95 req->local_v6 = malloc(req->_present.local_v6_len); in fou_add_req_set_local_v6() 104 req->peer_v6 = malloc(req->_present.peer_v6_len); in fou_add_req_set_peer_v6() 198 req->local_v6 = malloc(req->_present.local_v6_len); in fou_del_req_set_local_v6() 207 req->peer_v6 = malloc(req->_present.peer_v6_len); in fou_del_req_set_peer_v6() 288 req->local_v6 = malloc(req->_present.local_v6_len); in fou_get_req_set_local_v6() 297 req->peer_v6 = malloc(req->_present.peer_v6_len); in fou_get_req_set_peer_v6()
|
D | devlink-user.c | 177 dst->info_version_name = malloc(len + 1); in devlink_dl_info_version_parse() 188 dst->info_version_value = malloc(len + 1); in devlink_dl_info_version_parse() 459 dst->bus_name = malloc(len + 1); in devlink_get_rsp_parse() 470 dst->dev_name = malloc(len + 1); in devlink_get_rsp_parse() 607 dst->bus_name = malloc(len + 1); in devlink_port_get_rsp_parse() 618 dst->dev_name = malloc(len + 1); in devlink_port_get_rsp_parse() 687 dst->bus_name = malloc(len + 1); in devlink_port_get_rsp_dump_parse() 698 dst->dev_name = malloc(len + 1); in devlink_port_get_rsp_dump_parse() 794 dst->bus_name = malloc(len + 1); in devlink_sb_get_rsp_parse() 805 dst->dev_name = malloc(len + 1); in devlink_sb_get_rsp_parse() [all …]
|
D | ethtool-user.h | 243 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_set_header_dev_name() 321 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_dump_set_header_dev_name() 390 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_get_req_set_header_dev_name() 460 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_get_req_dump_set_header_dev_name() 536 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_set_req_set_header_dev_name() 621 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_get_req_set_header_dev_name() 700 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_get_req_dump_set_header_dev_name() 784 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_set_req_set_header_dev_name() 929 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkstate_get_req_set_header_dev_name() 1002 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkstate_get_req_dump_set_header_dev_name() [all …]
|
/Linux-v6.6/tools/testing/selftests/mm/ |
D | hmm-tests.c | 306 buffer = malloc(sizeof(*buffer)); in TEST_F() 311 buffer->mirror = malloc(size); in TEST_F() 369 buffer = malloc(sizeof(*buffer)); in TEST_F() 374 buffer->mirror = malloc(size); in TEST_F() 428 buffer = malloc(sizeof(*buffer)); in TEST_F() 433 buffer->mirror = malloc(size); in TEST_F() 476 buffer = malloc(sizeof(*buffer)); in TEST_F() 481 buffer->mirror = malloc(size); in TEST_F() 544 buffer = malloc(sizeof(*buffer)); in TEST_F() 549 buffer->mirror = malloc(size); in TEST_F() [all …]
|
/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 150 reg = malloc(sizeof(unsigned long)); in show_tar_registers() 196 reg = malloc(sizeof(unsigned long)); in write_tar_registers() 239 reg = malloc(sizeof(unsigned long)); in show_tm_checkpointed_state() 287 reg = malloc(sizeof(unsigned long)); in write_ckpt_tar_registers() 330 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in show_fpr() 349 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in write_fpr() 373 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in show_ckpt_fpr() 397 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in write_ckpt_fpr() 424 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in show_gpr() 458 fprs = malloc(sizeof(unsigned long) * PT_NUM_FPRS); in peek_fprs() [all …]
|
/Linux-v6.6/include/linux/decompress/ |
D | mm.h | 42 MALLOC_VISIBLE void *malloc(int size) in malloc() function 70 #define large_malloc(a) malloc(a) 89 #define malloc(a) kmalloc(a, GFP_KERNEL) macro
|
/Linux-v6.6/tools/power/cpupower/lib/ |
D | cpufreq.c | 240 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy() 290 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 295 first = malloc(sizeof(*first)); in cpufreq_get_available_governors() 303 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors() 367 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies() 372 first = malloc(sizeof(*first)); in cpufreq_get_available_frequencies() 423 current->next = malloc(sizeof(*current)); in cpufreq_get_boost_frequencies() 428 first = malloc(sizeof(*first)); in cpufreq_get_boost_frequencies() 498 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list() 503 first = malloc(sizeof(*first)); in sysfs_get_cpu_list() [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | bpf_map.c | 23 return malloc(round_up(bpf_map__value_size(map), 8) * in bpf_map__alloc_value() 26 return malloc(bpf_map__value_size(map)); in bpf_map__alloc_value() 42 key = malloc(bpf_map__key_size(map)); in bpf_map__fprintf()
|
D | levenshtein.c | 48 int *row0 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 49 int *row1 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 50 int *row2 = malloc(sizeof(int) * (len2 + 1)); in levenshtein()
|
D | block-range.c | 116 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() 139 entry = malloc(sizeof(struct block_range)); in block_range__create() 163 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() 201 struct block_range *tail = malloc(sizeof(struct block_range)); in block_range__create() 248 tail = malloc(sizeof(struct block_range)); in block_range__create() 271 struct block_range *hole = malloc(sizeof(struct block_range)); in block_range__create()
|
D | trace-event-read.c | 138 str = malloc(size); in read_string() 178 buf = malloc(size + 1); in read_ftrace_printk() 212 header_page = malloc(size); in read_header_files() 251 buf = malloc(size); in read_ftrace_file() 277 buf = malloc(size); in read_event_file() 355 buf = malloc(size + 1); in read_saved_cmdline()
|
/Linux-v6.6/lib/ |
D | decompress_inflate.c | 55 out_buf = malloc(out_len); in __gunzip() 68 zbuf = malloc(GZIP_IOBUF_SIZE); in __gunzip() 76 strm = malloc(sizeof(*strm)); in __gunzip() 82 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
|
D | decompress_unxz.c | 159 #define kmalloc(size, flags) malloc(size) 161 #define vmalloc(size) malloc(size) 284 b.out = malloc(XZ_IOBUF_SIZE); in unxz() 291 in = malloc(XZ_IOBUF_SIZE); in unxz()
|
/Linux-v6.6/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 178 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 179 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 181 previous_count[num] = malloc(sizeof(long long) * in cpuidle_register() 183 current_count[num] = malloc(sizeof(long long) * in cpuidle_register()
|
/Linux-v6.6/Documentation/translations/zh_CN/infiniband/ |
D | user_mad.rst | 62 mad = malloc(sizeof *mad + 256); 72 mad = malloc(sizeof *mad + 256); 77 mad = malloc(sizeof *mad + length); 104 mad = malloc(sizeof *mad + mad_length);
|
/Linux-v6.6/tools/spi/ |
D | spidev_test.c | 339 tx = malloc(size); in transfer_escaped_string() 343 rx = malloc(size); in transfer_escaped_string() 368 tx = malloc(sb.st_size); in transfer_file() 372 rx = malloc(sb.st_size); in transfer_file() 409 tx = malloc(len); in transfer_buf() 415 rx = malloc(len); in transfer_buf()
|
/Linux-v6.6/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 245 ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); in main() 292 buf_in = malloc(BUF_LEN); in main() 293 buf_out = malloc(BUF_LEN); in main() 294 iocb_in = malloc(sizeof(*iocb_in)); in main() 295 iocb_out = malloc(sizeof(*iocb_out)); in main()
|
/Linux-v6.6/arch/um/os-Linux/ |
D | umid.c | 52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir() 142 file = malloc(filelen); in is_umdir_used() 216 file = malloc(n); in create_pid_file() 371 uml_dir = malloc(strlen(name) + 2); in set_uml_dir() 395 dir = malloc(strlen(uml_dir) + UMID_LEN + 1); in remove_umid_dir()
|
/Linux-v6.6/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 211 iobuf->buf = malloc(n*sizeof(*iobuf->buf)); in init_bufs() 212 iobuf->iocb = malloc(n*sizeof(*iobuf->iocb)); in init_bufs() 217 iobuf->buf[i] = malloc(len*sizeof(**iobuf->buf)); in init_bufs() 218 iobuf->iocb[i] = malloc(sizeof(**iobuf->iocb)); in init_bufs() 256 ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); in main()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_adjust_frags.c | 26 buf = malloc(128); in test_xdp_update_frags() 51 buf = malloc(9000); in test_xdp_update_frags() 119 buf = malloc(buf_size); in test_xdp_update_frags()
|
/Linux-v6.6/arch/powerpc/boot/ |
D | ops.h | 26 void * (*malloc)(unsigned long size); member 209 static inline void *malloc(unsigned long size) in malloc() function 211 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL; in malloc()
|
/Linux-v6.6/tools/testing/selftests/kvm/ |
D | kvm_binary_stats_test.c | 43 id = malloc(header.name_size); in stats_test() 155 stats_data = malloc(size_data); in stats_test() 215 vms = malloc(sizeof(vms[0]) * max_vm); in main() 218 vcpus = malloc(sizeof(struct kvm_vcpu *) * max_vm * max_vcpu); in main()
|
/Linux-v6.6/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new() 147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new() 154 prog_linfo->nr_jited_linfo_per_func = malloc(nr_jited_func * in bpf_prog_linfo__new() 163 prog_linfo->jited_linfo_func_idx = malloc(nr_jited_func * in bpf_prog_linfo__new()
|
/Linux-v6.6/arch/parisc/boot/compressed/ |
D | misc.c | 22 #define malloc malloc_gzip macro 206 #undef malloc 207 static void *malloc(size_t size) in malloc() function 258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
|