kcalloc
Defined as a function in:
Defined as a preprocessor macro in:
Referenced (in 426 files total) in:
- arch/alpha/kernel/module.c, line 96
- arch/arc/net/bpf_jit_core.c, line 1115
- arch/arm/kernel/suspend.c, line 121
- arch/arm/kernel/topology.c, line 94
- arch/arm/kernel/vdso.c, line 191
- arch/arm/mach-footbridge/dc21285.c, line 265
- arch/arm/mach-omap1/mcbsp.c, line 297
- arch/arm/mach-omap2/omap_device.c, line 159
- arch/arm/mach-omap2/pm33xx-core.c, line 409
- arch/arm/mach-omap2/prm_common.c, 3 times
- arch/arm/mach-omap2/sr_device.c, line 42
- arch/arm/mach-versatile/spc.c, line 398
- arch/arm/mm/dma-mapping.c, line 1572
- arch/arm/net/bpf_jit_32.c, 2 times
- arch/arm/xen/enlighten.c, line 342
- arch/arm64/kernel/suspend.c, line 179
- arch/arm64/kernel/vdso.c, line 93
- arch/arm64/kvm/vgic/vgic-init.c, 2 times
- arch/arm64/kvm/vgic/vgic-irqfd.c, line 143
- arch/arm64/kvm/vgic/vgic-v4.c, line 256
- arch/arm64/net/bpf_jit_comp.c, line 2237
- arch/csky/kernel/vdso.c, line 27
- arch/loongarch/kernel/vdso.c, line 109
- arch/mips/alchemy/common/clock.c, 2 times
- arch/mips/alchemy/common/dbdma.c, line 1056
- arch/mips/alchemy/common/platform.c, 2 times
- arch/mips/alchemy/devboards/platform.c, 2 times
- arch/mips/kernel/pm-cps.c, line 362
- arch/mips/kernel/smp-cps.c, 2 times
- arch/mips/net/bpf_jit_comp.c, line 949
- arch/parisc/kernel/vdso.c, line 105
- arch/parisc/net/bpf_jit_core.c, line 83
- arch/powerpc/kernel/smp.c, 2 times
- arch/powerpc/kernel/vdso.c, line 339
- arch/powerpc/kvm/e500_mmu.c, 6 times
- arch/powerpc/kvm/e500_mmu_host.c, line 785
- arch/powerpc/mm/drmem.c, 2 times
- arch/powerpc/net/bpf_jit_comp.c, line 126
- arch/powerpc/perf/imc-pmu.c, 7 times
- arch/powerpc/platforms/44x/pci.c, line 1347
- arch/powerpc/platforms/powernv/idle.c, 4 times
- arch/powerpc/platforms/powernv/memtrace.c, line 151
- arch/powerpc/platforms/powernv/opal-async.c, line 268
- arch/powerpc/platforms/powernv/opal-imc.c, 3 times
- arch/powerpc/platforms/powernv/opal-irqchip.c, line 223
- arch/powerpc/platforms/powernv/opal-powercap.c, 3 times
- arch/powerpc/platforms/powernv/opal-psr.c, line 135
- arch/powerpc/platforms/powernv/opal-sensor-groups.c, 3 times
- arch/powerpc/platforms/powernv/opal-sysparam.c, 4 times
- arch/powerpc/platforms/pseries/lpar.c, 2 times
- arch/powerpc/platforms/pseries/papr_platform_attributes.c, 2 times
- arch/powerpc/platforms/pseries/plpks-secvar.c, 2 times
- arch/powerpc/sysdev/mpic.c, line 549
- arch/powerpc/sysdev/mpic_msgr.c, line 191
- arch/powerpc/sysdev/xive/common.c, line 1149
- arch/powerpc/sysdev/xive/native.c, line 511
- arch/riscv/kernel/unaligned_access_speed.c, line 221
- arch/riscv/kernel/vdso.c, 2 times
- arch/riscv/kvm/aia_aplic.c, line 590
- arch/riscv/kvm/vm.c, line 97
- arch/riscv/net/bpf_jit_comp64.c, line 965
- arch/riscv/net/bpf_jit_core.c, line 86
- arch/s390/appldata/appldata_base.c, line 353
- arch/s390/include/asm/idals.h, line 97
- arch/s390/kernel/cert_store.c, line 325
- arch/s390/kernel/debug.c, 2 times
- arch/s390/kernel/vdso.c, line 242
- arch/s390/kvm/pci.c, line 129
- arch/s390/pci/pci.c, 2 times
- arch/s390/pci/pci_irq.c, 2 times
- arch/sh/drivers/dma/dmabrg.c, line 156
- arch/sh/drivers/pci/pcie-sh7786.c, line 561
- arch/sparc/kernel/sys_sparc_64.c, line 629
- arch/sparc/vdso/vma.c, 2 times
- arch/x86/events/amd/iommu.c, line 388
- arch/x86/events/intel/core.c, line 6252
- arch/x86/events/intel/uncore.c, line 1001
- arch/x86/events/intel/uncore_discovery.c, line 703
- arch/x86/events/intel/uncore_snbep.c, 5 times
- arch/x86/hyperv/hv_init.c, line 476
- arch/x86/hyperv/hv_proc.c, line 47
- arch/x86/kernel/amd_nb.c, line 324
- arch/x86/kernel/apic/x2apic_cluster.c, line 212
- arch/x86/kernel/cpu/cacheinfo.c, line 561
- arch/x86/kernel/cpu/mce/amd.c, line 1406
- arch/x86/kernel/cpu/mtrr/generic.c, line 412
- arch/x86/kernel/cpu/mtrr/if.c, line 46
- arch/x86/kernel/cpu/mtrr/legacy.c, line 79
- arch/x86/kernel/cpu/resctrl/core.c, 2 times
- arch/x86/kernel/cpu/resctrl/monitor.c, 2 times
- arch/x86/kernel/cpu/resctrl/rdtgroup.c, 2 times
- arch/x86/kernel/hpet.c, line 1050
- arch/x86/kvm/debugfs.c, line 106
- arch/x86/kvm/svm/sev.c, line 3104
- arch/x86/kvm/x86.c, 2 times
- arch/x86/net/bpf_jit_comp.c, line 3042
- arch/x86/pci/xen.c, line 176
- arch/x86/platform/efi/runtime-map.c, line 169
- arch/x86/platform/geode/geode-common.c, 2 times
- arch/x86/platform/uv/uv_time.c, line 139
- block/bio-integrity.c, line 334
- block/blk-crypto-fallback.c, line 576
- block/blk-zoned.c, line 1403
- block/partitions/aix.c, line 202
- crypto/asymmetric_keys/verify_pefile.c, line 270
- crypto/tcrypt.c, 6 times
- fs/adfs/dir.c, line 110
- fs/afs/cmservice.c, 2 times
- fs/afs/rotate.c, line 49
- fs/aio.c, line 513
- fs/bcachefs/chardev.c, line 74
- fs/bcachefs/fs-io-buffered.c, line 526
- fs/bcachefs/journal.c, 6 times
- fs/bcachefs/replicas.c, 5 times
- fs/bcachefs/super.c, line 904
- fs/btrfs/block-group.c, line 2125
- fs/btrfs/compression.c, 3 times
- fs/btrfs/defrag.c, line 1212
- fs/btrfs/free-space-cache.c, line 394
- fs/btrfs/inode.c, 2 times
- fs/btrfs/qgroup.c, line 3429
- fs/btrfs/raid56.c, 8 times
- fs/btrfs/scrub.c, 3 times
- fs/btrfs/send.c, line 8241
- fs/btrfs/tree-mod-log.c, 4 times
- fs/btrfs/volumes.c, 2 times
- fs/btrfs/zoned.c, line 1574
- fs/ceph/caps.c, line 2411
- fs/ceph/mds_client.c, 5 times
- fs/ceph/mdsmap.c, 3 times
- fs/ceph/snap.c, line 496
- fs/ceph/xattr.c, line 824
- fs/dlm/config.c, line 893
- fs/dlm/member.c, 2 times
- fs/erofs/zdata.c, line 335
- fs/erofs/zutil.c, 3 times
- fs/ext2/super.c, line 1096
- fs/ext4/extents.c, 4 times
- fs/ext4/mballoc-test.c, line 254
- fs/fuse/file.c, line 2378
- fs/fuse/inode.c, line 1495
- fs/fuse/virtio_fs.c, 2 times
- fs/gfs2/lock_dlm.c, 2 times
- fs/gfs2/quota.c, line 1322
- fs/gfs2/rgrp.c, 2 times
- fs/gfs2/xattr.c, line 470
- fs/isofs/compress.c, 2 times
- fs/jffs2/fs.c, line 565
- fs/jffs2/xattr.c, line 787
- fs/nfs/blocklayout/dev.c, 3 times
- fs/nfs/blocklayout/extent_tree.c, line 580
- fs/nfs/dir.c, line 1154
- fs/nfs/filelayout/filelayout.c, line 697
- fs/nfs/filelayout/filelayoutdev.c, line 103
- fs/nfs/flexfilelayout/flexfilelayout.c, line 481
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 102
- fs/nfs/nfs42proc.c, line 1332
- fs/nfs/pagelist.c, line 895
- fs/nfs/pnfs_dev.c, line 121
- fs/nfsd/blocklayoutxdr.c, 2 times
- fs/nfsd/export.c, line 473
- fs/nfsd/nfsctl.c, 2 times
- fs/ntfs3/frecord.c, 4 times
- fs/ocfs2/alloc.c, 2 times
- fs/ocfs2/cluster/heartbeat.c, 2 times
- fs/ocfs2/dir.c, line 2507
- fs/ocfs2/journal.c, line 1468
- fs/ocfs2/namei.c, line 1734
- fs/ocfs2/slot_map.c, line 366
- fs/ocfs2/super.c, 2 times
- fs/omfs/inode.c, line 349
- fs/orangefs/inode.c, 2 times
- fs/orangefs/orangefs-bufmap.c, 2 times
- fs/orangefs/orangefs-debugfs.c, line 520
- fs/orangefs/orangefs-mod.c, line 101
- fs/overlayfs/namei.c, line 709
- fs/overlayfs/super.c, 3 times
- fs/overlayfs/util.c, line 115
- fs/pipe.c, 2 times
- fs/pstore/ram.c, line 542
- fs/pstore/zone.c, line 1215
- fs/reiserfs/inode.c, line 1039
- fs/smb/client/compress.c, line 261
- fs/smb/client/file.c, 2 times
- fs/smb/client/misc.c, line 931
- fs/smb/client/smb2file.c, 2 times
- fs/smb/client/smbdirect.c, line 2146
- fs/smb/server/auth.c, line 1046
- fs/smb/server/ksmbd_work.c, line 32
- fs/splice.c, 2 times
- fs/squashfs/cache.c, 3 times
- fs/squashfs/file.c, line 105
- fs/tracefs/event_inode.c, line 194
- fs/ubifs/super.c, line 822
- fs/udf/super.c, 3 times
- include/linux/slab.h, line 964
- include/net/tc_act/tc_gate.h, line 126
- io_uring/futex.c, line 223
- io_uring/rsrc.c, 3 times
- kernel/auditfilter.c, 2 times
- kernel/bpf/bpf_struct_ops.c, 3 times
- kernel/bpf/btf.c, 2 times
- kernel/bpf/core.c, line 2564
- kernel/bpf/trampoline.c, line 237
- kernel/bpf/verifier.c, 2 times
- kernel/cgroup/rdma.c, line 446
- kernel/dma/direct.c, line 672
- kernel/dma/swiotlb.c, 2 times
- kernel/events/core.c, line 12292
- kernel/events/hw_breakpoint.c, line 188
- kernel/events/uprobes.c, line 1543
- kernel/futex/syscalls.c, line 308
- kernel/gcov/fs.c, 3 times
- kernel/gcov/gcc_4_7.c, line 303
- kernel/irq/affinity.c, line 59
- kernel/irq/msi.c, line 532
- kernel/kcsan/kcsan_test.c, line 1541
- kernel/locking/locktorture.c, 3 times
- kernel/rcu/rcuscale.c, 9 times
- kernel/rcu/rcutorture.c, 8 times
- kernel/rcu/refscale.c, 2 times
- kernel/rcu/srcutree.c, line 177
- kernel/rcu/tasks.h, line 267
- kernel/scftorture.c, line 630
- kernel/sched/cpudeadline.c, line 270
- kernel/sched/cpupri.c, line 290
- kernel/sched/ext.c, 2 times
- kernel/sched/fair.c, 2 times
- kernel/sched/rt.c, 2 times
- kernel/sched/topology.c, line 1891
- kernel/time/timer_migration.c, 2 times
- kernel/trace/bpf_trace.c, line 2251
- kernel/trace/fgraph.c, line 1165
- kernel/trace/fprobe.c, line 164
- kernel/trace/ftrace.c, 2 times
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace.c, 2 times
- kernel/trace/trace_btf.c, line 81
- kernel/trace/trace_events_filter.c, line 491
- kernel/trace/trace_events_hist.c, 2 times
- kernel/trace/trace_events_synth.c, 2 times
- kernel/trace/trace_probe.c, 4 times
- kernel/trace/trace_syscalls.c, line 517
- kernel/trace/tracing_map.c, 4 times
- kernel/watch_queue.c, line 273
- kernel/workqueue.c, 6 times
- lib/crypto/mpi/mpiutil.c, 2 times
- lib/fortify_kunit.c, 2 times
- lib/group_cpus.c, 4 times
- lib/kunit/attributes.c, line 413
- lib/kunit/executor.c, 3 times
- lib/lru_cache.c, 2 times
- lib/objagg.c, line 793
- lib/sg_split.c, line 157
- lib/string_helpers.c, 2 times
- lib/test_memcat_p.c, 2 times
- lib/test_vmalloc.c, line 372
- mm/dmapool_test.c, line 69
- mm/hugetlb_cgroup.c, 2 times
- mm/kmsan/shadow.c, 2 times
- mm/ksm.c, line 3414
- mm/list_lru.c, line 580
- mm/memory-tiers.c, line 912
- mm/mempolicy.c, line 3531
- mm/shrinker_debug.c, line 56
- mm/slab_common.c, line 1050
- mm/slub.c, line 6346
- mm/vmalloc.c, 2 times
- net/9p/trans_xen.c, line 410
- net/bpf/bpf_dummy_struct_ops.c, line 161
- net/bridge/br_ioctl.c, 2 times
- net/bridge/br_mdb.c, line 1118
- net/can/bcm.c, line 1160
- net/ceph/ceph_common.c, line 317
- net/ceph/cls_lock_client.c, line 303
- net/ceph/osd_client.c, line 5082
- net/ceph/osdmap.c, 10 times
- net/core/filter.c, line 586
- net/core/rtnetlink.c, line 228
- net/dsa/dsa.c, line 852
- net/ethtool/common.c, line 634
- net/ethtool/ioctl.c, 5 times
- net/ethtool/privflags.c, line 38
- net/ethtool/strset.c, line 259
- net/ieee802154/nl-phy.c, line 33
- net/ipv4/cipso_ipv4.c, line 171
- net/ipv4/fib_frontend.c, line 595
- net/ipv4/route.c, 2 times
- net/ipv4/tcp_cdg.c, line 381
- net/ipv4/udp_tunnel_nic.c, line 735
- net/ipv6/addrconf.c, line 7297
- net/ipv6/calipso.c, line 136
- net/ipv6/exthdrs.c, line 559
- net/ipv6/route.c, line 1681
- net/ipv6/rpl_iptunnel.c, line 139
- net/ipv6/sit.c, 2 times
- net/mac80211/agg-rx.c, 2 times
- net/mac80211/chan.c, line 1461
- net/mac80211/scan.c, line 1327
- net/mac80211/sta_info.c, line 616
- net/mac80211/util.c, line 1710
- net/ncsi/ncsi-rsp.c, line 829
- net/netfilter/ipvs/ip_vs_mh.c, 2 times
- net/netfilter/ipvs/ip_vs_sync.c, 2 times
- net/netfilter/nfnetlink_cthelper.c, line 195
- net/netfilter/nfnetlink_cttimeout.c, line 77
- net/netfilter/nft_ct.c, line 875
- net/netfilter/nft_set_pipapo.c, line 539
- net/netfilter/x_tables.c, 2 times
- net/netlabel/netlabel_cipso_v4.c, 4 times
- net/netlabel/netlabel_domainhash.c, line 374
- net/netlabel/netlabel_unlabeled.c, line 1428
- net/netlink/af_netlink.c, line 2932
- net/netrom/af_netrom.c, line 1404
- net/openvswitch/vport.c, line 37
- net/packet/af_packet.c, line 4449
- net/rds/connection.c, line 198
- net/rds/ib.c, line 175
- net/rds/rdma.c, 3 times
- net/rose/af_rose.c, line 1564
- net/sched/act_pedit.c, line 54
- net/sched/cls_api.c, line 3316
- net/sched/cls_flower.c, 2 times
- net/sched/sch_htb.c, line 1095
- net/sched/sch_mq.c, line 83
- net/sched/sch_mqprio.c, line 391
- net/sched/sch_multiq.c, line 252
- net/sched/sch_taprio.c, line 2082
- net/sctp/auth.c, line 464
- net/sctp/stream.c, line 319
- net/smc/smc_loopback.c, line 306
- net/smc/smc_rx.c, 3 times
- net/smc/smc_wr.c, 10 times
- net/sunrpc/auth.c, line 298
- net/sunrpc/auth_gss/gss_rpc_upcall.c, line 217
- net/sunrpc/auth_gss/svcauth_gss.c, line 1072
- net/sunrpc/cache.c, line 1743
- net/sunrpc/stats.c, line 129
- net/sunrpc/svc.c, 3 times
- net/sunrpc/xprtrdma/verbs.c, line 642
- net/tipc/netlink_compat.c, line 205
- net/wireless/nl80211.c, 13 times
- net/wireless/of.c, line 101
- net/wireless/util.c, line 2634
- samples/fprobe/fprobe_example.c, line 121
- samples/ftrace/ftrace-ops.c, line 125
- samples/vfio-mdev/mbochs.c, 2 times
- security/apparmor/lsm.c, line 2174
- security/apparmor/policy_unpack.c, 4 times
- security/integrity/ima/ima_api.c, line 55
- security/integrity/ima/ima_crypto.c, line 141
- security/integrity/ima/ima_fs.c, 2 times
- security/integrity/ima/ima_policy.c, line 911
- security/integrity/ima/ima_queue.c, line 223
- security/integrity/ima/ima_template.c, line 370
- security/keys/trusted-keys/trusted_tpm1.c, line 1030
- security/selinux/ss/conditional.c, 5 times
- security/selinux/ss/hashtab.c, 2 times
- security/selinux/ss/policydb.c, 3 times
- security/selinux/ss/services.c, 8 times
- security/security.c, line 1833
- sound/core/oss/mixer_oss.c, line 1298
- sound/core/oss/pcm_plugin.c, line 181
- sound/core/pcm_native.c, line 377
- sound/core/seq/oss/seq_oss_readq.c, line 41
- sound/core/seq/oss/seq_oss_synth.c, line 237
- sound/core/seq/seq_clientmgr.c, line 2206
- sound/core/seq/seq_midi.c, line 322
- sound/core/timer.c, 2 times
- sound/core/ump.c, line 1266
- sound/drivers/vx/vx_pcm.c, 2 times
- sound/firewire/amdtp-stream.c, 3 times
- sound/firewire/fireface/ff-protocol-former.c, line 98
- sound/firewire/motu/motu-stream.c, line 189
- sound/hda/hdac_sysfs.c, 2 times
- sound/pci/ac97/ac97_pcm.c, line 445
- sound/pci/asihpi/hpicmn.c, line 650
- sound/pci/cs46xx/cs46xx_lib.c, 2 times
- sound/pci/ctxfi/ctatc.c, 9 times
- sound/pci/ctxfi/ctmixer.c, 2 times
- sound/pci/ctxfi/ctsrc.c, 2 times
- sound/pci/emu10k1/emufx.c, 4 times
- sound/pci/hda/patch_ca0132.c, line 9922
- sound/pci/ice1712/quartet.c, line 1009
- sound/pci/ice1712/revo.c, line 518
- sound/soc/amd/acp/acp-sdw-sof-mach.c, 2 times
- sound/soc/codecs/arizona-jack.c, line 1170
- sound/soc/codecs/audio-iio-aux.c, 2 times
- sound/soc/codecs/pcm6240.c, 2 times
- sound/soc/codecs/sigmadsp.c, line 305
- sound/soc/codecs/tas2781-fmwlib.c, 9 times
- sound/soc/codecs/wcd9335.c, line 1728
- sound/soc/codecs/wcd934x.c, line 1728
- sound/soc/codecs/wm_adsp.c, line 1433
- sound/soc/generic/simple-card-utils.c, line 155
- sound/soc/intel/avs/loader.c, line 268
- sound/soc/intel/avs/utils.c, line 127
- sound/soc/intel/boards/sof_sdw.c, 2 times
- sound/soc/intel/common/sst-ipc.c, line 119
- sound/soc/qcom/qdsp6/q6asm.c, line 517
- sound/soc/soc-dapm.c, line 3317
- sound/soc/sof/ipc3-control.c, line 705
- sound/soc/sof/ipc3-topology.c, 2 times
- sound/soc/sof/ipc4-control.c, line 827
- sound/soc/sof/ipc4-pcm.c, line 782
- sound/soc/sof/ipc4-topology.c, 2 times
- sound/soc/sof/sof-client-probes-ipc4.c, 2 times
- sound/soc/sof/topology.c, 2 times
- sound/soc/sprd/sprd-pcm-compress.c, line 163
- sound/synth/emux/emux.c, line 89
- sound/synth/emux/emux_effect.c, line 276
- sound/synth/emux/emux_seq.c, 2 times
- sound/usb/6fire/pcm.c, 2 times
- sound/usb/format.c, line 501
- sound/usb/line6/capture.c, line 262
- sound/usb/line6/playback.c, line 407
- sound/usb/mixer.c, 2 times
- sound/usb/mixer_scarlett2.c, line 3941
- sound/usb/usx2y/usbusx2yaudio.c, line 437
- sound/virtio/virtio_jack.c, line 147
- sound/virtio/virtio_pcm.c, line 342
- sound/virtio/virtio_pcm_msg.c, line 138
- sound/xen/xen_snd_front_alsa.c, line 445
- sound/xen/xen_snd_front_evtchnl.c, line 273
- tools/virtio/ringtest/ptr_ring.c, line 50
- virt/kvm/kvm_main.c, line 1071
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.