family 136 arch/arc/include/asm/arcregs.h unsigned int chip_id:16, cpu_id:8, family:8; family 138 arch/arc/include/asm/arcregs.h unsigned int family:8, cpu_id:8, chip_id:16; family 124 arch/arc/kernel/setup.c if (cpu->core.family < 0x54) { /* includes arc700 */ family 127 arch/arc/kernel/setup.c if (cpu->core.family == tbl->id) { family 262 arch/arc/kernel/setup.c if (unlikely(cpu->core.family < 0x34 || cpu->mmu.ver < 3)) family 280 arch/arc/kernel/setup.c core->family, core->cpu_id, core->chip_id); family 133 arch/arc/mm/cache.c if (cpuinfo_arc700[cpu].core.family > 0x51) { family 137 arch/arc/mm/cache.c if (cpuinfo_arc700[cpu].core.family > 0x52) family 950 arch/arm/mach-ep93xx/core.c soc_dev_attr->family = "Cirrus Logic EP93xx"; family 88 arch/arm/mach-imx/cpu.c soc_dev_attr->family = "Freescale i.MX"; family 164 arch/arm/mach-mvebu/mvebu-soc-id.c soc_dev_attr->family = kasprintf(GFP_KERNEL, "Marvell"); family 170 arch/arm/mach-mvebu/mvebu-soc-id.c kfree(soc_dev_attr->family); family 393 arch/arm/mach-mxs/mach-mxs.c soc_dev_attr->family = "Freescale MXS Family"; family 799 arch/arm/mach-omap2/id.c soc_dev_attr->family = omap_get_family(); family 116 arch/arm/mach-zynq/common.c soc_dev_attr->family = kasprintf(GFP_KERNEL, "Xilinx Zynq"); family 123 arch/arm/mach-zynq/common.c kfree(soc_dev_attr->family); family 223 arch/ia64/include/asm/processor.h unsigned char family; family 149 arch/ia64/kernel/patch.c need_workaround = (local_cpu_data->family == 0x1f && local_cpu_data->model == 0); family 6457 arch/ia64/kernel/perfmon.c int family; family 6459 arch/ia64/kernel/perfmon.c family = local_cpu_data->family; family 6465 arch/ia64/kernel/perfmon.c } else if ((*p)->pmu_family == family || (*p)->pmu_family == 0xff) { family 6488 arch/ia64/kernel/perfmon.c local_cpu_data->family); family 718 arch/ia64/kernel/setup.c cpunum, c->vendor, c->family, c->model, family 773 arch/ia64/kernel/setup.c get_model_name(__u8 family, __u8 model) family 781 arch/ia64/kernel/setup.c if (family == 0x7) family 783 arch/ia64/kernel/setup.c else if (family == 0x1f) switch (model) { family 818 arch/ia64/kernel/setup.c unsigned family : 8; family 853 arch/ia64/kernel/setup.c c->family = cpuid.field.family; family 856 arch/ia64/kernel/setup.c c->model_name = get_model_name(c->family, c->model); family 988 arch/ia64/kernel/setup.c if (cpu_info->family == 0x1f) { family 426 arch/ia64/kernel/smpboot.c last_cpuinfo->family != this_cpuinfo->family || family 61 arch/ia64/oprofile/perfmon.c __u8 family = local_cpu_data->family; family 63 arch/ia64/oprofile/perfmon.c switch (family) { family 61 arch/mips/cavium-octeon/executive/octeon-model.c const char *family; family 200 arch/mips/cavium-octeon/executive/octeon-model.c family = "37"; family 202 arch/mips/cavium-octeon/executive/octeon-model.c family = "36"; family 204 arch/mips/cavium-octeon/executive/octeon-model.c family = "38"; family 226 arch/mips/cavium-octeon/executive/octeon-model.c family = "30"; family 228 arch/mips/cavium-octeon/executive/octeon-model.c family = "31"; family 246 arch/mips/cavium-octeon/executive/octeon-model.c family = "30"; family 267 arch/mips/cavium-octeon/executive/octeon-model.c family = "58"; family 293 arch/mips/cavium-octeon/executive/octeon-model.c family = "55"; family 295 arch/mips/cavium-octeon/executive/octeon-model.c family = "57"; family 312 arch/mips/cavium-octeon/executive/octeon-model.c family = "54"; family 314 arch/mips/cavium-octeon/executive/octeon-model.c family = "56"; family 318 arch/mips/cavium-octeon/executive/octeon-model.c family = "50"; family 322 arch/mips/cavium-octeon/executive/octeon-model.c family = "51"; family 324 arch/mips/cavium-octeon/executive/octeon-model.c family = "52"; family 327 arch/mips/cavium-octeon/executive/octeon-model.c family = "61"; family 338 arch/mips/cavium-octeon/executive/octeon-model.c family = "63"; family 340 arch/mips/cavium-octeon/executive/octeon-model.c family = "62"; family 353 arch/mips/cavium-octeon/executive/octeon-model.c family = "66"; family 368 arch/mips/cavium-octeon/executive/octeon-model.c family = "68"; family 381 arch/mips/cavium-octeon/executive/octeon-model.c family = "F71"; family 391 arch/mips/cavium-octeon/executive/octeon-model.c family = "76"; family 393 arch/mips/cavium-octeon/executive/octeon-model.c family = "78"; family 395 arch/mips/cavium-octeon/executive/octeon-model.c family = "77"; family 412 arch/mips/cavium-octeon/executive/octeon-model.c family = "70"; family 414 arch/mips/cavium-octeon/executive/octeon-model.c family = "71"; family 425 arch/mips/cavium-octeon/executive/octeon-model.c family = "73"; family 427 arch/mips/cavium-octeon/executive/octeon-model.c family = "72"; family 439 arch/mips/cavium-octeon/executive/octeon-model.c family = "F75"; family 448 arch/mips/cavium-octeon/executive/octeon-model.c family = "XX"; family 456 arch/mips/cavium-octeon/executive/octeon-model.c if (family[0] != '3') { family 458 arch/mips/cavium-octeon/executive/octeon-model.c if (family[0] == '6') family 477 arch/mips/cavium-octeon/executive/octeon-model.c family = fuse_model; family 486 arch/mips/cavium-octeon/executive/octeon-model.c family = fuse_model; family 490 arch/mips/cavium-octeon/executive/octeon-model.c sprintf(buffer, "CN%s%sp%s-%d-%s", family, core_model, pass, clock_mhz, suffix); family 149 arch/mips/pmcs-msp71xx/msp_setup.c unsigned long family; family 163 arch/mips/pmcs-msp71xx/msp_setup.c family = identify_family(); family 166 arch/mips/pmcs-msp71xx/msp_setup.c switch (family) { family 32 arch/nios2/platform/platform.c soc_dev_attr->family = "Nios II"; family 108 arch/powerpc/include/asm/vio.h enum vio_dev_family family; family 708 arch/powerpc/platforms/pseries/vio.c switch (viodev->family) { family 718 arch/powerpc/platforms/pseries/vio.c dev_warn(dev, "unknown device family: %d\n", viodev->family); family 1334 arch/powerpc/platforms/pseries/vio.c enum vio_dev_family family; family 1343 arch/powerpc/platforms/pseries/vio.c family = PFO; family 1345 arch/powerpc/platforms/pseries/vio.c family = VDEVICE; family 1361 arch/powerpc/platforms/pseries/vio.c if (family == PFO) { family 1377 arch/powerpc/platforms/pseries/vio.c viodev->family = family; family 1378 arch/powerpc/platforms/pseries/vio.c if (viodev->family == VDEVICE) { family 1576 arch/powerpc/platforms/pseries/vio.c if (viodev->family == VDEVICE) family 29 arch/sh/include/asm/bugs.h switch (current_cpu_data.family) { family 77 arch/sh/include/asm/processor.h unsigned int type, family; family 70 arch/sh/kernel/cpu/sh2/probe.c boot_cpu_data.family = CPU_FAMILY_SH2; family 15 arch/sh/kernel/cpu/sh2a/probe.c boot_cpu_data.family = CPU_FAMILY_SH2A; family 107 arch/sh/kernel/cpu/sh3/probe.c boot_cpu_data.family = CPU_FAMILY_SH3; family 57 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.family = CPU_FAMILY_SH4A; family 61 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.family = CPU_FAMILY_SH4AL_DSP; family 72 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.family = CPU_FAMILY_SH4; family 34 arch/sh/kernel/cpu/sh5/probe.c boot_cpu_data.family = CPU_FAMILY_SH5; family 56 arch/sh/kernel/setup.c .family = CPU_FAMILY_UNKNOWN, family 318 arch/sh/mm/cache.c } else if (boot_cpu_data.family == CPU_FAMILY_SH2) { family 324 arch/sh/mm/cache.c if (boot_cpu_data.family == CPU_FAMILY_SH2A) { family 330 arch/sh/mm/cache.c if (boot_cpu_data.family == CPU_FAMILY_SH3) { family 343 arch/sh/mm/cache.c if ((boot_cpu_data.family == CPU_FAMILY_SH4) || family 344 arch/sh/mm/cache.c (boot_cpu_data.family == CPU_FAMILY_SH4A) || family 345 arch/sh/mm/cache.c (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { family 358 arch/sh/mm/cache.c if (boot_cpu_data.family == CPU_FAMILY_SH5) { family 205 arch/x86/boot/cpucheck.c cpu.family != 6 || family 109 arch/x86/boot/cpuflags.c cpu.family = cpu.level; family 10 arch/x86/boot/cpuflags.h int family; /* Family, always */ family 262 arch/x86/events/amd/power.c { .vendor = X86_VENDOR_AMD, .family = 0x15 }, family 35 arch/x86/include/asm/cpu_device_id.h .family = _family, \ family 124 arch/x86/include/asm/intel-family.h .family = _family, \ family 47 arch/x86/include/asm/microcode_amd.h extern void __init load_ucode_amd_bsp(unsigned int family); family 48 arch/x86/include/asm/microcode_amd.h extern void load_ucode_amd_ap(unsigned int family); family 49 arch/x86/include/asm/microcode_amd.h extern int __init save_microcode_in_initrd_amd(unsigned int family); family 52 arch/x86/include/asm/microcode_amd.h static inline void __init load_ucode_amd_bsp(unsigned int family) {} family 53 arch/x86/include/asm/microcode_amd.h static inline void load_ucode_amd_ap(unsigned int family) {} family 55 arch/x86/include/asm/microcode_amd.h save_microcode_in_initrd_amd(unsigned int family) { return -EINVAL; } family 1064 arch/x86/kernel/cpu/amd.c { .family = 4, .model_names = family 559 arch/x86/kernel/cpu/common.c while (info->family) { family 560 arch/x86/kernel/cpu/common.c if (info->family == c->x86) family 1035 arch/x86/kernel/cpu/common.c #define VULNWL_AMD(family, whitelist) \ family 1036 arch/x86/kernel/cpu/common.c VULNWL(AMD, family, X86_MODEL_ANY, whitelist) family 1038 arch/x86/kernel/cpu/common.c #define VULNWL_HYGON(family, whitelist) \ family 1039 arch/x86/kernel/cpu/common.c VULNWL(HYGON, family, X86_MODEL_ANY, whitelist) family 25 arch/x86/kernel/cpu/cpu.h int family; family 973 arch/x86/kernel/cpu/intel.c { .family = 4, .model_names = family 986 arch/x86/kernel/cpu/intel.c { .family = 5, .model_names = family 998 arch/x86/kernel/cpu/intel.c { .family = 6, .model_names = family 1012 arch/x86/kernel/cpu/intel.c { .family = 15, .model_names = family 38 arch/x86/kernel/cpu/match.c m->vendor | m->family | m->model | m->steppings | m->feature; family 42 arch/x86/kernel/cpu/match.c if (m->family != X86_FAMILY_ANY && c->x86 != m->family) family 198 arch/x86/kernel/cpu/microcode/amd.c static unsigned int __verify_patch_size(u8 family, u32 sh_psize, size_t buf_size) family 202 arch/x86/kernel/cpu/microcode/amd.c if (family >= 0x15) family 208 arch/x86/kernel/cpu/microcode/amd.c switch (family) { family 216 arch/x86/kernel/cpu/microcode/amd.c WARN(1, "%s: WTF family: 0x%x\n", __func__, family); family 236 arch/x86/kernel/cpu/microcode/amd.c verify_patch(u8 family, const u8 *buf, size_t buf_size, u32 *patch_size, bool early) family 265 arch/x86/kernel/cpu/microcode/amd.c ret = __verify_patch_size(family, sh_psize, buf_size); family 283 arch/x86/kernel/cpu/microcode/amd.c if (patch_fam != family) family 458 arch/x86/kernel/cpu/microcode/amd.c static bool get_builtin_microcode(struct cpio_data *cp, unsigned int family) family 463 arch/x86/kernel/cpu/microcode/amd.c if (family >= 0x15) family 465 arch/x86/kernel/cpu/microcode/amd.c "amd-ucode/microcode_amd_fam%.2xh.bin", family); family 542 arch/x86/kernel/cpu/microcode/amd.c load_microcode_amd(bool save, u8 family, const u8 *data, size_t size); family 762 arch/x86/kernel/cpu/microcode/amd.c static int verify_and_add_patch(u8 family, u8 *fw, unsigned int leftover, family 770 arch/x86/kernel/cpu/microcode/amd.c ret = verify_patch(family, fw, leftover, patch_size, false); family 803 arch/x86/kernel/cpu/microcode/amd.c static enum ucode_state __load_microcode_amd(u8 family, const u8 *data, family 826 arch/x86/kernel/cpu/microcode/amd.c ret = verify_and_add_patch(family, fw, size, &crnt_size); family 838 arch/x86/kernel/cpu/microcode/amd.c load_microcode_amd(bool save, u8 family, const u8 *data, size_t size) family 846 arch/x86/kernel/cpu/microcode/amd.c ret = __load_microcode_amd(family, data, size); family 327 arch/x86/kernel/cpu/microcode/core.c int vendor, family; family 330 arch/x86/kernel/cpu/microcode/core.c family = x86_cpuid_family(); family 334 arch/x86/kernel/cpu/microcode/core.c if (family >= 6) family 338 arch/x86/kernel/cpu/microcode/core.c if (family >= 0x10) family 391 arch/x86/kernel/cpu/microcode/intel.c unsigned int family, model; family 402 arch/x86/kernel/cpu/microcode/intel.c family = x86_family(eax); family 405 arch/x86/kernel/cpu/microcode/intel.c if ((model >= 5) || (family > 6)) { family 15 arch/x86/kernel/cpu/umc.c { .family = 4, .model_names = family 4248 arch/x86/kvm/svm.c int family, model; family 4250 arch/x86/kvm/svm.c family = guest_cpuid_family(vcpu); family 4253 arch/x86/kvm/svm.c if (family < 0 || model < 0) family 4258 arch/x86/kvm/svm.c if (family == 0x15 && family 676 arch/x86/oprofile/nmi_int.c __u8 family = boot_cpu_data.x86; family 690 arch/x86/oprofile/nmi_int.c switch (family) { family 723 arch/x86/oprofile/nmi_int.c switch (family) { family 656 arch/x86/platform/efi/quirks.c #define ICPU(family, model, quirk_handler) \ family 657 arch/x86/platform/efi/quirks.c { X86_VENDOR_INTEL, family, model, X86_FEATURE_ANY, \ family 472 arch/x86/power/cpu.c c->family); family 480 arch/x86/power/cpu.c .family = 0x15, family 487 arch/x86/power/cpu.c .family = 0x16, family 333 crypto/af_alg.c .family = PF_ALG, family 388 crypto/af_alg.c .family = PF_ALG, family 356 crypto/algif_aead.c .family = PF_ALG, family 452 crypto/algif_aead.c .family = PF_ALG, family 274 crypto/algif_hash.c .family = PF_ALG, family 381 crypto/algif_hash.c .family = PF_ALG, family 96 crypto/algif_rng.c .family = PF_ALG, family 187 crypto/algif_skcipher.c .family = PF_ALG, family 283 crypto/algif_skcipher.c .family = PF_ALG, family 361 drivers/acpi/nfit/core.c static u8 nfit_dsm_revid(unsigned family, unsigned func) family 387 drivers/acpi/nfit/core.c if (family > NVDIMM_FAMILY_MAX) family 391 drivers/acpi/nfit/core.c id = revid_table[family][func]; family 401 drivers/acpi/nfit/core.c if (nfit_mem && nfit_mem->family == NVDIMM_FAMILY_INTEL family 414 drivers/acpi/nfit/core.c if (nfit_mem && nfit_mem->family != call_pkg->nd_family) family 428 drivers/acpi/nfit/core.c if (nfit_mem->family == NVDIMM_FAMILY_INTEL) family 474 drivers/acpi/nfit/core.c guid = to_nfit_uuid(nfit_mem->family); family 545 drivers/acpi/nfit/core.c revid = nfit_dsm_revid(nfit_mem->family, func); family 1588 drivers/acpi/nfit/core.c if (nfit_mem->family < 0) family 1590 drivers/acpi/nfit/core.c return sprintf(buf, "%d\n", nfit_mem->family); family 1592 drivers/acpi/nfit/core.c static DEVICE_ATTR_RO(family); family 1600 drivers/acpi/nfit/core.c if (nfit_mem->family < 0) family 1784 drivers/acpi/nfit/core.c const guid_t *guid = to_nfit_uuid(nfit_mem->family); family 1785 drivers/acpi/nfit/core.c u8 revid = nfit_dsm_revid(nfit_mem->family, func); family 1822 drivers/acpi/nfit/core.c if (nfit_mem->family == NVDIMM_FAMILY_INTEL) family 1834 drivers/acpi/nfit/core.c int family = -1; family 1839 drivers/acpi/nfit/core.c nfit_mem->family = NVDIMM_FAMILY_INTEL; family 1894 drivers/acpi/nfit/core.c if (family < 0 || i == default_dsm_family) family 1895 drivers/acpi/nfit/core.c family = i; family 1898 drivers/acpi/nfit/core.c nfit_mem->family = family; family 1901 drivers/acpi/nfit/core.c else if (nfit_mem->family == NVDIMM_FAMILY_INTEL) { family 1905 drivers/acpi/nfit/core.c } else if (nfit_mem->family == NVDIMM_FAMILY_HPE1) { family 1907 drivers/acpi/nfit/core.c } else if (nfit_mem->family == NVDIMM_FAMILY_HPE2) { family 1911 drivers/acpi/nfit/core.c } else if (nfit_mem->family == NVDIMM_FAMILY_MSFT) { family 1913 drivers/acpi/nfit/core.c } else if (nfit_mem->family == NVDIMM_FAMILY_HYPERV) { family 1917 drivers/acpi/nfit/core.c nfit_mem->family = -1; family 1929 drivers/acpi/nfit/core.c guid = to_nfit_uuid(nfit_mem->family); family 1932 drivers/acpi/nfit/core.c nfit_dsm_revid(nfit_mem->family, i), family 1942 drivers/acpi/nfit/core.c if (family == NVDIMM_FAMILY_INTEL family 2003 drivers/acpi/nfit/core.c static const struct nvdimm_security_ops *acpi_nfit_get_security_ops(int family) family 2005 drivers/acpi/nfit/core.c switch (family) { family 2061 drivers/acpi/nfit/core.c if (nfit_mem->family == NVDIMM_FAMILY_INTEL) { family 2071 drivers/acpi/nfit/core.c if (nfit_mem->family == NVDIMM_FAMILY_HYPERV) family 2087 drivers/acpi/nfit/core.c acpi_nfit_get_security_ops(nfit_mem->family)); family 207 drivers/acpi/nfit/nfit.h int family; family 35 drivers/base/soc.c static DEVICE_ATTR(family, S_IRUGO, soc_info_get, NULL); family 56 drivers/base/soc.c && (soc_dev->attr->family != NULL)) family 81 drivers/base/soc.c return sprintf(buf, "%s\n", soc_dev->attr->family); family 201 drivers/base/soc.c if (match->family && family 202 drivers/base/soc.c (!attr->family || !glob_match(match->family, attr->family))) family 250 drivers/base/soc.c if (!(matches->machine || matches->family || family 751 drivers/char/xilinx_hwicap/xilinx_hwicap.c const char *family; family 768 drivers/char/xilinx_hwicap/xilinx_hwicap.c family = of_get_property(op->dev.of_node, "xlnx,family", NULL); family 770 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (family) { family 771 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (!strcmp(family, "virtex2p")) family 773 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex4")) family 775 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex5")) family 777 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex6")) family 797 drivers/char/xilinx_hwicap/xilinx_hwicap.c const char *family; family 811 drivers/char/xilinx_hwicap/xilinx_hwicap.c family = pdev->dev.platform_data; family 813 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (family) { family 814 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (!strcmp(family, "virtex2p")) family 816 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex4")) family 818 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex5")) family 820 drivers/char/xilinx_hwicap/xilinx_hwicap.c else if (!strcmp(family, "virtex6")) family 531 drivers/crypto/caam/ctrl.c { .family = "Freescale i.MX" }, family 208 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.family != AF_INET && family 209 drivers/crypto/chelsio/chcr_ipsec.c x->props.family != AF_INET6) { family 290 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.family == AF_INET) { family 125 drivers/crypto/chelsio/chtls/chtls_cm.h struct proto *tcp_prot, int family) family 128 drivers/crypto/chelsio/chtls/chtls_cm.h chtls_tcp_ops->family = family; family 1459 drivers/edac/i7core_edac.c char *family; family 1484 drivers/edac/i7core_edac.c family = "Xeon 35xx/ i7core"; family 1488 drivers/edac/i7core_edac.c family = "i7-800/i5-700"; family 1492 drivers/edac/i7core_edac.c family = "Xeon 34xx"; family 1496 drivers/edac/i7core_edac.c family = "Xeon 55xx"; family 1500 drivers/edac/i7core_edac.c family = "Xeon 56xx / i7-900"; family 1504 drivers/edac/i7core_edac.c family = "unknown"; family 1507 drivers/edac/i7core_edac.c edac_dbg(0, "Detected a processor type %s\n", family); family 785 drivers/gpu/drm/amd/amdgpu/amdgpu.h uint32_t family; family 1139 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c byte_align = (adev->family == AMDGPU_FAMILY_VI && family 516 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c config[no_regs++] = adev->family; family 556 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->family >= AMDGPU_FAMILY_AI) family 1546 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_CZ; family 1548 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_VI; family 1560 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_SI; family 1573 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_CI; family 1575 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_KV; family 1590 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_RV; family 1592 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_AI; family 1601 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->family = AMDGPU_FAMILY_NV; family 677 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c dev_info.family = adev->family; family 754 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (adev->family >= AMDGPU_FAMILY_NV) family 1141 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (adev->family <= AMDGPU_FAMILY_CZ && family 2354 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->family == AMDGPU_FAMILY_SI || /* not implemented yet */ family 2355 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->family == AMDGPU_FAMILY_KV) && /* not implemented yet */ family 2379 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((adev->family == AMDGPU_FAMILY_SI || /* not implemented yet */ family 2380 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->family == AMDGPU_FAMILY_KV) && /* not implemented yet */ family 393 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->family < AMDGPU_FAMILY_AI) { family 439 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (acrtc_state->stream && adev->family >= AMDGPU_FAMILY_AI && family 663 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c init_data.asic_id.chip_family = adev->family; family 5531 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (adev->family < AMDGPU_FAMILY_AI && family 54 drivers/gpu/drm/amd/powerplay/amd_powerplay.c hwmgr->chip_family = adev->family; family 128 drivers/gpu/drm/meson/meson_drv.h enum vpu_compatible family) family 130 drivers/gpu/drm/meson/meson_drv.h return priv->compat == family; family 230 drivers/gpu/drm/nouveau/dispnv04/arb.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT) family 257 drivers/gpu/drm/nouveau/dispnv04/arb.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_KELVIN) family 151 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 273 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (dev->overlayAdaptor && drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) family 549 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 555 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 559 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 562 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) family 568 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) { family 580 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) family 652 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 713 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) { family 888 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN) { family 58 drivers/gpu/drm/nouveau/dispnv04/cursor.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 290 drivers/gpu/drm/nouveau/dispnv04/dac.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CURIE) { family 131 drivers/gpu/drm/nouveau/dispnv04/disp.h if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS && impl != 0x0100 && family 150 drivers/gpu/drm/nouveau/dispnv04/disp.h if (impl == 0x0310 || impl == 0x0340 || drm->client.device.info.family >= NV_DEVICE_INFO_V0_CURIE) family 186 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS && reg1 >= NV_PRAMDAC_VPLL_COEFF) { family 398 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) family 454 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) { family 475 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) family 526 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) { family 607 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN) family 610 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 619 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { family 623 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 626 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 638 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { family 672 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { family 694 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 697 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) { family 720 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN) family 723 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) family 730 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 736 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { family 744 drivers/gpu/drm/nouveau/dispnv04/hw.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_KELVIN) { family 173 drivers/gpu/drm/nouveau/dispnv04/hw.h if (head && drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 188 drivers/gpu/drm/nouveau/dispnv04/hw.h if (head && drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 337 drivers/gpu/drm/nouveau/dispnv04/hw.h return drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS ? NV10_CURSOR_SIZE : NV04_CURSOR_SIZE; family 359 drivers/gpu/drm/nouveau/dispnv04/hw.h if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT) { family 384 drivers/gpu/drm/nouveau/dispnv04/hw.h if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 400 drivers/gpu/drm/nouveau/dispnv04/hw.h if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT) family 438 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) family 495 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) { family 154 drivers/gpu/drm/nouveau/dispnv50/disp.c if (device->info.family == NV_DEVICE_INFO_V0_PASCAL) family 36 drivers/gpu/drm/nouveau/include/nvif/cl0080.h __u8 family; family 92 drivers/gpu/drm/nouveau/nouveau_abi16.c switch (drm->client.device.info.family) { family 268 drivers/gpu/drm/nouveau/nouveau_abi16.c if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) { family 310 drivers/gpu/drm/nouveau/nouveau_abi16.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) family 319 drivers/gpu/drm/nouveau/nouveau_abi16.c if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { family 335 drivers/gpu/drm/nouveau/nouveau_abi16.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 531 drivers/gpu/drm/nouveau/nouveau_abi16.c if (unlikely(device->info.family >= NV_DEVICE_INFO_V0_FERMI)) family 552 drivers/gpu/drm/nouveau/nouveau_abi16.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 248 drivers/gpu/drm/nouveau/nouveau_backlight.c switch (device->info.family) { family 334 drivers/gpu/drm/nouveau/nouveau_bios.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_MAXWELL) family 337 drivers/gpu/drm/nouveau/nouveau_bios.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) family 1253 drivers/gpu/drm/nouveau/nouveau_bios.c if (drm->client.device.info.family > NV_DEVICE_INFO_V0_TNT) family 2067 drivers/gpu/drm/nouveau/nouveau_bios.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) family 167 drivers/gpu/drm/nouveau/nouveau_bo.c if (device->info.family < NV_DEVICE_INFO_V0_TESLA) { family 229 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) { family 238 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) { family 260 drivers/gpu/drm/nouveau/nouveau_bo.c if (cli->device.info.family > NV_DEVICE_INFO_V0_CURIE && family 361 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS && family 419 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA && family 676 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) { family 692 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) family 1137 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) { family 1341 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { family 1380 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) { family 1418 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) { family 1550 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA || family 1565 drivers/gpu/drm/nouveau/nouveau_bo.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA || family 165 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 175 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family >= NV_DEVICE_INFO_V0_FERMI) family 184 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family == NV_DEVICE_INFO_V0_TNT) { family 378 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family < NV_DEVICE_INFO_V0_FERMI) { family 379 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 396 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 453 drivers/gpu/drm/nouveau/nouveau_chan.c if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { family 512 drivers/gpu/drm/nouveau/nouveau_connector.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) { family 522 drivers/gpu/drm/nouveau/nouveau_connector.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_KELVIN || family 523 drivers/gpu/drm/nouveau/nouveau_connector.c (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS && family 1016 drivers/gpu/drm/nouveau/nouveau_connector.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KEPLER) family 1018 drivers/gpu/drm/nouveau/nouveau_connector.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_FERMI) family 238 drivers/gpu/drm/nouveau/nouveau_display.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA && family 517 drivers/gpu/drm/nouveau/nouveau_display.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_CELSIUS) { family 521 drivers/gpu/drm/nouveau/nouveau_display.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) { family 525 drivers/gpu/drm/nouveau/nouveau_display.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI) { family 498 drivers/gpu/drm/nouveau/nouveau_dmem.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_PASCAL) family 306 drivers/gpu/drm/nouveau/nouveau_drm.c if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) { family 345 drivers/gpu/drm/nouveau/nouveau_drm.c if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) { family 365 drivers/gpu/drm/nouveau/nouveau_drm.c if (device->info.family < NV_DEVICE_INFO_V0_TESLA) { family 388 drivers/gpu/drm/nouveau/nouveau_drm.c if (device->info.family < NV_DEVICE_INFO_V0_FERMI) { family 484 drivers/gpu/drm/nouveau/nouveau_drm.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_VOLTA) { family 77 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_TESLA) family 80 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_FERMI) family 109 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_TESLA) family 112 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_FERMI) family 141 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_TESLA) family 144 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (device->info.family < NV_DEVICE_INFO_V0_FERMI) family 275 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) family 278 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI) family 355 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (chan && device->info.family >= NV_DEVICE_INFO_V0_TESLA) { family 212 drivers/gpu/drm/nouveau/nouveau_gem.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) family 248 drivers/gpu/drm/nouveau/nouveau_gem.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_FERMI) family 251 drivers/gpu/drm/nouveau/nouveau_gem.c if (cli->device.info.family >= NV_DEVICE_INFO_V0_TESLA) family 521 drivers/gpu/drm/nouveau/nouveau_gem.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) { family 94 drivers/gpu/drm/nouveau/nouveau_sgdma.c if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) family 855 drivers/gpu/drm/nouveau/nouveau_svm.c if (drm->client.device.info.family > NV_DEVICE_INFO_V0_PASCAL) family 204 drivers/gpu/drm/nouveau/nouveau_ttm.c if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA && family 212 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) { family 19 drivers/gpu/drm/nouveau/nouveau_vga.c if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE && family 172 drivers/gpu/drm/nouveau/nv04_fbcon.c device->info.family >= NV_DEVICE_INFO_V0_CELSIUS ? family 166 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_04: args->v0.family = NV_DEVICE_INFO_V0_TNT; break; family 168 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_11: args->v0.family = NV_DEVICE_INFO_V0_CELSIUS; break; family 169 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_20: args->v0.family = NV_DEVICE_INFO_V0_KELVIN; break; family 170 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_30: args->v0.family = NV_DEVICE_INFO_V0_RANKINE; break; family 171 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_40: args->v0.family = NV_DEVICE_INFO_V0_CURIE; break; family 172 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_50: args->v0.family = NV_DEVICE_INFO_V0_TESLA; break; family 173 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_C0: args->v0.family = NV_DEVICE_INFO_V0_FERMI; break; family 174 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_E0: args->v0.family = NV_DEVICE_INFO_V0_KEPLER; break; family 175 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GM100: args->v0.family = NV_DEVICE_INFO_V0_MAXWELL; break; family 176 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GP100: args->v0.family = NV_DEVICE_INFO_V0_PASCAL; break; family 177 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GV100: args->v0.family = NV_DEVICE_INFO_V0_VOLTA; break; family 178 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case TU100: args->v0.family = NV_DEVICE_INFO_V0_TURING; break; family 180 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.family = 0; family 1291 drivers/gpu/drm/omapdrm/dss/dss.c { .family = "AM43xx", .data = &am43xx_dss_feats }, family 904 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c .family = "OMAP4", family 549 drivers/gpu/drm/omapdrm/omap_drv.c { .family = "OMAP3", .data = (void *)0x3430 }, family 550 drivers/gpu/drm/omapdrm/omap_drv.c { .family = "OMAP4", .data = (void *)0x4430 }, family 551 drivers/gpu/drm/omapdrm/omap_drv.c { .family = "OMAP5", .data = (void *)0x5430 }, family 552 drivers/gpu/drm/omapdrm/omap_drv.c { .family = "DRA7", .data = (void *)0x0752 }, family 123 drivers/gpu/drm/radeon/atom.c if (rdev->family == CHIP_RV515) family 1348 drivers/gpu/drm/radeon/atom.c if (rdev->family < CHIP_R600) { family 162 drivers/gpu/drm/radeon/atombios_crtc.c && rdev->family >= CHIP_RV515 && rdev->family <= CHIP_R580) { family 578 drivers/gpu/drm/radeon/atombios_crtc.c if ((rdev->family == CHIP_RS600) || family 579 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_RS690) || family 580 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_RS740)) family 589 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family < CHIP_RV770) family 595 drivers/gpu/drm/radeon/atombios_crtc.c if (((rdev->family == CHIP_RS780) || (rdev->family == CHIP_RS880)) family 634 drivers/gpu/drm/radeon/atombios_crtc.c rdev->family != CHIP_RS780 && family 635 drivers/gpu/drm/radeon/atombios_crtc.c rdev->family != CHIP_RS880) family 1280 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_TAHITI) { family 1283 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_BONAIRE) { family 1322 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_CAYMAN) family 1346 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_BONAIRE) { family 1353 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_BONAIRE) { family 1360 drivers/gpu/drm/radeon/atombios_crtc.c } else if ((rdev->family == CHIP_TAHITI) || family 1361 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_PITCAIRN)) family 1363 drivers/gpu/drm/radeon/atombios_crtc.c else if ((rdev->family == CHIP_VERDE) || family 1364 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_OLAND) || family 1365 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_HAINAN)) /* for completeness. HAINAN has no display hw */ family 1430 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_BONAIRE) family 1442 drivers/gpu/drm/radeon/atombios_crtc.c if ((rdev->family >= CHIP_BONAIRE) && family 1572 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_R600) family 1588 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_R600) { family 1611 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_RV770) { family 1625 drivers/gpu/drm/radeon/atombios_crtc.c if (rdev->family >= CHIP_R600) family 1903 drivers/gpu/drm/radeon/atombios_crtc.c if ((rdev->family == CHIP_KABINI) || family 1904 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_MULLINS)) { family 2209 drivers/gpu/drm/radeon/atombios_crtc.c if ((rdev->family == CHIP_ARUBA) || family 2210 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_KAVERI) || family 2211 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_BONAIRE) || family 2212 drivers/gpu/drm/radeon/atombios_crtc.c (rdev->family == CHIP_HAWAII)) family 48 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 65 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 74 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 508 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family <= CHIP_RV410) family 1553 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 2159 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family == CHIP_PALM) { family 2401 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 2503 drivers/gpu/drm/radeon/atombios_encoders.c if (rdev->family >= CHIP_R600) family 1460 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1463 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1466 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1482 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1485 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1488 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1494 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1497 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1500 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1515 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1518 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1521 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1537 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1540 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1543 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1549 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1552 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1555 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1570 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1573 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1576 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1592 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1595 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1598 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 1604 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) { family 1607 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_TURKS) { family 1610 drivers/gpu/drm/radeon/btc_dpm.c } else if (rdev->family == CHIP_CAICOS) { family 2688 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_BARTS) family 2709 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->family == CHIP_TURKS) family 261 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->family == CHIP_HAWAII) family 3412 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->family == CHIP_BONAIRE) family 5815 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->family == CHIP_HAWAII) { family 208 drivers/gpu/drm/radeon/ci_smc.c switch (rdev->family) { family 1634 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 1900 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 1994 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 2160 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) { family 3128 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_HAWAII) family 3190 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 4069 drivers/gpu/drm/radeon/cik.c if (rdev->family != CHIP_HAWAII) family 4287 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) { family 4310 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) { family 4399 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) family 5509 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) { family 5673 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_HAWAII) family 5970 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 5997 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_BONAIRE) family 6432 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) family 6748 drivers/gpu/drm/radeon/cik.c switch (rdev->family) { family 8328 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_KAVERI) { family 8407 drivers/gpu/drm/radeon/cik.c if (rdev->family == CHIP_HAWAII) { family 181 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->family == CHIP_CEDAR) family 183 drivers/gpu/drm/radeon/cypress_dpm.c else if (rdev->family == CHIP_REDWOOD) family 616 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->family >= CHIP_BARTS) { family 1094 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 1095 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK)) family 1097 drivers/gpu/drm/radeon/cypress_dpm.c else if (rdev->family == CHIP_CEDAR) family 1101 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 1102 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK)) { family 1131 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 1132 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK)) { family 1189 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 1190 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK)) { family 1428 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->family <= CHIP_HEMLOCK) family 2089 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 2090 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK)) family 2128 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->family == CHIP_CYPRESS) || family 2129 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_HEMLOCK) || family 2130 drivers/gpu/drm/radeon/cypress_dpm.c (rdev->family == CHIP_JUNIPER)) family 1002 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 1457 drivers/gpu/drm/radeon/evergreen.c if (rdev->family == CHIP_JUNIPER) { family 1646 drivers/gpu/drm/radeon/evergreen.c (rdev->family >= CHIP_BARTS) && family 2428 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family == CHIP_JUNIPER) || family 2429 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_CYPRESS) || family 2430 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_HEMLOCK) || family 2431 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_BARTS)) family 2895 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family == CHIP_PALM) || family 2896 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO) || family 2897 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO2)) { family 3154 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 3401 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family == CHIP_PALM) || family 3402 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO) || family 3403 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO2)) family 3452 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) { family 3549 drivers/gpu/drm/radeon/evergreen.c if (rdev->family <= CHIP_SUMO2) family 3582 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 3605 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 3646 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 3717 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family == CHIP_PALM) || family 3718 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO) || family 3719 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO2)) family 3751 drivers/gpu/drm/radeon/evergreen.c if ((rdev->family == CHIP_PALM) || family 3752 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO) || family 3753 drivers/gpu/drm/radeon/evergreen.c (rdev->family == CHIP_SUMO2)) { family 3791 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4165 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BONAIRE) { family 4204 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_TAHITI) { family 4232 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BONAIRE) { family 4234 drivers/gpu/drm/radeon/evergreen.c } else if (rdev->family >= CHIP_TAHITI) { family 4283 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BONAIRE) { family 4285 drivers/gpu/drm/radeon/evergreen.c } else if (rdev->family >= CHIP_TAHITI) { family 4394 drivers/gpu/drm/radeon/evergreen.c if (rdev->family == CHIP_ARUBA) { family 4425 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_ARUBA) { family 4430 drivers/gpu/drm/radeon/evergreen.c } else if (rdev->family >= CHIP_CAYMAN) { family 4463 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4512 drivers/gpu/drm/radeon/evergreen.c if (rdev->family == CHIP_ARUBA) family 4521 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4548 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4561 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4570 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) family 4593 drivers/gpu/drm/radeon/evergreen.c if (rdev->family == CHIP_ARUBA) family 4865 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 4898 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_CAYMAN) { family 5406 drivers/gpu/drm/radeon/evergreen.c switch (rdev->family) { family 5445 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BARTS) family 5452 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BARTS) family 5482 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BARTS) { family 5514 drivers/gpu/drm/radeon/evergreen.c if (rdev->family >= CHIP_BARTS) { family 5531 drivers/gpu/drm/radeon/evergreen.c if (rdev->family < CHIP_BARTS) family 792 drivers/gpu/drm/radeon/evergreen_cs.c if (!r600_fmt_is_valid_texture(surf.format, p->family)) { family 1156 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family < CHIP_CAYMAN) { family 1163 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family < CHIP_CAYMAN) { family 1312 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family >= CHIP_CAYMAN) { family 1321 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family < CHIP_CAYMAN) { family 1711 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family >= CHIP_CAYMAN) { family 1725 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family < CHIP_CAYMAN) { family 1842 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family < CHIP_CAYMAN) { family 2685 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev->family >= CHIP_CAYMAN) { family 2951 drivers/gpu/drm/radeon/evergreen_cs.c if (p->family < CHIP_CAYMAN) { family 3040 drivers/gpu/drm/radeon/evergreen_cs.c if (p->family < CHIP_CAYMAN) { family 3139 drivers/gpu/drm/radeon/evergreen_cs.c if (p->family < CHIP_CAYMAN) { family 692 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 1314 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_MULLINS) family 1691 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 1869 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) { family 1895 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_MULLINS) family 1948 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) { family 2055 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 2075 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 2232 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) { family 2293 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) { family 2438 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 2767 drivers/gpu/drm/radeon/kv_dpm.c if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS) family 458 drivers/gpu/drm/radeon/ni.c switch (rdev->family) { family 647 drivers/gpu/drm/radeon/ni.c switch (rdev->family) { family 724 drivers/gpu/drm/radeon/ni.c switch (rdev->family) { family 819 drivers/gpu/drm/radeon/ni.c if ((rdev->family >= CHIP_BARTS) && (rdev->family <= CHIP_CAYMAN)) { family 904 drivers/gpu/drm/radeon/ni.c switch (rdev->family) { family 1252 drivers/gpu/drm/radeon/ni.c if (rdev->family == CHIP_ARUBA) { family 4294 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->family >= CHIP_TAHITI) family 819 drivers/gpu/drm/radeon/r100.c switch (rdev->family) { family 1008 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_R100) || (rdev->family == CHIP_RV100) || family 1009 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV200) || (rdev->family == CHIP_RS100) || family 1010 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS200)) { family 1013 drivers/gpu/drm/radeon/r100.c } else if ((rdev->family == CHIP_R200) || family 1014 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV250) || family 1015 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV280) || family 1016 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS300)) { family 1019 drivers/gpu/drm/radeon/r100.c } else if ((rdev->family == CHIP_R300) || family 1020 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_R350) || family 1021 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV350) || family 1022 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV380) || family 1023 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS400) || family 1024 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS480)) { family 1027 drivers/gpu/drm/radeon/r100.c } else if ((rdev->family == CHIP_R420) || family 1028 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_R423) || family 1029 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV410)) { family 1032 drivers/gpu/drm/radeon/r100.c } else if ((rdev->family == CHIP_RS690) || family 1033 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS740)) { family 1036 drivers/gpu/drm/radeon/r100.c } else if (rdev->family == CHIP_RS600) { family 1039 drivers/gpu/drm/radeon/r100.c } else if ((rdev->family == CHIP_RV515) || family 1040 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_R520) || family 1041 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV530) || family 1042 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_R580) || family 1043 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV560) || family 1044 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RV570)) { family 2050 drivers/gpu/drm/radeon/r100.c if (p->rdev->family >= CHIP_R200) family 2176 drivers/gpu/drm/radeon/r100.c if (rdev->family < CHIP_R300) family 2182 drivers/gpu/drm/radeon/r100.c if (rdev->family >= CHIP_RV515) family 2189 drivers/gpu/drm/radeon/r100.c if (rdev->family >= CHIP_RV515) family 2383 drivers/gpu/drm/radeon/r100.c if (rdev->family < CHIP_R300) { family 2385 drivers/gpu/drm/radeon/r100.c if (rdev->family <= CHIP_RS200) family 2427 drivers/gpu/drm/radeon/r100.c if (rdev->family <= CHIP_RS200) { family 2458 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RV200 || rdev->family == CHIP_RS200) { family 2462 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RV100 || family 2463 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_RS100 || family 2464 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_RS200) { family 2708 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RV100) || family 2709 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS100) || family 2710 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS200)) { family 2721 drivers/gpu/drm/radeon/r100.c } else if (rdev->family <= CHIP_RV280) { family 2744 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RV280 || family 2745 drivers/gpu/drm/radeon/r100.c rdev->family >= CHIP_RV350) { family 2911 drivers/gpu/drm/radeon/r100.c } else if (rdev->family < CHIP_R200) { family 3100 drivers/gpu/drm/radeon/r100.c if (rdev->family <= CHIP_RS200) { family 3110 drivers/gpu/drm/radeon/r100.c } else if (rdev->family <= CHIP_RV280) { family 3128 drivers/gpu/drm/radeon/r100.c if (rdev->family < CHIP_R300) family 3294 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RV100) || (rdev->flags & RADEON_IS_IGP)) { /* RV100, M6, IGPs */ family 3298 drivers/gpu/drm/radeon/r100.c } else if (rdev->family == CHIP_R300 || family 3299 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_R350) { /* r300, r350 */ family 3303 drivers/gpu/drm/radeon/r100.c } else if (rdev->family == CHIP_RV350 || family 3304 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_RV380) { family 3309 drivers/gpu/drm/radeon/r100.c } else if (rdev->family == CHIP_R420 || family 3310 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_R423 || family 3311 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_RV410) { family 3335 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RV100) || rdev->flags & RADEON_IS_IGP) { family 3336 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RS480) /* don't think rs400 */ family 3343 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RS400 || family 3344 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_RS480) { family 3372 drivers/gpu/drm/radeon/r100.c if (rdev->family == CHIP_RV410 || family 3373 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_R420 || family 3374 drivers/gpu/drm/radeon/r100.c rdev->family == CHIP_R423) family 3394 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RV100) || family 3500 drivers/gpu/drm/radeon/r100.c if (critical_point == 0 && mode2 && rdev->family == CHIP_R300) { family 3509 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_R350) && family 3525 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RS400) || family 3526 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS480)) { family 3565 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_R350) && family 3575 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RS100) || family 3576 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS200)) family 3608 drivers/gpu/drm/radeon/r100.c if (critical_point2 == 0 && rdev->family == CHIP_R300) { family 3616 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RS400) || family 3617 drivers/gpu/drm/radeon/r100.c (rdev->family == CHIP_RS480)) { family 3857 drivers/gpu/drm/radeon/r100.c if (rdev->family > CHIP_RV200) family 3863 drivers/gpu/drm/radeon/r100.c if (rdev->family > CHIP_RV200) family 3885 drivers/gpu/drm/radeon/r100.c if ((rdev->family == CHIP_RV250) || (rdev->family == CHIP_RV280)) family 342 drivers/gpu/drm/radeon/r300.c if (rdev->family == CHIP_R300 && family 368 drivers/gpu/drm/radeon/r300.c if ((rdev->family == CHIP_R300 && rdev->pdev->device != 0x4144) || family 369 drivers/gpu/drm/radeon/r300.c (rdev->family == CHIP_R350 && rdev->pdev->device != 0x4148)) { family 752 drivers/gpu/drm/radeon/r300.c if (p->rdev->family < CHIP_RV515) family 759 drivers/gpu/drm/radeon/r300.c if (p->rdev->family < CHIP_RV515) { family 818 drivers/gpu/drm/radeon/r300.c if (p->rdev->family < CHIP_RV515) { family 968 drivers/gpu/drm/radeon/r300.c if (p->rdev->family < CHIP_R420) { family 1035 drivers/gpu/drm/radeon/r300.c if (p->rdev->family >= CHIP_RV515) { family 1157 drivers/gpu/drm/radeon/r300.c if (p->rdev->family >= CHIP_RV350) family 1163 drivers/gpu/drm/radeon/r300.c if (p->rdev->family == CHIP_RV530) family 1373 drivers/gpu/drm/radeon/r300.c if ((rdev->family == CHIP_RV350) || (rdev->family == CHIP_RV380)) family 1398 drivers/gpu/drm/radeon/r300.c if (rdev->family == CHIP_R300 || family 1399 drivers/gpu/drm/radeon/r300.c rdev->family == CHIP_R350 || family 1400 drivers/gpu/drm/radeon/r300.c rdev->family == CHIP_RV350) family 152 drivers/gpu/drm/radeon/r420.c if (rdev->family == CHIP_RV530) { family 206 drivers/gpu/drm/radeon/r420.c if (rdev->family == CHIP_R420) family 442 drivers/gpu/drm/radeon/r420.c if (rdev->family == CHIP_R420) family 78 drivers/gpu/drm/radeon/r520.c if (rdev->family == CHIP_RV530) { family 217 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RS780) family 238 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV670 && rdev->family < CHIP_RS780) family 251 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RS780) family 279 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RS780) family 370 drivers/gpu/drm/radeon/r600.c if ((rdev->flags & RADEON_IS_IGP) || (rdev->family == CHIP_R600)) { family 652 drivers/gpu/drm/radeon/r600.c if (rdev->family == CHIP_R600) { family 1080 drivers/gpu/drm/radeon/r600.c if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740) && family 1481 drivers/gpu/drm/radeon/r600.c if (rdev->family == CHIP_RS780 || rdev->family == CHIP_RS880) { family 1623 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) { family 1699 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 1722 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 1758 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 1831 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 1847 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 1959 drivers/gpu/drm/radeon/r600.c if (rdev->family <= CHIP_RV740) { family 2006 drivers/gpu/drm/radeon/r600.c switch (rdev->family) { family 2157 drivers/gpu/drm/radeon/r600.c if (rdev->family == CHIP_RV670) family 2162 drivers/gpu/drm/radeon/r600.c if ((rdev->family > CHIP_R600)) family 2166 drivers/gpu/drm/radeon/r600.c if (((rdev->family) == CHIP_R600) || family 2167 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV630) || family 2168 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV610) || family 2169 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV620) || family 2170 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS780) || family 2171 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS880)) { family 2186 drivers/gpu/drm/radeon/r600.c if (((rdev->family) == CHIP_RV610) || family 2187 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV620) || family 2188 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS780) || family 2189 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS880)) { family 2194 drivers/gpu/drm/radeon/r600.c } else if (((rdev->family) == CHIP_R600) || family 2195 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV630)) { family 2216 drivers/gpu/drm/radeon/r600.c if ((rdev->family) == CHIP_R600) { family 2230 drivers/gpu/drm/radeon/r600.c } else if (((rdev->family) == CHIP_RV610) || family 2231 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV620) || family 2232 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS780) || family 2233 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS880)) { family 2250 drivers/gpu/drm/radeon/r600.c } else if (((rdev->family) == CHIP_RV630) || family 2251 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV635)) { family 2265 drivers/gpu/drm/radeon/r600.c } else if ((rdev->family) == CHIP_RV670) { family 2288 drivers/gpu/drm/radeon/r600.c if (((rdev->family) == CHIP_RV610) || family 2289 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RV620) || family 2290 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS780) || family 2291 drivers/gpu/drm/radeon/r600.c ((rdev->family) == CHIP_RS880)) { family 2315 drivers/gpu/drm/radeon/r600.c switch (rdev->family) { family 2358 drivers/gpu/drm/radeon/r600.c switch (rdev->family) { family 2444 drivers/gpu/drm/radeon/r600.c switch (rdev->family) { family 2538 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_CEDAR) { family 2542 drivers/gpu/drm/radeon/r600.c } else if (rdev->family >= CHIP_RV770) { family 2585 drivers/gpu/drm/radeon/r600.c if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_HEMLOCK)) { family 2698 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) { family 2873 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) family 2933 drivers/gpu/drm/radeon/r600.c if (rdev->family < CHIP_CAYMAN) family 2941 drivers/gpu/drm/radeon/r600.c if (emit_wait && (rdev->family >= CHIP_CEDAR)) { family 3536 drivers/gpu/drm/radeon/r600.c if ((rdev->family >= CHIP_RV770) && family 3537 drivers/gpu/drm/radeon/r600.c (rdev->family <= CHIP_RV740)) { family 3575 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_RV770) { family 3689 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_CEDAR) family 3738 drivers/gpu/drm/radeon/r600.c if (rdev->family >= CHIP_CEDAR) family 3810 drivers/gpu/drm/radeon/r600.c if ((rdev->family > CHIP_R600) && (rdev->family < CHIP_RV770)) { family 3813 drivers/gpu/drm/radeon/r600.c } else if (rdev->family >= CHIP_RV770) { family 3903 drivers/gpu/drm/radeon/r600.c if ((rdev->family > CHIP_R600) && (rdev->family < CHIP_RV770)) { family 3905 drivers/gpu/drm/radeon/r600.c } else if (rdev->family >= CHIP_RV770) { family 4390 drivers/gpu/drm/radeon/r600.c if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740) && family 4510 drivers/gpu/drm/radeon/r600.c if (rdev->family <= CHIP_R600) family 4526 drivers/gpu/drm/radeon/r600.c if ((rdev->family == CHIP_RV670) || family 4527 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV620) || family 4528 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV635)) { family 4551 drivers/gpu/drm/radeon/r600.c if ((rdev->family == CHIP_RV670) || family 4552 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV620) || family 4553 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV635)) { family 4578 drivers/gpu/drm/radeon/r600.c if ((rdev->family == CHIP_RV670) || family 4579 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV620) || family 4580 drivers/gpu/drm/radeon/r600.c (rdev->family == CHIP_RV635)) { family 189 drivers/gpu/drm/radeon/r600_cs.c bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family) family 194 drivers/gpu/drm/radeon/r600_cs.c if (family < color_formats_table[format].min_family) family 1529 drivers/gpu/drm/radeon/r600_cs.c if (p->family >= CHIP_RV770) family 1549 drivers/gpu/drm/radeon/r600_cs.c if (!r600_fmt_is_valid_texture(format, p->family)) { family 1683 drivers/gpu/drm/radeon/r600_cs.c if (p->family >= CHIP_RV770 || pkt->count) { family 2081 drivers/gpu/drm/radeon/r600_cs.c if (p->family < CHIP_RS780) { family 2123 drivers/gpu/drm/radeon/r600_cs.c if (p->family >= CHIP_RV770 || p->family == CHIP_R600) { family 2280 drivers/gpu/drm/radeon/r600_cs.c if (p->rdev->family < CHIP_RV770) { family 2284 drivers/gpu/drm/radeon/r600_cs.c } else if (p->rdev->family <= CHIP_RV740) { family 2464 drivers/gpu/drm/radeon/r600_cs.c if (p->family >= CHIP_RV770) { family 2500 drivers/gpu/drm/radeon/r600_cs.c if (p->family < CHIP_RV770) { family 164 drivers/gpu/drm/radeon/r600_dma.c if (rdev->family >= CHIP_RV770) family 1081 drivers/gpu/drm/radeon/radeon.h unsigned family; family 2315 drivers/gpu/drm/radeon/radeon.h enum radeon_family family; family 2605 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_RV100(rdev) ((rdev->family == CHIP_RV100) || \ family 2606 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV200) || \ family 2607 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS100) || \ family 2608 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS200) || \ family 2609 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV250) || \ family 2610 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV280) || \ family 2611 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS300)) family 2612 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_R300(rdev) ((rdev->family == CHIP_R300) || \ family 2613 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV350) || \ family 2614 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_R350) || \ family 2615 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV380) || \ family 2616 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_R420) || \ family 2617 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_R423) || \ family 2618 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RV410) || \ family 2619 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS400) || \ family 2620 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS480)) family 2629 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_AVIVO(rdev) ((rdev->family >= CHIP_RS600)) family 2630 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE2(rdev) ((rdev->family == CHIP_RS600) || \ family 2631 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS690) || \ family 2632 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_RS740) || \ family 2633 drivers/gpu/drm/radeon/radeon.h (rdev->family >= CHIP_R600)) family 2634 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE3(rdev) ((rdev->family >= CHIP_RV620)) family 2635 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE32(rdev) ((rdev->family >= CHIP_RV730)) family 2636 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE4(rdev) ((rdev->family >= CHIP_CEDAR)) family 2637 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE41(rdev) ((rdev->family >= CHIP_PALM) && \ family 2639 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE5(rdev) ((rdev->family >= CHIP_BARTS)) family 2640 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE6(rdev) ((rdev->family >= CHIP_ARUBA)) family 2641 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \ family 2643 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND)) family 2644 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_NODCE(rdev) ((rdev->family == CHIP_HAINAN)) family 2645 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE8(rdev) ((rdev->family >= CHIP_BONAIRE)) family 2646 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE81(rdev) ((rdev->family == CHIP_KAVERI)) family 2647 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE82(rdev) ((rdev->family == CHIP_BONAIRE)) family 2648 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_DCE83(rdev) ((rdev->family == CHIP_KABINI) || \ family 2649 drivers/gpu/drm/radeon/radeon.h (rdev->family == CHIP_MULLINS)) family 2891 drivers/gpu/drm/radeon/radeon.h bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family); family 168 drivers/gpu/drm/radeon/radeon_agp.c if (rdev->family <= CHIP_RV350) family 256 drivers/gpu/drm/radeon/radeon_agp.c if (rdev->family < CHIP_R200) { family 96 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family < CHIP_RV515) { family 102 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family <= CHIP_R580) { family 106 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family >= CHIP_R420) { family 110 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family >= CHIP_RV515) { family 114 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480) { family 118 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { family 122 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_RS600) { family 126 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_RS780 || rdev->family == CHIP_RS880) { family 131 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family >= CHIP_BONAIRE) { family 134 drivers/gpu/drm/radeon/radeon_asic.c } else if (rdev->family >= CHIP_R600) { family 158 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family >= CHIP_R600) { family 161 drivers/gpu/drm/radeon/radeon_asic.c } else if (rdev->family >= CHIP_RV515 || family 162 drivers/gpu/drm/radeon/radeon_asic.c rdev->family == CHIP_RV380 || family 163 drivers/gpu/drm/radeon/radeon_asic.c rdev->family == CHIP_RV410 || family 164 drivers/gpu/drm/radeon/radeon_asic.c rdev->family == CHIP_R423) { family 2331 drivers/gpu/drm/radeon/radeon_asic.c switch (rdev->family) { family 2425 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_CEDAR) family 2442 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_CAICOS) family 2471 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_HAINAN) family 2473 drivers/gpu/drm/radeon/radeon_asic.c else if (rdev->family == CHIP_OLAND) family 2477 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_HAINAN) { family 2484 drivers/gpu/drm/radeon/radeon_asic.c switch (rdev->family) { family 2589 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_BONAIRE) { family 2633 drivers/gpu/drm/radeon/radeon_asic.c if (rdev->family == CHIP_KAVERI) { family 57 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->family == CHIP_R420) || family 58 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->family == CHIP_R423) || family 59 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->family == CHIP_RV410)) { family 1317 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family == CHIP_RS600) family 2447 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->family >= CHIP_BARTS) && !(rdev->flags & RADEON_IS_IGP)) { family 2485 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_PALM) { family 2494 drivers/gpu/drm/radeon/radeon_atombios.c } else if (rdev->family >= CHIP_BONAIRE) { family 2503 drivers/gpu/drm/radeon/radeon_atombios.c } else if (rdev->family >= CHIP_TAHITI) { family 2516 drivers/gpu/drm/radeon/radeon_atombios.c } else if (rdev->family >= CHIP_CEDAR) { family 2869 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family <= CHIP_RV770) { family 2878 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family == CHIP_RV770) { family 2902 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_TAHITI) family 4081 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) { family 4099 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) { family 4114 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4128 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4143 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4156 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4175 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) { family 4338 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) { family 4360 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4398 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4415 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 4481 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->family >= CHIP_R600) family 327 drivers/gpu/drm/radeon/radeon_bios.c if (rdev->family == CHIP_RV730) { family 346 drivers/gpu/drm/radeon/radeon_bios.c if (rdev->family == CHIP_RV730) { family 588 drivers/gpu/drm/radeon/radeon_bios.c else if (rdev->family >= CHIP_BARTS) family 590 drivers/gpu/drm/radeon/radeon_bios.c else if (rdev->family >= CHIP_RV770) family 592 drivers/gpu/drm/radeon/radeon_bios.c else if (rdev->family >= CHIP_R600) family 594 drivers/gpu/drm/radeon/radeon_bios.c else if (rdev->family >= CHIP_RS600) family 127 drivers/gpu/drm/radeon/radeon_clocks.c if (rdev->family >= CHIP_R420) { family 212 drivers/gpu/drm/radeon/radeon_clocks.c if (rdev->family < CHIP_RS600) { family 246 drivers/gpu/drm/radeon/radeon_clocks.c if (rdev->family >= CHIP_R420) { family 497 drivers/gpu/drm/radeon/radeon_clocks.c if ((rdev->family == CHIP_RS400) || family 498 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RS480)) { family 545 drivers/gpu/drm/radeon/radeon_clocks.c } else if (rdev->family >= CHIP_RV350) { family 673 drivers/gpu/drm/radeon/radeon_clocks.c if (((rdev->family == CHIP_RV250) && family 677 drivers/gpu/drm/radeon/radeon_clocks.c || ((rdev->family == CHIP_RV100) family 688 drivers/gpu/drm/radeon/radeon_clocks.c if ((rdev->family == CHIP_RV200) || family 689 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV250) || family 690 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV280)) { family 695 drivers/gpu/drm/radeon/radeon_clocks.c if (((rdev->family == CHIP_RV200) || family 696 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV250)) && family 707 drivers/gpu/drm/radeon/radeon_clocks.c if (((rdev->family == CHIP_RV200) || family 708 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV250)) && family 750 drivers/gpu/drm/radeon/radeon_clocks.c } else if ((rdev->family == CHIP_RS400) || family 751 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RS480)) { family 789 drivers/gpu/drm/radeon/radeon_clocks.c } else if (rdev->family >= CHIP_RV350) { family 857 drivers/gpu/drm/radeon/radeon_clocks.c } else if ((rdev->family == CHIP_R300) || family 858 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_R350)) { family 870 drivers/gpu/drm/radeon/radeon_clocks.c if ((rdev->family == CHIP_R300) || family 871 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_R350)) { family 888 drivers/gpu/drm/radeon/radeon_clocks.c if ((rdev->family == CHIP_RV200) || family 889 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV250) || family 890 drivers/gpu/drm/radeon/radeon_clocks.c (rdev->family == CHIP_RV280)) { family 465 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS300 || family 466 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS400 || family 467 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS480) family 469 drivers/gpu/drm/radeon/radeon_combios.c else if (rdev->family == CHIP_R300 || family 470 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_R350) { family 477 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_R200 || family 478 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_R300 || family 479 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_R350) { family 482 drivers/gpu/drm/radeon/radeon_combios.c } else if (rdev->family == CHIP_RS300 || family 483 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS400 || family 484 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS480) family 486 drivers/gpu/drm/radeon/radeon_combios.c else if (rdev->family >= CHIP_RV350) { family 556 drivers/gpu/drm/radeon/radeon_combios.c switch (rdev->family) { family 703 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_R300 || family 704 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_R350) { family 706 drivers/gpu/drm/radeon/radeon_combios.c } else if (rdev->family == CHIP_RS300 || family 707 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS400 || family 708 drivers/gpu/drm/radeon/radeon_combios.c rdev->family == CHIP_RS480) { family 717 drivers/gpu/drm/radeon/radeon_combios.c } else if ((rdev->family == CHIP_R200) || family 718 drivers/gpu/drm/radeon/radeon_combios.c (rdev->family >= CHIP_R300)) { family 821 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS400) family 857 drivers/gpu/drm/radeon/radeon_combios.c p_dac->ps2_pdac_adj = default_primarydac_adj[rdev->family]; family 1004 drivers/gpu/drm/radeon/radeon_combios.c tv_dac->ps2_tvdac_adj = default_tvdac_adj[rdev->family]; family 1005 drivers/gpu/drm/radeon/radeon_combios.c if ((rdev->flags & RADEON_IS_MOBILITY) && (rdev->family == CHIP_RV250)) family 1326 drivers/gpu/drm/radeon/radeon_combios.c default_tmds_pll[rdev->family][i].value; family 1327 drivers/gpu/drm/radeon/radeon_combios.c tmds->tmds_pll[i].freq = default_tmds_pll[rdev->family][i].freq; family 1625 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family != CHIP_R100 && rdev->family != CHIP_R200) { family 2601 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family != CHIP_R100 && rdev->family != CHIP_R200) { family 3282 drivers/gpu/drm/radeon/radeon_combios.c if ((rdev->family < CHIP_R200) && family 3294 drivers/gpu/drm/radeon/radeon_combios.c if ((rdev->family < CHIP_R200) family 3374 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS480 && family 3382 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS480 && family 3390 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS480 && family 3398 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS480 && family 3405 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->family == CHIP_RS400 && family 1136 drivers/gpu/drm/radeon/radeon_connectors.c if (rdev->family >= CHIP_RS600) family 1216 drivers/gpu/drm/radeon/radeon_connectors.c if (rdev->family >= CHIP_R600 family 1294 drivers/gpu/drm/radeon/radeon_connectors.c if ((rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) && family 1489 drivers/gpu/drm/radeon/radeon_connectors.c (rdev->family == CHIP_RV100) && family 2447 drivers/gpu/drm/radeon/radeon_connectors.c if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480) family 135 drivers/gpu/drm/radeon/radeon_cs.c p->rdev->family == CHIP_RS780 || family 136 drivers/gpu/drm/radeon/radeon_cs.c p->rdev->family == CHIP_RS880)) { family 221 drivers/gpu/drm/radeon/radeon_cs.c if (p->rdev->family >= CHIP_TAHITI) { family 230 drivers/gpu/drm/radeon/radeon_cs.c if (p->rdev->family >= CHIP_CAYMAN) { family 235 drivers/gpu/drm/radeon/radeon_cs.c } else if (p->rdev->family >= CHIP_RV770) { family 582 drivers/gpu/drm/radeon/radeon_cs.c if ((rdev->family >= CHIP_TAHITI) && family 617 drivers/gpu/drm/radeon/radeon_cs.c if ((rdev->family >= CHIP_TAHITI) && family 683 drivers/gpu/drm/radeon/radeon_cs.c parser.family = rdev->family; family 753 drivers/gpu/drm/radeon/radeon_cs.c if (rdev->family < CHIP_R600) { family 108 drivers/gpu/drm/radeon/radeon_cursor.c if (rdev->family >= CHIP_RV770) { family 242 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family < CHIP_R600) { family 271 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family < CHIP_R300) { family 503 drivers/gpu/drm/radeon/radeon_device.c } else if (rdev->family < CHIP_R300) { family 509 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_R600) { family 515 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_PALM) { family 660 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_BONAIRE && family 667 drivers/gpu/drm/radeon/radeon_device.c (rdev->family < CHIP_R600)) family 703 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_R600) family 1105 drivers/gpu/drm/radeon/radeon_device.c static int radeon_gart_size_auto(enum radeon_family family) family 1108 drivers/gpu/drm/radeon/radeon_device.c if (family >= CHIP_TAHITI) family 1110 drivers/gpu/drm/radeon/radeon_device.c else if (family >= CHIP_RV770) family 1134 drivers/gpu/drm/radeon/radeon_device.c radeon_gart_size = radeon_gart_size_auto(rdev->family); family 1140 drivers/gpu/drm/radeon/radeon_device.c radeon_gart_size = radeon_gart_size_auto(rdev->family); family 1144 drivers/gpu/drm/radeon/radeon_device.c radeon_gart_size = radeon_gart_size_auto(rdev->family); family 1301 drivers/gpu/drm/radeon/radeon_device.c rdev->family = flags & RADEON_FAMILY_MASK; family 1313 drivers/gpu/drm/radeon/radeon_device.c radeon_family_name[rdev->family], pdev->vendor, pdev->device, family 1346 drivers/gpu/drm/radeon/radeon_device.c if ((rdev->family >= CHIP_RS400) && family 1359 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_CAYMAN) family 1361 drivers/gpu/drm/radeon/radeon_device.c else if (rdev->family >= CHIP_CEDAR) family 1376 drivers/gpu/drm/radeon/radeon_device.c (rdev->family <= CHIP_RS740)) family 1379 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family == CHIP_CEDAR) family 1404 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_BONAIRE) { family 1416 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_BONAIRE) family 1483 drivers/gpu/drm/radeon/radeon_device.c (rdev->family == CHIP_TURKS) && family 1545 drivers/gpu/drm/radeon/radeon_device.c if (rdev->family >= CHIP_BONAIRE) family 1642 drivers/gpu/drm/radeon/radeon_device.c if (freeze && rdev->family >= CHIP_CEDAR && !(rdev->flags & RADEON_IS_IGP)) { family 690 drivers/gpu/drm/radeon/radeon_display.c if (rdev->family >= CHIP_BONAIRE) { family 1480 drivers/gpu/drm/radeon/radeon_display.c if ((ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515)) && family 1557 drivers/gpu/drm/radeon/radeon_display.c if (rdev->family >= CHIP_R600) { family 1587 drivers/gpu/drm/radeon/radeon_display.c if (radeon_use_pflipirq == 2 && rdev->family >= CHIP_R600) family 53 drivers/gpu/drm/radeon/radeon_encoders.c if (rdev->family >= CHIP_R600) family 102 drivers/gpu/drm/radeon/radeon_encoders.c if ((rdev->family == CHIP_RS300) || family 103 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS400) || family 104 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS480)) family 136 drivers/gpu/drm/radeon/radeon_encoders.c if ((rdev->family == CHIP_RS300) || family 137 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS400) || family 138 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS480)) family 147 drivers/gpu/drm/radeon/radeon_encoders.c if ((rdev->family == CHIP_RS600) || family 148 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS690) || family 149 drivers/gpu/drm/radeon/radeon_encoders.c (rdev->family == CHIP_RS740)) family 188 drivers/gpu/drm/radeon/radeon_encoders.c else if (rdev->family < CHIP_R600) family 147 drivers/gpu/drm/radeon/radeon_fb.c if (rdev->family >= CHIP_R600) family 81 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480 || family 82 drivers/gpu/drm/radeon/radeon_gart.c rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { family 107 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480 || family 108 drivers/gpu/drm/radeon/radeon_gart.c rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { family 157 drivers/gpu/drm/radeon/radeon_gem.c if ((rdev->family < CHIP_CAYMAN) || family 188 drivers/gpu/drm/radeon/radeon_gem.c if ((rdev->family < CHIP_CAYMAN) || family 312 drivers/gpu/drm/radeon/radeon_gem.c if (rdev->family < CHIP_R600) family 107 drivers/gpu/drm/radeon/radeon_i2c.c if ((rdev->family >= CHIP_R200) && !ASIC_IS_AVIVO(rdev)) { family 110 drivers/gpu/drm/radeon/radeon_i2c.c if (rdev->family >= CHIP_RV350) family 112 drivers/gpu/drm/radeon/radeon_i2c.c else if ((rdev->family == CHIP_R300) || family 113 drivers/gpu/drm/radeon/radeon_i2c.c (rdev->family == CHIP_R350)) family 247 drivers/gpu/drm/radeon/radeon_i2c.c switch (rdev->family) { family 290 drivers/gpu/drm/radeon/radeon_i2c.c if (rdev->family == CHIP_R520) family 367 drivers/gpu/drm/radeon/radeon_i2c.c switch (rdev->family) { family 825 drivers/gpu/drm/radeon/radeon_i2c.c switch (rdev->family) { family 937 drivers/gpu/drm/radeon/radeon_i2c.c ((rdev->family <= CHIP_RS480) || family 938 drivers/gpu/drm/radeon/radeon_i2c.c ((rdev->family >= CHIP_RV515) && (rdev->family <= CHIP_R580))))) { family 202 drivers/gpu/drm/radeon/radeon_ib.c if (rdev->family >= CHIP_BONAIRE) { family 211 drivers/gpu/drm/radeon/radeon_irq_kms.c if (rdev->family < CHIP_RV380) family 223 drivers/gpu/drm/radeon/radeon_irq_kms.c if (rdev->family < CHIP_BONAIRE) { family 260 drivers/gpu/drm/radeon/radeon_irq_kms.c if (rdev->family == CHIP_RS690) family 267 drivers/gpu/drm/radeon/radeon_irq_kms.c if (rdev->family == CHIP_RV515) family 271 drivers/gpu/drm/radeon/radeon_irq_kms.c if (rdev->family >= CHIP_PALM) family 250 drivers/gpu/drm/radeon/radeon_kms.c if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) family 275 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family == CHIP_HAWAII) { family 289 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 291 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 293 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 295 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 297 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 299 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 343 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 346 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 349 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 352 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 354 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 356 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 363 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 365 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 367 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 369 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 371 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 373 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 383 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 385 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 387 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 389 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 391 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 393 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 401 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family < CHIP_CAYMAN) family 407 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family < CHIP_CAYMAN) family 412 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 414 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 416 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 418 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 420 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 422 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 429 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family < CHIP_R600) { family 438 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 440 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 442 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 444 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 450 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 452 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 485 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) { family 488 drivers/gpu/drm/radeon/radeon_kms.c } else if (rdev->family >= CHIP_TAHITI) { family 497 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) { family 509 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) { family 511 drivers/gpu/drm/radeon/radeon_kms.c } else if (rdev->family >= CHIP_TAHITI) { family 546 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_BONAIRE) family 548 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_TAHITI) family 550 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CAYMAN) family 552 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_CEDAR) family 554 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_RV770) family 556 drivers/gpu/drm/radeon/radeon_kms.c else if (rdev->family >= CHIP_R600) family 645 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_CAYMAN) { family 720 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->family >= CHIP_CAYMAN && file_priv->driver_priv) { family 76 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if ((rdev->family == CHIP_RS100) || family 77 drivers/gpu/drm/radeon/radeon_legacy_crtc.c (rdev->family == CHIP_RS200)) { family 672 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if ((rdev->family == CHIP_RS400) || (rdev->family == CHIP_RS480)) family 703 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if ((rdev->family == CHIP_RS400) || (rdev->family == CHIP_RS480)) family 964 drivers/gpu/drm/radeon/radeon_legacy_crtc.c (rdev->family == CHIP_RS300) || family 965 drivers/gpu/drm/radeon/radeon_legacy_crtc.c (rdev->family == CHIP_RS400) || family 966 drivers/gpu/drm/radeon/radeon_legacy_crtc.c (rdev->family == CHIP_RS480)) { family 244 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_RV410) family 425 drivers/gpu/drm/radeon/radeon_legacy_encoders.c pdata->negative = (rdev->family != CHIP_RV200 && family 426 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family != CHIP_RV250 && family 427 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family != CHIP_RV280 && family 428 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family != CHIP_RV350); family 597 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { family 606 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { family 796 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_RV280) { family 815 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV280)) { family 828 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200 || family 829 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_R100 || family 855 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { family 864 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (ASIC_IS_R300(rdev) || rdev->family == CHIP_R200) { family 991 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if ((rdev->family == CHIP_R200) || ASIC_IS_R300(rdev)) { family 1000 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if ((rdev->family == CHIP_R200) || ASIC_IS_R300(rdev)) { family 1050 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200) family 1062 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200) { family 1070 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R420 || family 1071 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_R423 || family 1072 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_RV410) family 1087 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200) family 1095 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R420 || family 1096 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_R423 || family 1097 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_RV410) family 1111 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200) { family 1169 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family != CHIP_R200) { family 1171 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R420 || family 1172 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_R423 || family 1173 drivers/gpu/drm/radeon/radeon_legacy_encoders.c rdev->family == CHIP_RV410) { family 1216 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if (rdev->family != CHIP_R200) family 1218 drivers/gpu/drm/radeon/radeon_legacy_encoders.c else if (rdev->family == CHIP_R200) family 1221 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family >= CHIP_R200) family 1241 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family >= CHIP_R200) { family 1251 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family >= CHIP_R200) { family 1266 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if (rdev->family == CHIP_R200) { family 1275 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if (rdev->family == CHIP_R200) { family 1288 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if (rdev->family != CHIP_R200) family 1290 drivers/gpu/drm/radeon/radeon_legacy_encoders.c else if (rdev->family == CHIP_R200) family 1293 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family >= CHIP_R200) family 1576 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (rdev->family == CHIP_R200) { family 229 drivers/gpu/drm/radeon/radeon_object.c if (rdev->family >= CHIP_RV610 && rdev->family <= CHIP_RV635) family 681 drivers/gpu/drm/radeon/radeon_object.c if (rdev->family >= CHIP_CEDAR) { family 82 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->family == CHIP_ARUBA) { family 192 drivers/gpu/drm/radeon/radeon_pm.c (rdev->family >= CHIP_BARTS) && family 1036 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family < CHIP_BARTS) || (rdev->flags & RADEON_IS_IGP)) { family 1225 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family >= CHIP_BARTS) && family 1226 drivers/gpu/drm/radeon/radeon_pm.c (rdev->family <= CHIP_CAYMAN) && family 1276 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family >= CHIP_BARTS) && family 1277 drivers/gpu/drm/radeon/radeon_pm.c (rdev->family <= CHIP_CAYMAN) && family 1323 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family >= CHIP_BARTS) && family 1324 drivers/gpu/drm/radeon/radeon_pm.c (rdev->family <= CHIP_CAYMAN) && family 1414 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family >= CHIP_BARTS) && family 1415 drivers/gpu/drm/radeon/radeon_pm.c (rdev->family <= CHIP_CAYMAN) && family 1466 drivers/gpu/drm/radeon/radeon_pm.c switch (rdev->family) { family 1478 drivers/gpu/drm/radeon/radeon_pm.c else if ((rdev->family >= CHIP_RV770) && family 1516 drivers/gpu/drm/radeon/radeon_pm.c else if ((rdev->family >= CHIP_RV770) && family 1884 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->family >= CHIP_PALM) && (rdev->flags & RADEON_IS_IGP)) family 980 drivers/gpu/drm/radeon/radeon_ttm.c if (rdev->family >= CHIP_CEDAR) family 74 drivers/gpu/drm/radeon/radeon_uvd.c switch (rdev->family) { family 454 drivers/gpu/drm/radeon/radeon_uvd.c if (p->rdev->family >= CHIP_PALM) family 67 drivers/gpu/drm/radeon/radeon_vce.c switch (rdev->family) { family 138 drivers/gpu/drm/radeon/radeon_vce.c if (rdev->family < CHIP_BONAIRE) family 243 drivers/gpu/drm/radeon/radeon_vce.c if (rdev->family < CHIP_BONAIRE) family 757 drivers/gpu/drm/radeon/radeon_vm.c uint64_t frag_flags = ((rdev->family == CHIP_CAYMAN) || family 758 drivers/gpu/drm/radeon/radeon_vm.c (rdev->family == CHIP_ARUBA)) ? family 760 drivers/gpu/drm/radeon/radeon_vm.c uint64_t frag_align = ((rdev->family == CHIP_CAYMAN) || family 761 drivers/gpu/drm/radeon/radeon_vm.c (rdev->family == CHIP_ARUBA)) ? 0x200 : 0x80; family 147 drivers/gpu/drm/radeon/rs400.c if (rdev->family == CHIP_RS690 || (rdev->family == CHIP_RS740)) { family 156 drivers/gpu/drm/radeon/rs400.c if ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740)) { family 180 drivers/gpu/drm/radeon/rs400.c if ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740)) { family 323 drivers/gpu/drm/radeon/rs400.c if (rdev->family == CHIP_RS690 || (rdev->family == CHIP_RS740)) { family 829 drivers/gpu/drm/radeon/rs600.c switch (rdev->family) { family 290 drivers/gpu/drm/radeon/rs690.c if (((rdev->family == CHIP_RS780) || (rdev->family == CHIP_RS880)) && family 609 drivers/gpu/drm/radeon/rs690.c ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740))) { family 621 drivers/gpu/drm/radeon/rs690.c if ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740)) family 623 drivers/gpu/drm/radeon/rs690.c if ((rdev->family == CHIP_RS780) || (rdev->family == CHIP_RS880)) family 344 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_R600) { family 345 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_RV770) family 354 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_RV770) family 387 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_RV770) { family 435 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_R600) { family 437 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_RV770) family 442 drivers/gpu/drm/radeon/rv515.c if (rdev->family >= CHIP_RV770) family 974 drivers/gpu/drm/radeon/rv515.c if ((rdev->family >= CHIP_RV610) && family 1297 drivers/gpu/drm/radeon/rv515.c (rdev->family == CHIP_RV515)) { family 1856 drivers/gpu/drm/radeon/rv6xx_dpm.c if ((rdev->family == CHIP_RV610) || (rdev->family == CHIP_RV630)) { family 1971 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->family >= CHIP_RV670) family 57 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV740) family 722 drivers/gpu/drm/radeon/rv770.c switch (rdev->family) { family 923 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV740) family 1160 drivers/gpu/drm/radeon/rv770.c if ((rdev->family == CHIP_RV710) || (rdev->family == CHIP_RV730)) family 1195 drivers/gpu/drm/radeon/rv770.c switch (rdev->family) { family 1356 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV770) family 1384 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV730) { family 1418 drivers/gpu/drm/radeon/rv770.c if (rdev->family != CHIP_RV740) family 1424 drivers/gpu/drm/radeon/rv770.c if (rdev->family != CHIP_RV770) family 1429 drivers/gpu/drm/radeon/rv770.c switch (rdev->family) { family 1442 drivers/gpu/drm/radeon/rv770.c if (rdev->family != CHIP_RV770) { family 1467 drivers/gpu/drm/radeon/rv770.c switch (rdev->family) { family 1495 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV710) family 1540 drivers/gpu/drm/radeon/rv770.c if (rdev->family == CHIP_RV710) family 1547 drivers/gpu/drm/radeon/rv770.c switch (rdev->family) { family 150 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV770) family 627 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) family 630 drivers/gpu/drm/radeon/rv770_dpm.c else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 639 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) { family 654 drivers/gpu/drm/radeon/rv770_dpm.c } else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 789 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) family 799 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) family 808 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV770) && !pi->mem_gddr5) { family 1090 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) { family 1206 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1213 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) family 1215 drivers/gpu/drm/radeon/rv770_dpm.c else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1373 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || family 1374 drivers/gpu/drm/radeon/rv770_dpm.c (rdev->family == CHIP_RV710) || family 1375 drivers/gpu/drm/radeon/rv770_dpm.c (rdev->family == CHIP_RV740)) family 1545 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family == CHIP_RV740) family 1547 drivers/gpu/drm/radeon/rv770_dpm.c else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1677 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) { family 1768 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1797 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1808 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 1960 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 2027 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) family 2196 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family >= CHIP_CEDAR) { family 2226 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family >= CHIP_CEDAR) family 2235 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family >= CHIP_BARTS) { family 2441 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family >= CHIP_CEDAR) { family 2485 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->family >= CHIP_CEDAR) { family 2577 drivers/gpu/drm/radeon/rv770_dpm.c if ((rdev->family == CHIP_RV770) && family 496 drivers/gpu/drm/radeon/rv770_smc.c switch (rdev->family) { family 1235 drivers/gpu/drm/radeon/si.c switch (rdev->family) { family 1602 drivers/gpu/drm/radeon/si.c switch (rdev->family) { family 1689 drivers/gpu/drm/radeon/si.c switch (rdev->family) { family 2323 drivers/gpu/drm/radeon/si.c if (rdev->family == CHIP_ARUBA) family 2516 drivers/gpu/drm/radeon/si.c switch(rdev->family) { family 2947 drivers/gpu/drm/radeon/si.c DRM_ERROR("unknown asic: 0x%x\n", rdev->family); family 3102 drivers/gpu/drm/radeon/si.c switch (rdev->family) { family 4829 drivers/gpu/drm/radeon/si.c if (rdev->family == CHIP_TAHITI) { family 5749 drivers/gpu/drm/radeon/si.c switch (rdev->family) { family 6643 drivers/gpu/drm/radeon/si.c if (rdev->family == CHIP_VERDE) { family 7315 drivers/gpu/drm/radeon/si.c if ((rdev->family != CHIP_OLAND) && (rdev->family != CHIP_HAINAN)) { family 7364 drivers/gpu/drm/radeon/si.c if ((rdev->family == CHIP_OLAND) || (rdev->family == CHIP_HAINAN)) family 7371 drivers/gpu/drm/radeon/si.c if ((rdev->family == CHIP_OLAND) || (rdev->family == CHIP_HAINAN)) family 1874 drivers/gpu/drm/radeon/si_dpm.c if (rdev->family == CHIP_TAHITI) { family 1908 drivers/gpu/drm/radeon/si_dpm.c } else if (rdev->family == CHIP_PITCAIRN) { family 1945 drivers/gpu/drm/radeon/si_dpm.c } else if (rdev->family == CHIP_VERDE) { family 1997 drivers/gpu/drm/radeon/si_dpm.c } else if (rdev->family == CHIP_OLAND) { family 2047 drivers/gpu/drm/radeon/si_dpm.c } else if (rdev->family == CHIP_HAINAN) { family 2981 drivers/gpu/drm/radeon/si_dpm.c if (rdev->family == CHIP_HAINAN) { family 2995 drivers/gpu/drm/radeon/si_dpm.c } else if (rdev->family == CHIP_OLAND) { family 5833 drivers/gpu/drm/radeon/si_dpm.c if (rdev->family == CHIP_VERDE) { family 233 drivers/gpu/drm/radeon/si_smc.c switch (rdev->family) { family 156 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 184 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 196 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 217 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) family 226 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 232 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 251 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 259 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) { family 1752 drivers/gpu/drm/radeon/sumo_dpm.c if ((rdev->family == CHIP_PALM) && (hw_rev < 3)) family 1763 drivers/gpu/drm/radeon/sumo_dpm.c if (rdev->family == CHIP_PALM) family 100 drivers/gpu/drm/radeon/sumo_smc.c if ((rdev->family == CHIP_SUMO) || (rdev->family == CHIP_SUMO2)) { family 164 drivers/gpu/drm/radeon/uvd_v1_0.c if (rdev->family < CHIP_RV740) family 212 drivers/gpu/drm/radeon/uvd_v1_0.c switch (rdev->family) { family 505 drivers/gpu/drm/radeon/uvd_v1_0.c if (rdev->family < CHIP_RV740) family 105 drivers/gpu/drm/radeon/uvd_v2_2.c if (rdev->family == CHIP_RV770) family 138 drivers/gpu/drm/radeon/uvd_v2_2.c switch (rdev->family) { family 163 drivers/gpu/drm/radeon/vce_v1_0.c switch (rdev->family) { family 162 drivers/hwmon/hwmon-vid.c u8 family; family 259 drivers/hwmon/hwmon-vid.c static u8 find_vrm(u8 family, u8 model, u8 stepping, u8 vendor) family 265 drivers/hwmon/hwmon-vid.c family == vrm_models[i].family && family 147 drivers/infiniband/core/addr.c u32 seq, u16 family) family 157 drivers/infiniband/core/addr.c if (family == AF_INET) { family 317 drivers/infiniband/core/addr.c const void *daddr, u32 seq, u16 family) family 322 drivers/infiniband/core/addr.c return ib_nl_ip_send_msg(dev_addr, daddr, seq, family); family 348 drivers/infiniband/core/addr.c static bool has_gateway(const struct dst_entry *dst, sa_family_t family) family 353 drivers/infiniband/core/addr.c if (family == AF_INET) { family 372 drivers/infiniband/core/addr.c sa_family_t family = dst_in->sa_family; family 375 drivers/infiniband/core/addr.c if (has_gateway(dst, family) && dev_addr->network == RDMA_NETWORK_IB) family 376 drivers/infiniband/core/addr.c return ib_nl_fetch_ha(dev_addr, daddr, seq, family); family 244 drivers/infiniband/sw/rxe/rxe_net.c udp_cfg.family = AF_INET6; family 247 drivers/infiniband/sw/rxe/rxe_net.c udp_cfg.family = AF_INET; family 96 drivers/input/rmi4/rmi_f54.c u8 family; family 629 drivers/input/rmi4/rmi_f54.c f54->family = buf[5]; family 640 drivers/input/rmi4/rmi_f54.c f54->family); family 131 drivers/isdn/mISDN/socket.c maddr->family = AF_ISDN; family 476 drivers/isdn/mISDN/socket.c if (!maddr || maddr->family != AF_ISDN) family 563 drivers/isdn/mISDN/socket.c maddr->family = AF_ISDN; family 573 drivers/isdn/mISDN/socket.c .family = PF_ISDN, family 708 drivers/isdn/mISDN/socket.c if (!maddr || maddr->family != AF_ISDN) family 731 drivers/isdn/mISDN/socket.c .family = PF_ISDN, family 807 drivers/isdn/mISDN/socket.c .family = PF_ISDN, family 104 drivers/misc/mic/bus/cosm_bus.h ssize_t (*family)(struct cosm_device *cdev, char *buf); family 62 drivers/misc/mic/cosm/cosm_sysfs.c return cdev->hw_ops->family(cdev, buf); family 64 drivers/misc/mic/cosm/cosm_sysfs.c static DEVICE_ATTR_RO(family); family 541 drivers/misc/mic/host/mic_boot.c static const char *family[MIC_FAMILY_LAST] = { "x100", "Unknown" }; family 543 drivers/misc/mic/host/mic_boot.c return scnprintf(buf, PAGE_SIZE, "%s\n", family[mdev->family]); family 584 drivers/misc/mic/host/mic_boot.c .family = _mic_family, family 66 drivers/misc/mic/host/mic_device.h enum mic_hw_family family; family 84 drivers/misc/mic/host/mic_main.c switch (mdev->family) { family 104 drivers/misc/mic/host/mic_main.c enum mic_hw_family family; family 122 drivers/misc/mic/host/mic_main.c family = MIC_FAMILY_X100; family 125 drivers/misc/mic/host/mic_main.c family = MIC_FAMILY_UNKNOWN; family 128 drivers/misc/mic/host/mic_main.c return family; family 143 drivers/misc/mic/host/mic_main.c mdev->family = mic_get_family(pdev); family 221 drivers/misc/mic/host/mic_smpt.c if (!mic_addr && MIC_FAMILY_X100 == mdev->family) { family 868 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ T1023", .revision = "1.0", }, family 869 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ T1040", .revision = "1.0", }, family 870 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ T2080", .revision = "1.0", }, family 871 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1021A", .revision = "1.0", }, family 876 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1012A", .revision = "1.0", }, family 877 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1043A", .revision = "1.*", }, family 878 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1046A", .revision = "1.0", }, family 879 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1080A", .revision = "1.0", }, family 880 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS2080A", .revision = "1.0", }, family 881 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LA1575A", .revision = "1.0", }, family 1188 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ T4240", .revision = "1.0", }, family 1189 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ T4240", .revision = "2.0", }, family 1194 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LX2160A", .revision = "1.0", }, family 1195 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LX2160A", .revision = "2.0", }, family 1196 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LS1028A", .revision = "1.0", }, family 1201 drivers/mmc/host/sdhci-of-esdhc.c { .family = "QorIQ LX2160A", .revision = "1.0", }, family 70 drivers/net/can/usb/kvaser_usb/kvaser_usb.h enum kvaser_usb_leaf_family family; family 720 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.leaf.family = KVASER_LEAF; family 723 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c dev->card_data.leaf.family = KVASER_USBCAN; family 362 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { family 487 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { family 535 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c (dev->card_data.leaf.family == KVASER_USBCAN && family 671 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { family 750 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { family 942 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c (dev->card_data.leaf.family == KVASER_LEAF && family 958 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c switch (dev->card_data.leaf.family) { family 973 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family == KVASER_LEAF && cmd->id == family 1070 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_LEAF) family 1077 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family == KVASER_LEAF) family 1089 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_USBCAN) family 1094 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (dev->card_data.leaf.family != KVASER_LEAF) family 2779 drivers/net/dsa/mv88e6xxx/chip.c if (chip->info->family != MV88E6XXX_FAMILY_6165) family 4177 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6097, family 4199 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6095, family 4219 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6097, family 4241 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6165, family 4263 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6185, family 4283 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6341, family 4306 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6165, family 4329 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6165, family 4352 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6351, family 4374 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6352, family 4397 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6351, family 4419 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6352, family 4442 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6185, family 4462 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 4485 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 4508 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 4531 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6250, family 4558 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6352, family 4582 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6250, family 4604 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 4628 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6320, family 4652 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6320, family 4675 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6341, family 4699 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6351, family 4721 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6351, family 4743 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6352, family 4766 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 4789 drivers/net/dsa/mv88e6xxx/chip.c .family = MV88E6XXX_FAMILY_6390, family 93 drivers/net/dsa/mv88e6xxx/chip.h enum mv88e6xxx_family family; family 630 drivers/net/dsa/mv88e6xxx/hwtstamp.c if (chip->info->family == MV88E6XXX_FAMILY_6341) { family 439 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c int cxgb4_get_free_ftid(struct net_device *dev, int family) family 446 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { family 475 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c static int cxgb4_set_ftid(struct tid_info *t, int fidx, int family, family 485 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { family 498 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c static void cxgb4_clear_ftid(struct tid_info *t, int fidx, int family, family 502 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { family 829 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c static bool is_addr_all_mask(u8 *ipmask, int family) family 831 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == AF_INET) { family 837 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c } else if (family == AF_INET6) { family 850 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c static bool is_inaddr_any(u8 *ip, int family) family 854 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == AF_INET) { family 860 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c } else if (family == AF_INET6) { family 1251 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_alloc_stid(struct tid_info *t, int family, void *data) family 1256 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) { family 1274 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET6) { family 1288 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_alloc_sftid(struct tid_info *t, int family, void *data) family 1293 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) { family 1316 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family) family 1327 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) family 1333 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET6) { family 1419 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned short family) family 1430 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == AF_INET6) family 1435 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == AF_INET6) family 162 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h unsigned int tid, unsigned short family) family 166 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h if (family == AF_INET6) family 171 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h if (family == AF_INET6) family 180 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_alloc_stid(struct tid_info *t, int family, void *data); family 181 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_alloc_sftid(struct tid_info *t, int family, void *data); family 183 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); family 185 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h unsigned short family); family 215 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int cxgb4_get_free_ftid(struct net_device *dev, int family); family 505 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET) { family 614 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET6) family 679 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (rsa.xs->props.family == AF_INET6) family 816 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET) { family 915 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->props.family = sam->family; family 916 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET6) family 79 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h u16 family; family 31 drivers/net/ethernet/intel/ixgbevf/ipsec.c sam->family = xs->props.family; family 33 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET6) family 306 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET6) family 316 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (rsa.xs->props.family == AF_INET6) family 421 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET) { family 62 drivers/net/ethernet/intel/ixgbevf/ipsec.h u16 family; family 34 drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h if (mn->family == AF_INET) { family 37 drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h } else if (mn->family == AF_INET6) { family 94 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h if (mn->family == AF_INET) { family 97 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h } else if (mn->family == AF_INET6) { family 256 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c e->m_neigh.family = n->ops->family; family 375 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c e->m_neigh.family = n->ops->family; family 229 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family != AF_INET && family 230 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c x->props.family != AF_INET6) { family 272 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET6 && family 334 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET) { family 446 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET) { family 930 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c m_neigh.family = n->ops->family; family 108 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h int family; family 1490 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (m_neigh->family == AF_INET) family 1493 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c else if (m_neigh->family == AF_INET6) family 3002 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c unsigned short family; family 3008 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c family = ip_tunnel_info_af(tun_info); family 3058 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (family == AF_INET) family 3060 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c else if (family == AF_INET6) family 254 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (info->family != AF_INET) family 1911 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return neigh_entry->key.n->tbl->family; family 2417 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (neigh_entry->key.n->tbl->family == AF_INET) { family 2422 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c } else if (neigh_entry->key.n->tbl->family == AF_INET6) { family 2566 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!p->dev || (p->tbl->family != AF_INET && family 2567 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c p->tbl->family != AF_INET6)) family 2586 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (n->tbl->family != AF_INET && n->tbl->family != AF_INET6) family 2910 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return nh_grp->neigh_tbl->family; family 5707 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_family_to_table(struct mlxsw_sp_vr *vr, int family) family 5709 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (family == RTNL_FAMILY_IPMR) family 5729 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); family 5746 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); family 5766 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, ven_info->info.family); family 5787 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mrt = mlxsw_sp_router_fibmr_family_to_table(vr, ven_info->info.family); family 6207 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (info->family) { family 6242 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c (info->family != AF_INET && info->family != AF_INET6 && family 6243 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c info->family != RTNL_FAMILY_IPMR && family 6244 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c info->family != RTNL_FAMILY_IP6MR)) family 6264 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (info->family == AF_INET) { family 6275 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c } else if (info->family == AF_INET6) { family 6296 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (info->family) { family 2195 drivers/net/ethernet/rocker/rocker_main.c if (info->family != AF_INET) family 2209 drivers/net/ethernet/rocker/rocker_main.c if (info->family == AF_INET) { family 2755 drivers/net/ethernet/ti/cpsw.c { .family = "AM33xx", .revision = "ES1.0"}, family 450 drivers/net/geneve.c udp_conf.family = AF_INET6; family 454 drivers/net/geneve.c udp_conf.family = AF_INET; family 634 drivers/net/geneve.c sa_family_t family, family 641 drivers/net/geneve.c geneve_get_sk_family(gs) == family) { family 129 drivers/net/netdevsim/fib.c switch (info->family) { family 166 drivers/net/netdevsim/fib.c switch (info->family) { family 177 drivers/net/netdevsim/ipsec.c if (xs->props.family == AF_INET6) family 1104 drivers/net/ppp/pppoe.c .family = AF_PPPOX, family 137 drivers/net/ppp/pppox.c .family = PF_PPPOX, family 610 drivers/net/ppp/pptp.c .family = AF_PPPOX, family 1151 drivers/net/vrf.c static int vrf_fib_rule(const struct net_device *dev, __u8 family, bool add_it) family 1158 drivers/net/vrf.c if ((family == AF_INET6 || family == RTNL_FAMILY_IP6MR) && family 1175 drivers/net/vrf.c frh->family = family; family 188 drivers/net/vxlan.c static struct vxlan_sock *vxlan_find_sock(struct net *net, sa_family_t family, family 197 drivers/net/vxlan.c vxlan_get_sk_family(vs) == family && family 234 drivers/net/vxlan.c __be32 vni, sa_family_t family, family 239 drivers/net/vxlan.c vs = vxlan_find_sock(net, family, port, flags, ifindex); family 1351 drivers/net/vxlan.c unsigned short family = dev->default_dst.remote_ip.sa.sa_family; family 1358 drivers/net/vxlan.c if (family == AF_INET && sock4 && refcount_read(&sock4->refcnt) == 1) family 1362 drivers/net/vxlan.c if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) family 1370 drivers/net/vxlan.c if (family == AF_INET && family 1374 drivers/net/vxlan.c if (family == AF_INET6 && family 3203 drivers/net/vxlan.c udp_conf.family = AF_INET6; family 3208 drivers/net/vxlan.c udp_conf.family = AF_INET; family 460 drivers/net/wan/farsync.c int family; /* TxP or TxU */ family 680 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 722 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 744 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 758 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 770 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 806 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 1276 drivers/net/wan/farsync.c if ((len < FST_MIN_DMA_LEN) || (card->family == FST_FAMILY_TXP)) { family 1375 drivers/net/wan/farsync.c (card->family == FST_FAMILY_TXP)) { family 1502 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 1795 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 2474 drivers/net/wan/farsync.c card->family = ((ent->driver_data == FST_TYPE_T2P) || family 2551 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 2624 drivers/net/wan/farsync.c if (card->family == FST_FAMILY_TXU) { family 1445 drivers/net/wireless/ti/wl18xx/main.c pdata->family->cfg_name) < 0) { family 285 drivers/net/wireless/ti/wlcore/boot.c if (pdev_data && pdev_data->family) family 286 drivers/net/wireless/ti/wlcore/boot.c nvs_name = pdev_data->family->nvs_name; family 6157 drivers/net/wireless/ti/wlcore/main.c if (!strcmp(pdev_data->family->name, "wl18xx")) { family 6567 drivers/net/wireless/ti/wlcore/main.c } else if (pdev_data->family->nvs_name) { family 6569 drivers/net/wireless/ti/wlcore/main.c pdev_data->family->nvs_name); family 6794 drivers/net/wireless/ti/wlcore/main.c if (pdev_data->family && pdev_data->family->nvs_name) { family 6795 drivers/net/wireless/ti/wlcore/main.c nvs_name = pdev_data->family->nvs_name; family 6829 drivers/net/wireless/ti/wlcore/main.c if (pdev_data->family && pdev_data->family->nvs_name) family 239 drivers/net/wireless/ti/wlcore/sdio.c pdev_data->family = of_id->data; family 448 drivers/net/wireless/ti/wlcore/spi.c pdev_data->family = of_id->data; family 450 drivers/net/wireless/ti/wlcore/spi.c pdev_data->family->name); family 512 drivers/net/wireless/ti/wlcore/spi.c glue->core = platform_device_alloc(pdev_data->family->name, family 196 drivers/net/wireless/ti/wlcore/wlcore_i.h const struct wilink_family_data *family; family 51 drivers/phy/broadcom/phy-bcm-ns-usb3.c enum bcm_ns_family family; family 165 drivers/phy/broadcom/phy-bcm-ns-usb3.c switch (usb3->family) { family 217 drivers/phy/broadcom/phy-bcm-ns-usb3.c usb3->family = (enum bcm_ns_family)of_id->data; family 324 drivers/phy/broadcom/phy-bcm-ns-usb3.c usb3->family = (enum bcm_ns_family)of_id->data; family 757 drivers/phy/broadcom/phy-brcm-usb-init.c u32 family; family 759 drivers/phy/broadcom/phy-brcm-usb-init.c family = params->family_id & 0xfffffff0; family 762 drivers/phy/broadcom/phy-brcm-usb-init.c if (family == id_to_type_table[x].id) family 765 drivers/phy/broadcom/phy-brcm-usb-init.c if (family > id_to_type_table[x].id && family 441 drivers/pinctrl/intel/pinctrl-merrifield.c const struct mrfld_family *family; family 445 drivers/pinctrl/intel/pinctrl-merrifield.c family = &mp->families[i]; family 446 drivers/pinctrl/intel/pinctrl-merrifield.c if (pin >= family->pin_base && family 447 drivers/pinctrl/intel/pinctrl-merrifield.c pin < family->pin_base + family->npins) family 448 drivers/pinctrl/intel/pinctrl-merrifield.c return family; family 457 drivers/pinctrl/intel/pinctrl-merrifield.c const struct mrfld_family *family; family 459 drivers/pinctrl/intel/pinctrl-merrifield.c family = mrfld_get_family(mp, pin); family 460 drivers/pinctrl/intel/pinctrl-merrifield.c if (!family) family 463 drivers/pinctrl/intel/pinctrl-merrifield.c return !family->protected; family 468 drivers/pinctrl/intel/pinctrl-merrifield.c const struct mrfld_family *family; family 471 drivers/pinctrl/intel/pinctrl-merrifield.c family = mrfld_get_family(mp, pin); family 472 drivers/pinctrl/intel/pinctrl-merrifield.c if (!family) family 475 drivers/pinctrl/intel/pinctrl-merrifield.c bufno = pin_to_bufno(family, pin); family 476 drivers/pinctrl/intel/pinctrl-merrifield.c return family->regs + BUFCFG_OFFSET + bufno * 4; family 916 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_family *family = &families[i]; family 918 drivers/pinctrl/intel/pinctrl-merrifield.c family->regs = regs + family->barno * MRFLD_FAMILY_LEN; family 143 drivers/platform/chrome/cros_usbpd_logger.c MCDP_FAMILY(minfo->family), family 547 drivers/regulator/twl-regulator.c #define TWL_OF_MATCH(comp, family, label) \ family 550 drivers/regulator/twl-regulator.c .data = &family##_INFO_##label, \ family 626 drivers/regulator/twl6030-regulator.c #define TWL_OF_MATCH(comp, family, label) \ family 629 drivers/regulator/twl6030-regulator.c .data = &family##_INFO_##label, \ family 2107 drivers/s390/net/qeth_l3_main.c if (np->tbl->family == AF_INET) family 970 drivers/scsi/BusLogic.h unsigned char family; /* Byte 22 */ family 2714 drivers/scsi/arm/fas216.c int family, rev; family 2769 drivers/scsi/arm/fas216.c family = rev >> 3; family 2772 drivers/scsi/arm/fas216.c switch (family) { family 2790 drivers/scsi/arm/fas216.c printk("family %x rev %x\n", family, rev); family 1355 drivers/scsi/hptiop.c if (hba->ops->family == MV_BASED_IOP) { family 1378 drivers/scsi/hptiop.c if (hba->ops->family == MVFREY_BASED_IOP) { family 1586 drivers/scsi/hptiop.c .family = INTEL_BASED_IOP, family 1605 drivers/scsi/hptiop.c .family = MV_BASED_IOP, family 1624 drivers/scsi/hptiop.c .family = MVFREY_BASED_IOP, family 345 drivers/scsi/hptiop.h enum hptiop_family family; family 170 drivers/soc/amlogic/meson-gx-socinfo.c soc_dev_attr->family = "Amlogic Meson"; family 152 drivers/soc/amlogic/meson-mx-socinfo.c soc_dev_attr->family = "Amlogic Meson"; family 247 drivers/soc/atmel/soc.c soc_dev_attr->family = soc->family; family 259 drivers/soc/atmel/soc.c if (soc->family) family 260 drivers/soc/atmel/soc.c pr_info("Detected SoC family: %s\n", soc->family); family 21 drivers/soc/atmel/soc.h const char *family; family 29 drivers/soc/atmel/soc.h .family = (__family), \ family 113 drivers/soc/bcm/brcmstb/common.c soc_dev_attr->family = kasprintf(GFP_KERNEL, "%x", family 125 drivers/soc/bcm/brcmstb/common.c kfree(soc_dev_attr->family); family 37 drivers/soc/fsl/dpio/dpio-driver.c {.family = "QorIQ LS1088A"}, family 42 drivers/soc/fsl/dpio/dpio-driver.c {.family = "QorIQ LS2080A"}, family 47 drivers/soc/fsl/dpio/dpio-driver.c {.family = "QorIQ LS2088A"}, family 52 drivers/soc/fsl/dpio/dpio-driver.c {.family = "QorIQ LX2160A"}, family 170 drivers/soc/fsl/guts.c soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, family 173 drivers/soc/fsl/guts.c soc_dev_attr.family = devm_kasprintf(dev, GFP_KERNEL, "QorIQ"); family 175 drivers/soc/fsl/guts.c if (!soc_dev_attr.family) family 191 drivers/soc/fsl/guts.c pr_info("SoC family: %s\n", soc_dev_attr.family); family 103 drivers/soc/imx/soc-imx-scu.c soc_dev_attr->family = "Freescale i.MX"; family 152 drivers/soc/imx/soc-imx8.c soc_dev_attr->family = "Freescale i.MX"; family 428 drivers/soc/qcom/socinfo.c qs->attr.family = "Snapdragon"; family 66 drivers/soc/renesas/renesas-soc.c const struct renesas_family *family; family 71 drivers/soc/renesas/renesas-soc.c .family = &fam_rza1, family 75 drivers/soc/renesas/renesas-soc.c .family = &fam_rza2, family 80 drivers/soc/renesas/renesas-soc.c .family = &fam_rmobile, family 85 drivers/soc/renesas/renesas-soc.c .family = &fam_rmobile, family 90 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg1, family 95 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg1, family 100 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg1, family 105 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg1, family 110 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg1, family 115 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg2, family 120 drivers/soc/renesas/renesas-soc.c .family = &fam_rzg2, family 125 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen1, family 129 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen1, family 134 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen2, family 139 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen2, family 144 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen2, family 149 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen2, family 154 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen2, family 159 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 164 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 169 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 174 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 179 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 184 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 189 drivers/soc/renesas/renesas-soc.c .family = &fam_rcar_gen3, family 194 drivers/soc/renesas/renesas-soc.c .family = &fam_shmobile, family 284 drivers/soc/renesas/renesas-soc.c const struct renesas_family *family; family 297 drivers/soc/renesas/renesas-soc.c family = soc->family; family 329 drivers/soc/renesas/renesas-soc.c } else if (soc->id && family->reg) { family 330 drivers/soc/renesas/renesas-soc.c chipid = ioremap(family->reg, 4); family 358 drivers/soc/renesas/renesas-soc.c soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); family 365 drivers/soc/renesas/renesas-soc.c pr_info("Detected Renesas %s %s %s\n", soc_dev_attr->family, family 372 drivers/soc/renesas/renesas-soc.c kfree_const(soc_dev_attr->family); family 72 drivers/soc/samsung/exynos-chipid.c soc_dev_attr->family = "Samsung Exynos"; family 224 drivers/soc/tegra/fuse/fuse-tegra.c attr->family = kasprintf(GFP_KERNEL, "Tegra"); family 232 drivers/soc/tegra/fuse/fuse-tegra.c kfree(attr->family); family 185 drivers/soc/ux500/ux500-soc-id.c soc_dev_attr->family = ux500_get_family(); family 129 drivers/soc/versatile/soc-integrator.c soc_dev_attr->family = "Versatile"; family 104 drivers/soc/versatile/soc-realview.c soc_dev_attr->family = "Versatile"; family 70 drivers/staging/comedi/drivers/ni_routes.c if (memcmp(ni_all_route_values[i]->family, device_family, family 91 drivers/staging/comedi/drivers/ni_routing/ni_route_values.h const char *family; family 41 drivers/staging/comedi/drivers/ni_routing/ni_route_values/ni_660x.c .family = "ni_660x", family 46 drivers/staging/comedi/drivers/ni_routing/ni_route_values/ni_eseries.c .family = "ni_eseries", family 49 drivers/staging/comedi/drivers/ni_routing/ni_route_values/ni_mseries.c .family = "ni_mseries", family 42 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c , rv->family); family 72 drivers/staging/comedi/drivers/ni_routing/tools/convert_c_to_py.c rv->family, dest, src, r); family 168 drivers/video/fbdev/aty/radeon_backlight.c (rinfo->family != CHIP_FAMILY_RV200 && family 169 drivers/video/fbdev/aty/radeon_backlight.c rinfo->family != CHIP_FAMILY_RV250 && family 170 drivers/video/fbdev/aty/radeon_backlight.c rinfo->family != CHIP_FAMILY_RV280 && family 171 drivers/video/fbdev/aty/radeon_backlight.c rinfo->family != CHIP_FAMILY_RV350); family 96 drivers/video/fbdev/aty/radeon_base.c #define CHIP_DEF(id, family, flags) \ family 97 drivers/video/fbdev/aty/radeon_base.c { PCI_VENDOR_ID_ATI, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (flags) | (CHIP_FAMILY_##family) } family 1403 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS300 || family 1404 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS400 || family 1405 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS480) { family 1576 drivers/video/fbdev/aty/radeon_base.c if (rinfo->family == CHIP_FAMILY_R200 || IS_R300_VARIANT(rinfo)) { family 1900 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_R200)) { family 1923 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_R200) || !rinfo->has_CRTC2) family 2113 drivers/video/fbdev/aty/radeon_base.c if ((rinfo->family == CHIP_FAMILY_RS100) || family 2114 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS200) || family 2115 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS300) || family 2116 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RC410) || family 2117 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS400) || family 2118 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS480) ) { family 2131 drivers/video/fbdev/aty/radeon_base.c if ((rinfo->family == CHIP_FAMILY_RS100) || family 2132 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS200)) { family 2165 drivers/video/fbdev/aty/radeon_base.c if (rinfo->is_IGP || (rinfo->family >= CHIP_FAMILY_R300) || family 2180 drivers/video/fbdev/aty/radeon_base.c } else if ((rinfo->family == CHIP_FAMILY_RV100) || family 2181 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS100) || family 2182 drivers/video/fbdev/aty/radeon_base.c (rinfo->family == CHIP_FAMILY_RS200)){ family 2314 drivers/video/fbdev/aty/radeon_base.c rinfo->family = ent->driver_data & CHIP_FAMILY_MASK; family 2358 drivers/video/fbdev/aty/radeon_base.c if (rinfo->family == CHIP_FAMILY_R300 && family 2363 drivers/video/fbdev/aty/radeon_base.c if (rinfo->family == CHIP_FAMILY_RV200 || family 2364 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS200) family 2367 drivers/video/fbdev/aty/radeon_base.c if (rinfo->family == CHIP_FAMILY_RV100 || family 2368 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS100 || family 2369 drivers/video/fbdev/aty/radeon_base.c rinfo->family == CHIP_FAMILY_RS200) family 336 drivers/video/fbdev/aty/radeon_monitor.c if ((rinfo->family == CHIP_FAMILY_RV250) || family 337 drivers/video/fbdev/aty/radeon_monitor.c (rinfo->family == CHIP_FAMILY_RV280)) family 135 drivers/video/fbdev/aty/radeon_pm.c if ((rinfo->family == CHIP_FAMILY_RV100) && (!rinfo->is_mobility)) { family 166 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_RV350) { family 249 drivers/video/fbdev/aty/radeon_pm.c else if (rinfo->family == CHIP_FAMILY_R300 || family 250 drivers/video/fbdev/aty/radeon_pm.c rinfo->family == CHIP_FAMILY_R350) { family 261 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_R300 || rinfo->family == CHIP_FAMILY_R350) { family 351 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_RV350) { family 436 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_R300 || rinfo->family == CHIP_FAMILY_R350) { family 473 drivers/video/fbdev/aty/radeon_pm.c if ((rinfo->family == CHIP_FAMILY_RV250 && family 475 drivers/video/fbdev/aty/radeon_pm.c ((rinfo->family == CHIP_FAMILY_RV100) && family 483 drivers/video/fbdev/aty/radeon_pm.c if ((rinfo->family == CHIP_FAMILY_RV200) || family 484 drivers/video/fbdev/aty/radeon_pm.c (rinfo->family == CHIP_FAMILY_RV250) || family 485 drivers/video/fbdev/aty/radeon_pm.c (rinfo->family == CHIP_FAMILY_RV280)) { family 490 drivers/video/fbdev/aty/radeon_pm.c if (((rinfo->family == CHIP_FAMILY_RV200) || family 491 drivers/video/fbdev/aty/radeon_pm.c (rinfo->family == CHIP_FAMILY_RV250)) && family 501 drivers/video/fbdev/aty/radeon_pm.c if (((rinfo->family == CHIP_FAMILY_RV200) || family 502 drivers/video/fbdev/aty/radeon_pm.c (rinfo->family == CHIP_FAMILY_RV250)) && family 619 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family >= CHIP_FAMILY_RV200) { family 635 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family >= CHIP_FAMILY_R300) { family 700 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_RV350) family 751 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV280) { family 783 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV280) { family 863 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV280) family 963 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV280) { family 1269 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_RV350) { family 1330 drivers/video/fbdev/aty/radeon_pm.c else if (!rinfo->is_mobility && rinfo->family == CHIP_FAMILY_RV200) { family 1353 drivers/video/fbdev/aty/radeon_pm.c else if (rinfo->is_mobility && rinfo->family == CHIP_FAMILY_RV100) { family 1403 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV250) { family 1411 drivers/video/fbdev/aty/radeon_pm.c else if (rinfo->family == CHIP_FAMILY_RV280) { family 2578 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV280) { family 2601 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family <= CHIP_FAMILY_RV250) { family 2817 drivers/video/fbdev/aty/radeon_pm.c if (rinfo->family == CHIP_FAMILY_RS480) family 2840 drivers/video/fbdev/aty/radeon_pm.c rinfo->family <= CHIP_FAMILY_RV250) family 62 drivers/video/fbdev/aty/radeonfb.h #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \ family 63 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RV200) || \ family 64 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RS100) || \ family 65 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RS200) || \ family 66 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RV250) || \ family 67 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RV280) || \ family 68 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RS300)) family 71 drivers/video/fbdev/aty/radeonfb.h #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \ family 72 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RV350) || \ family 73 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_R350) || \ family 74 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RV380) || \ family 75 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_R420) || \ family 76 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RC410) || \ family 77 drivers/video/fbdev/aty/radeonfb.h ((rinfo)->family == CHIP_FAMILY_RS480)) family 317 drivers/video/fbdev/aty/radeonfb.h u8 family; family 184 drivers/w1/slaves/w1_ds250x.c switch (sl->family->fid) { family 203 drivers/w1/slaves/w1_ds250x.c sl->master->bus_master->dev_id, sl->reg_num.family, family 208 drivers/w1/slaves/w1_ds250x.c sl->reg_num.family, family 461 drivers/w1/slaves/w1_therm.c if (w1_therm_families[i].f->fid == sl->family->fid) { family 575 drivers/w1/slaves/w1_therm.c u8 fid = sl->family->fid; family 606 drivers/w1/slaves/w1_therm.c u8 fid = sl->family->fid; family 677 drivers/w1/slaves/w1_therm.c if (reg_num->family == W1_42_FINISHED_BYTE) family 84 drivers/w1/w1.c w1_family_put(sl->family); family 401 drivers/w1/w1.c unsigned int family; family 418 drivers/w1/w1.c i = sscanf(buf, "%02x-%012llx", &family, &id); family 423 drivers/w1/w1.c rn->family = family; family 431 drivers/w1/w1.c rn->family, (unsigned long long)rn->id, rn->crc); family 446 drivers/w1/w1.c if (sl->reg_num.family == rn->family && family 515 drivers/w1/w1.c dev_info(dev, "Device %02x-%012llx doesn't exists\n", rn.family, family 604 drivers/w1/w1.c err = add_uevent_var(env, "W1_FID=%02X", sl->reg_num.family); family 619 drivers/w1/w1.c fops = sl->family->fops; family 664 drivers/w1/w1.c sl->family->fops->remove_slave(sl); family 682 drivers/w1/w1.c sl->family->of_match_table); family 685 drivers/w1/w1.c (unsigned int) sl->reg_num.family, family 689 drivers/w1/w1.c (unsigned int) sl->reg_num.family, family 744 drivers/w1/w1.c rn->family, (unsigned long long)rn->id, rn->crc); family 748 drivers/w1/w1.c request_module("w1-family-0x%02X", rn->family); family 752 drivers/w1/w1.c f = w1_family_registered(rn->family); family 756 drivers/w1/w1.c rn->family, rn->family, family 762 drivers/w1/w1.c sl->family = f; family 769 drivers/w1/w1.c w1_family_put(sl->family); family 857 drivers/w1/w1.c if (sl->reg_num.family == id->family && family 893 drivers/w1/w1.c if ((attach && sl->family->fid == W1_FAMILY_DEFAULT family 894 drivers/w1/w1.c && sl->reg_num.family == f->fid) || family 895 drivers/w1/w1.c (!attach && sl->family->fid == f->fid)) { family 391 drivers/w1/w1_netlink.c __func__, sl->reg_num.family, (unsigned long long)sl->reg_num.id, family 139 fs/afs/addr_list.c int family; family 156 fs/afs/addr_list.c family = AF_INET; family 158 fs/afs/addr_list.c family = AF_INET6; family 199 fs/afs/addr_list.c if (family == AF_INET) family 48 fs/afs/server.c if (srx->transport.family == AF_INET6) { family 31 fs/cifs/fscache.c uint16_t family; /* address family */ family 57 fs/cifs/fscache.c key.hdr.family = sa->sa_family; family 16 fs/dlm/netlink.c static struct genl_family family; family 28 fs/dlm/netlink.c data = genlmsg_put(skb, 0, dlm_nl_seqnum++, &family, 0, cmd); family 73 fs/dlm/netlink.c static struct genl_family family __ro_after_init = { family 83 fs/dlm/netlink.c return genl_register_family(&family); family 88 fs/dlm/netlink.c genl_unregister_family(&family); family 191 fs/lockd/svc.c struct net *net, const int family, family 197 fs/lockd/svc.c xprt = svc_find_xprt(serv, name, net, family, 0); family 199 fs/lockd/svc.c return svc_create_xprt(serv, name, net, family, port, family 206 fs/lockd/svc.c const int family, const struct cred *cred) family 210 fs/lockd/svc.c err = create_lockd_listener(serv, "udp", net, family, nlm_udpport, family 215 fs/lockd/svc.c return create_lockd_listener(serv, "tcp", net, family, nlm_tcpport, family 35 fs/nfs/fscache.c uint16_t family; /* address family */ family 60 fs/nfs/fscache.c key.hdr.family = clp->cl_addr.ss_family; family 780 fs/nfsd/nfssvc.c u32 version, int family, unsigned short proto, family 786 fs/nfsd/nfssvc.c return svc_generic_rpcbind_set(net, progp, version, family, family 826 fs/nfsd/nfssvc.c u32 version, int family, unsigned short proto, family 831 fs/nfsd/nfssvc.c return svc_generic_rpcbind_set(net, progp, version, family, family 39 include/linux/genetlink.h #define MODULE_ALIAS_GENL_FAMILY(family)\ family 40 include/linux/genetlink.h MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family) family 30 include/linux/lsm_audit.h u16 family; family 1707 include/linux/lsm_hooks.h int (*socket_create)(int family, int type, int protocol, int kern); family 1708 include/linux/lsm_hooks.h int (*socket_post_create)(struct socket *sock, int family, int type, family 1732 include/linux/lsm_hooks.h int (*sk_alloc_security)(struct sock *sk, int family, gfp_t priority); family 284 include/linux/mISDNif.h sa_family_t family; family 668 include/linux/mod_devicetable.h __u16 family; family 51 include/linux/mroute_base.h unsigned short family, family 58 include/linux/mroute_base.h .family = family, family 71 include/linux/mroute_base.h unsigned short family, family 79 include/linux/mroute_base.h .family = family, family 177 include/linux/mroute_base.h unsigned short family, family 183 include/linux/mroute_base.h .family = family, family 194 include/linux/mroute_base.h unsigned short family, family 201 include/linux/mroute_base.h .family = family, family 302 include/linux/mroute_base.h int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, family 356 include/linux/mroute_base.h unsigned short family, family 136 include/linux/net.h int family; family 211 include/linux/net.h int family; family 229 include/linux/net.h void sock_unregister(int family); family 230 include/linux/net.h bool sock_is_registered(int family); family 231 include/linux/net.h int __sock_create(struct net *net, int family, int type, int proto, family 233 include/linux/net.h int sock_create(int family, int type, int proto, struct socket **res); family 234 include/linux/net.h int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res); family 235 include/linux/net.h int sock_create_lite(int family, int type, int proto, struct socket **res); family 2959 include/linux/netdevice.h int register_gifconf(unsigned int family, gifconf_func_t *gifconf); family 2960 include/linux/netdevice.h static inline int unregister_gifconf(unsigned int family) family 2962 include/linux/netdevice.h return register_gifconf(family, NULL); family 344 include/linux/netfilter.h unsigned short family); family 348 include/linux/netfilter.h u_int8_t protocol, unsigned short family); family 350 include/linux/netfilter.h bool strict, unsigned short family); family 372 include/linux/netfilter.h nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) family 420 include/linux/netfilter.h nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) family 144 include/linux/netfilter/ipset/ip_set.h u8 family; /* Actual protocol family */ family 215 include/linux/netfilter/ipset/ip_set.h u8 family; family 254 include/linux/netfilter/ipset/ip_set.h u8 family; family 29 include/linux/netfilter/nfnetlink_osf.h bool nf_osf_match(const struct sk_buff *skb, u_int8_t family, family 99 include/linux/netfilter/x_tables.h u_int8_t family; family 111 include/linux/netfilter/x_tables.h u_int8_t family; family 130 include/linux/netfilter/x_tables.h u_int8_t family; family 139 include/linux/netfilter/x_tables.h u_int8_t family; family 178 include/linux/netfilter/x_tables.h unsigned short family; family 219 include/linux/netfilter/x_tables.h unsigned short family; family 33 include/linux/netfilter_bridge/ebtables.h u_int8_t family; family 50 include/linux/netfilter_bridge/ebtables.h u_int8_t family; family 68 include/linux/netfilter_bridge/ebtables.h u_int8_t family; family 190 include/linux/netlink.h u16 family; family 4983 include/linux/platform_data/cros_ec_commands.h uint8_t family[2]; family 4991 include/linux/platform_data/cros_ec_commands.h #define MCDP_FAMILY(family) ((family[0] << 8) | family[1]) family 1281 include/linux/security.h int security_socket_create(int family, int type, int protocol, int kern); family 1282 include/linux/security.h int security_socket_post_create(struct socket *sock, int family, family 1301 include/linux/security.h int security_sk_alloc(struct sock *sk, int family, gfp_t priority); family 1342 include/linux/security.h static inline int security_socket_create(int family, int type, family 1349 include/linux/security.h int family, family 1443 include/linux/security.h static inline int security_sk_alloc(struct sock *sk, int family, gfp_t priority) family 16 include/linux/sock_diag.h __u8 family; family 397 include/linux/socket.h extern int __sys_socket(int family, int type, int protocol); family 406 include/linux/socket.h extern int __sys_socketpair(int family, int type, int protocol, family 415 include/linux/sunrpc/svc.h u32 version, int family, family 532 include/linux/sunrpc/svc.h u32 version, int family, family 537 include/linux/sunrpc/svc.h u32 version, int family, family 13 include/linux/sys_soc.h const char *family; family 20 include/linux/w1.h __u64 family:8, family 26 include/linux/w1.h family:8; family 75 include/linux/w1.h struct w1_family *family; family 278 include/linux/w1.h int w1_register_family(struct w1_family *family); family 279 include/linux/w1.h void w1_unregister_family(struct w1_family *family); family 41 include/net/af_ieee802154.h sa_family_t family; /* AF_IEEE802154 */ family 16 include/net/dst_ops.h unsigned short family; family 12 include/net/fib_notifier.h int family; family 30 include/net/fib_notifier.h int family; family 60 include/net/fib_rules.h int family; family 198 include/net/fib_rules.h int fib_rules_dump(struct net *net, struct notifier_block *nb, int family); family 199 include/net/fib_rules.h unsigned int fib_rules_seq_read(struct net *net, int family); family 209 include/net/flow.h static inline unsigned int flow_key_size(u16 family) family 211 include/net/flow.h switch (family) { family 78 include/net/genetlink.h struct nlattr **genl_family_attrbuf(const struct genl_family *family); family 153 include/net/genetlink.h int genl_register_family(struct genl_family *family); family 154 include/net/genetlink.h int genl_unregister_family(const struct genl_family *family); family 155 include/net/genetlink.h void genl_notify(const struct genl_family *family, struct sk_buff *skb, family 159 include/net/genetlink.h const struct genl_family *family, int flags, u8 cmd); family 184 include/net/genetlink.h const struct genl_family *family, family 189 include/net/genetlink.h return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, family 203 include/net/genetlink.h const struct genl_family *family, family 208 include/net/genetlink.h return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, family 238 include/net/genetlink.h const struct genl_family *family, family 241 include/net/genetlink.h return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, family 275 include/net/genetlink.h static inline int genlmsg_multicast_netns(const struct genl_family *family, family 279 include/net/genetlink.h if (WARN_ON_ONCE(group >= family->n_mcgrps)) family 281 include/net/genetlink.h group = family->mcgrp_offset + group; family 293 include/net/genetlink.h static inline int genlmsg_multicast(const struct genl_family *family, family 297 include/net/genetlink.h return genlmsg_multicast_netns(family, &init_net, skb, family 311 include/net/genetlink.h int genlmsg_multicast_allns(const struct genl_family *family, family 395 include/net/genetlink.h static inline int genl_set_err(const struct genl_family *family, family 399 include/net/genetlink.h if (WARN_ON_ONCE(group >= family->n_mcgrps)) family 401 include/net/genetlink.h group = family->mcgrp_offset + group; family 405 include/net/genetlink.h static inline int genl_has_listeners(const struct genl_family *family, family 408 include/net/genetlink.h if (WARN_ON_ONCE(group >= family->n_mcgrps)) family 410 include/net/genetlink.h group = family->mcgrp_offset + group; family 43 include/net/inet_common.h int inet_ctl_sock_create(struct sock **sk, unsigned short family, family 113 include/net/inet_timewait_sock.h void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family); family 33 include/net/inetpeer.h __u16 family; family 77 include/net/inetpeer.h iaddr->family = AF_INET; family 89 include/net/inetpeer.h iaddr->family = AF_INET6; family 110 include/net/inetpeer.h daddr.family = AF_INET; family 121 include/net/inetpeer.h daddr.family = AF_INET6; family 130 include/net/inetpeer.h if (a->family == AF_INET) family 760 include/net/ip.h int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, family 98 include/net/llc_conn.h struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, family 38 include/net/lwtunnel.h unsigned int family, const void *cfg, family 118 include/net/lwtunnel.h unsigned int family, const void *cfg, family 214 include/net/lwtunnel.h unsigned int family, const void *cfg, family 164 include/net/neighbour.h int family; family 195 include/net/neighbour.h int family; family 240 include/net/neighbour.h return p->tbl->family; family 17 include/net/netfilter/nf_conntrack_count.h struct nf_conncount_data *nf_conncount_init(struct net *net, unsigned int family, family 19 include/net/netfilter/nf_conntrack_count.h void nf_conncount_destroy(struct net *net, unsigned int family, family 17 include/net/netfilter/nf_flow_table.h int family; family 123 include/net/netfilter/nf_flow_table.h #define MODULE_ALIAS_NF_FLOWTABLE(family) \ family 124 include/net/netfilter/nf_flow_table.h MODULE_ALIAS("nf-flowtable-" __stringify(family)) family 73 include/net/netfilter/nf_log.h #define MODULE_ALIAS_NF_LOGGER(family, type) \ family 74 include/net/netfilter/nf_log.h MODULE_ALIAS("nf-logger-" __stringify(family) "-" __stringify(type)) family 107 include/net/netfilter/nf_nat.h int nf_xfrm_me_harder(struct net *n, struct sk_buff *s, unsigned int family); family 103 include/net/netfilter/nf_queue.h nfqueue_hash(const struct sk_buff *skb, u16 queue, u16 queues_total, u8 family, family 106 include/net/netfilter/nf_queue.h switch (family) { family 177 include/net/netfilter/nf_tables.h u8 family; family 744 include/net/netfilter/nf_tables.h u8 family; family 948 include/net/netfilter/nf_tables.h int family; family 1030 include/net/netfilter/nf_tables.h u16 family:6, family 1095 include/net/netfilter/nf_tables.h int event, int family, int report, gfp_t gfp); family 1223 include/net/netfilter/nf_tables.h #define MODULE_ALIAS_NFT_CHAIN(family, name) \ family 1224 include/net/netfilter/nf_tables.h MODULE_ALIAS("nft-chain-" __stringify(family) "-" name) family 1226 include/net/netfilter/nf_tables.h #define MODULE_ALIAS_NFT_AF_EXPR(family, name) \ family 1227 include/net/netfilter/nf_tables.h MODULE_ALIAS("nft-expr-" __stringify(family) "-" name) family 404 include/net/netlabel.h u16 family, family 409 include/net/netlabel.h u16 family, family 417 include/net/netlabel.h u16 family, family 424 include/net/netlabel.h u16 family, family 473 include/net/netlabel.h u16 family, family 485 include/net/netlabel.h u16 family, family 488 include/net/netlabel.h u16 family, family 490 include/net/netlabel.h void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway); family 496 include/net/netlabel.h int netlbl_cache_add(const struct sk_buff *skb, u16 family, family 506 include/net/netlabel.h u16 family, family 514 include/net/netlabel.h u16 family, family 525 include/net/netlabel.h u16 family, family 535 include/net/netlabel.h u16 family, family 617 include/net/netlabel.h u16 family, family 646 include/net/netlabel.h u16 family, family 652 include/net/netlabel.h u16 family, family 667 include/net/netlabel.h static inline int netlbl_cache_add(const struct sk_buff *skb, u16 family, family 53 include/net/nexthop.h u8 family; family 308 include/net/nexthop.h if (nhi->family == AF_INET6) family 48 include/net/ping.h sa_family_t family; family 59 include/net/ping.h sa_family_t family; family 76 include/net/ping.h int ping_common_sendmsg(int family, struct msghdr *msg, size_t len, family 82 include/net/ping.h void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family); family 28 include/net/request_sock.h int family; family 137 include/net/rtnetlink.h int family; family 84 include/net/sctp/sctp.h struct sctp_pf *sctp_get_pf_specific(sa_family_t family); family 142 include/net/sctp/sctp.h struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *, family 1191 include/net/sock.h int sock_load_diag_module(int family, int protocol); family 1602 include/net/sock.h struct sock *sk_alloc(struct net *net, int family, gfp_t priority, family 1541 include/net/tcp.h u8 family; /* AF_INET or AF_INET6 */ family 1587 include/net/tcp.h int family, u8 prefixlen, const u8 *newkey, u8 newkeylen, family 1590 include/net/tcp.h int family, u8 prefixlen); family 1599 include/net/tcp.h int family); family 1603 include/net/tcp.h int family) family 1607 include/net/tcp.h return __tcp_md5_do_lookup(sk, addr, family); family 1614 include/net/tcp.h int family) family 1908 include/net/tcp.h sa_family_t family; family 436 include/net/udp.h sa_family_t family; family 14 include/net/udp_tunnel.h u8 family; family 58 include/net/udp_tunnel.h if (cfg->family == AF_INET) family 61 include/net/udp_tunnel.h if (cfg->family == AF_INET6) family 157 include/net/udp_tunnel.h struct metadata_dst *udp_tun_rx_dst(struct sk_buff *skb, unsigned short family, family 44 include/net/xfrm.h #define MODULE_ALIAS_XFRM_MODE(family, encap) \ family 45 include/net/xfrm.h MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap)) family 46 include/net/xfrm.h #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ family 47 include/net/xfrm.h MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto)) family 48 include/net/xfrm.h #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \ family 49 include/net/xfrm.h MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto)) family 137 include/net/xfrm.h u8 family; family 177 include/net/xfrm.h u16 family; family 310 include/net/xfrm.h unsigned short family); family 336 include/net/xfrm.h int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family); family 349 include/net/xfrm.h u8 family; family 375 include/net/xfrm.h struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family); family 376 include/net/xfrm.h struct xfrm_state_afinfo *xfrm_state_afinfo_get_rcu(unsigned int family); family 379 include/net/xfrm.h unsigned int family; family 409 include/net/xfrm.h int xfrm_register_type(const struct xfrm_type *type, unsigned short family); family 410 include/net/xfrm.h void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family); family 421 include/net/xfrm.h int xfrm_register_type_offload(const struct xfrm_type_offload *type, unsigned short family); family 422 include/net/xfrm.h void xfrm_unregister_type_offload(const struct xfrm_type_offload *type, unsigned short family); family 424 include/net/xfrm.h static inline int xfrm_af2proto(unsigned int family) family 426 include/net/xfrm.h switch(family) { family 438 include/net/xfrm.h if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || family 439 include/net/xfrm.h (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) family 525 include/net/xfrm.h u16 family; family 541 include/net/xfrm.h u16 family; family 666 include/net/xfrm.h unsigned int family; family 709 include/net/xfrm.h void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family); family 710 include/net/xfrm.h void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi, family 747 include/net/xfrm.h u16 family) family 751 include/net/xfrm.h static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, family 894 include/net/xfrm.h const struct flowi *fl, unsigned short family); family 1048 include/net/xfrm.h xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) family 1050 include/net/xfrm.h switch (family) { family 1074 include/net/xfrm.h xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) family 1076 include/net/xfrm.h switch (family) { family 1087 include/net/xfrm.h unsigned short family); family 1091 include/net/xfrm.h unsigned int family, int reverse) family 1097 include/net/xfrm.h return __xfrm_policy_check(sk, ndir, skb, family); family 1101 include/net/xfrm.h __xfrm_policy_check(sk, ndir, skb, family); family 1104 include/net/xfrm.h static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) family 1106 include/net/xfrm.h return __xfrm_policy_check2(sk, dir, skb, family, 0); family 1132 include/net/xfrm.h unsigned int family, int reverse); family 1135 include/net/xfrm.h unsigned int family) family 1137 include/net/xfrm.h return __xfrm_decode_session(skb, fl, family, 0); family 1142 include/net/xfrm.h unsigned int family) family 1144 include/net/xfrm.h return __xfrm_decode_session(skb, fl, family, 1); family 1147 include/net/xfrm.h int __xfrm_route_forward(struct sk_buff *skb, unsigned short family); family 1149 include/net/xfrm.h static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) family 1155 include/net/xfrm.h __xfrm_route_forward(skb, family); family 1211 include/net/xfrm.h static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) family 1217 include/net/xfrm.h unsigned int family) family 1234 include/net/xfrm.h xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) family 1236 include/net/xfrm.h switch (family){ family 1246 include/net/xfrm.h xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) family 1248 include/net/xfrm.h switch (family){ family 1260 include/net/xfrm.h unsigned short family) family 1262 include/net/xfrm.h switch(family) { family 1299 include/net/xfrm.h unsigned short family) family 1301 include/net/xfrm.h switch (family) { family 1312 include/net/xfrm.h unsigned short family) family 1314 include/net/xfrm.h switch (family) { family 1483 include/net/xfrm.h unsigned short family, u32 if_id); family 1487 include/net/xfrm.h unsigned short family, family 1490 include/net/xfrm.h unsigned short family); family 1497 include/net/xfrm.h u8 proto, unsigned short family); family 1502 include/net/xfrm.h unsigned short family); family 1505 include/net/xfrm.h unsigned short family); family 1507 include/net/xfrm.h unsigned short family); family 1510 include/net/xfrm.h int n, unsigned short family) family 1515 include/net/xfrm.h int n, unsigned short family) family 1572 include/net/xfrm.h XFRM_SPI_SKB_CB(skb)->family = AF_INET; family 1582 include/net/xfrm.h int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family); family 1583 include/net/xfrm.h int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family); family 1597 include/net/xfrm.h int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family); family 1598 include/net/xfrm.h int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family); family 1628 include/net/xfrm.h int family, u32 mark); family 1654 include/net/xfrm.h unsigned short family); family 1703 include/net/xfrm.h sa_family_t family) family 1705 include/net/xfrm.h switch (family) { family 1979 include/net/xfrm.h unsigned int family) family 1983 include/net/xfrm.h switch(family) { family 32 include/trace/events/neigh.h __field(u32, family) family 45 include/trace/events/neigh.h __entry->family = tbl->family; family 53 include/trace/events/neigh.h if (tbl->family == AF_INET) family 59 include/trace/events/neigh.h if (tbl->family == AF_INET6) { family 67 include/trace/events/neigh.h __entry->family, __get_str(dev), __entry->entries, family 80 include/trace/events/neigh.h __field(u32, family) family 105 include/trace/events/neigh.h __entry->family = n->tbl->family; family 117 include/trace/events/neigh.h if (n->tbl->family == AF_INET) family 123 include/trace/events/neigh.h if (n->tbl->family == AF_INET6) { family 145 include/trace/events/neigh.h __entry->family, __get_str(dev), family 160 include/trace/events/neigh.h __field(u32, family) family 182 include/trace/events/neigh.h __entry->family = n->tbl->family; family 194 include/trace/events/neigh.h if (n->tbl->family == AF_INET) family 200 include/trace/events/neigh.h if (n->tbl->family == AF_INET6) { family 218 include/trace/events/neigh.h __entry->family, __get_str(dev), family 149 include/trace/events/sock.h __field(__u16, family) family 166 include/trace/events/sock.h __entry->family = sk->sk_family; family 194 include/trace/events/sock.h show_family_name(__entry->family), family 934 include/uapi/drm/amdgpu_drm.h __u32 family; family 2993 include/uapi/linux/bpf.h __u32 family; family 3028 include/uapi/linux/bpf.h __u16 family; family 3062 include/uapi/linux/bpf.h __u32 family; family 3182 include/uapi/linux/bpf.h __u32 family; family 3295 include/uapi/linux/bpf.h __u32 family; /* Allows 4-byte read, but no write */ family 3320 include/uapi/linux/bpf.h __u32 family; family 3494 include/uapi/linux/bpf.h __u8 family; family 143 include/uapi/linux/caif/caif_socket.h __kernel_sa_family_t family; family 20 include/uapi/linux/fib_rules.h __u8 family; family 230 include/uapi/linux/if_bridge.h __u8 family; family 902 include/uapi/linux/if_link.h __u8 family; family 100 include/uapi/linux/inet_diag.h __u8 family; family 300 include/uapi/linux/netfilter/ipset/ip_set.h unsigned int family; family 24 include/uapi/linux/rxrpc.h __kernel_sa_family_t family; /* transport address family */ family 158 include/uapi/linux/tipc.h unsigned short family; family 56 include/uapi/linux/xfrm.h __u16 family; family 238 include/uapi/linux/xfrm.h __u16 family; family 375 include/uapi/linux/xfrm.h __u16 family; family 394 include/uapi/linux/xfrm.h __u16 family; family 470 include/uapi/linux/xfrm.h __u16 family; family 498 include/uapi/linux/xfrm.h __u16 family; family 35 kernel/taskstats.c static struct genl_family family; family 85 kernel/taskstats.c reply = genlmsg_put(skb, 0, seq, &family, 0, cmd); family 87 kernel/taskstats.c reply = genlmsg_put_reply(skb, info, &family, 0, cmd); family 685 kernel/taskstats.c static struct genl_family family __ro_after_init = { family 711 kernel/taskstats.c rc = genl_register_family(&family); family 138 net/802/hippi.c if (p->tbl->family != AF_INET6) family 1852 net/appletalk/ddp.c .family = PF_APPLETALK, family 1858 net/appletalk/ddp.c .family = PF_APPLETALK, family 283 net/atm/clip.c .family = AF_INET, family 294 net/atm/clip.c if (neigh->tbl->family != AF_INET) family 140 net/atm/common.c int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern) family 148 net/atm/common.c sk = sk_alloc(net, family, GFP_KERNEL, &vcc_proto, kern); family 14 net/atm/common.h int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern); family 73 net/atm/proc.c static inline int compare_family(struct sock *sk, int family) family 75 net/atm/proc.c return !family || (sk->sk_family == family); family 78 net/atm/proc.c static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l) family 94 net/atm/proc.c l -= compare_family(sk, family); family 111 net/atm/proc.c int family = (uintptr_t)(PDE_DATA(file_inode(seq->file))); family 113 net/atm/proc.c return __vcc_walk(&state->sk, family, &state->bucket, l) ? family 107 net/atm/pvc.c .family = PF_ATMPVC, family 144 net/atm/pvc.c .family = PF_ATMPVC, family 630 net/atm/svc.c .family = PF_ATMSVC, family 674 net/atm/svc.c .family = PF_ATMSVC, family 1930 net/ax25/af_ax25.c .family = PF_AX25, family 1936 net/ax25/af_ax25.c .family = PF_AX25, family 710 net/bluetooth/af_bluetooth.c .family = PF_BLUETOOTH, family 172 net/bluetooth/bnep/sock.c .family = PF_BLUETOOTH, family 229 net/bluetooth/bnep/sock.c .family = PF_BLUETOOTH, family 175 net/bluetooth/cmtp/sock.c .family = PF_BLUETOOTH, family 233 net/bluetooth/cmtp/sock.c .family = PF_BLUETOOTH, family 1972 net/bluetooth/hci_sock.c .family = PF_BLUETOOTH, family 2027 net/bluetooth/hci_sock.c .family = PF_BLUETOOTH, family 223 net/bluetooth/hidp/sock.c .family = PF_BLUETOOTH, family 281 net/bluetooth/hidp/sock.c .family = PF_BLUETOOTH, family 1649 net/bluetooth/l2cap_sock.c .family = PF_BLUETOOTH, family 1670 net/bluetooth/l2cap_sock.c .family = PF_BLUETOOTH, family 1028 net/bluetooth/rfcomm/sock.c .family = PF_BLUETOOTH, family 1049 net/bluetooth/rfcomm/sock.c .family = PF_BLUETOOTH, family 1181 net/bluetooth/sco.c .family = PF_BLUETOOTH, family 1202 net/bluetooth/sco.c .family = PF_BLUETOOTH, family 279 net/bridge/br_mdb.c bpm->family = AF_BRIDGE; family 475 net/bridge/br_mdb.c bpm->family = AF_BRIDGE; family 1623 net/bridge/br_netlink.c .family = AF_BRIDGE, family 53 net/bridge/br_nf_core.c .family = AF_INET, family 59 net/bridge/netfilter/ebt_802_3.c .family = NFPROTO_BRIDGE, family 261 net/bridge/netfilter/ebt_among.c .family = NFPROTO_BRIDGE, family 118 net/bridge/netfilter/ebt_arp.c .family = NFPROTO_BRIDGE, family 81 net/bridge/netfilter/ebt_arpreply.c .family = NFPROTO_BRIDGE, family 84 net/bridge/netfilter/ebt_dnat.c .family = NFPROTO_BRIDGE, family 149 net/bridge/netfilter/ebt_ip.c .family = NFPROTO_BRIDGE, family 143 net/bridge/netfilter/ebt_ip6.c .family = NFPROTO_BRIDGE, family 105 net/bridge/netfilter/ebt_limit.c .family = NFPROTO_BRIDGE, family 206 net/bridge/netfilter/ebt_log.c .family = NFPROTO_BRIDGE, family 86 net/bridge/netfilter/ebt_mark.c .family = NFPROTO_BRIDGE, family 74 net/bridge/netfilter/ebt_mark_m.c .family = NFPROTO_BRIDGE, family 54 net/bridge/netfilter/ebt_nflog.c .family = NFPROTO_BRIDGE, family 37 net/bridge/netfilter/ebt_pkttype.c .family = NFPROTO_BRIDGE, family 59 net/bridge/netfilter/ebt_redirect.c .family = NFPROTO_BRIDGE, family 66 net/bridge/netfilter/ebt_snat.c .family = NFPROTO_BRIDGE, family 175 net/bridge/netfilter/ebt_stp.c .family = NFPROTO_BRIDGE, family 154 net/bridge/netfilter/ebt_vlan.c .family = NFPROTO_BRIDGE, family 70 net/bridge/netfilter/ebtables.c .family = NFPROTO_BRIDGE, family 367 net/bridge/netfilter/ebtables.c if (IS_ERR(match) || match->family != NFPROTO_BRIDGE) { family 407 net/bridge/netfilter/ebtables.c if (watcher->family != NFPROTO_BRIDGE) { family 591 net/bridge/netfilter/ebtables.c par.family = NFPROTO_BRIDGE; family 609 net/bridge/netfilter/ebtables.c par.family = NFPROTO_BRIDGE; family 634 net/bridge/netfilter/ebtables.c par.family = NFPROTO_BRIDGE; family 699 net/bridge/netfilter/ebtables.c mtpar.family = tgpar.family = NFPROTO_BRIDGE; family 717 net/bridge/netfilter/ebtables.c if (target->family != NFPROTO_BRIDGE) { family 134 net/bridge/netfilter/nft_meta_bridge.c .family = NFPROTO_BRIDGE, family 434 net/bridge/netfilter/nft_reject_bridge.c .family = NFPROTO_BRIDGE, family 971 net/caif/caif_socket.c .family = PF_CAIF, family 992 net/caif/caif_socket.c .family = PF_CAIF, family 1109 net/caif/caif_socket.c .family = PF_CAIF, family 851 net/can/af_can.c .family = PF_CAN, family 1639 net/can/bcm.c .family = PF_CAN, family 1192 net/can/j1939/socket.c .family = PF_CAN, family 846 net/can/raw.c .family = PF_CAN, family 38 net/core/dev_ioctl.c int register_gifconf(unsigned int family, gifconf_func_t *gifconf) family 40 net/core/dev_ioctl.c if (family >= NPROTO) family 42 net/core/dev_ioctl.c gifconf_list[family] = gifconf; family 241 net/core/dst.c .family = AF_UNSPEC, family 144 net/core/fib_notifier.c if (ops->family == o->family) family 90 net/core/fib_rules.c static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) family 96 net/core/fib_rules.c if (ops->family == family) { family 138 net/core/fib_rules.c if (ops->family == o->family) family 326 net/core/fib_rules.c struct fib_rule *rule, int family) family 329 net/core/fib_rules.c .info.family = family, family 343 net/core/fib_rules.c .info.family = ops->family, family 353 net/core/fib_rules.c int fib_rules_dump(struct net *net, struct notifier_block *nb, int family) family 358 net/core/fib_rules.c ops = lookup_rules_ops(net, family); family 363 net/core/fib_rules.c family); family 370 net/core/fib_rules.c unsigned int fib_rules_seq_read(struct net *net, int family) family 377 net/core/fib_rules.c ops = lookup_rules_ops(net, family); family 739 net/core/fib_rules.c ops = lookup_rules_ops(net, frh->family); family 847 net/core/fib_rules.c ops = lookup_rules_ops(net, frh->family); family 969 net/core/fib_rules.c frh->family = ops->family; family 1096 net/core/fib_rules.c int idx = 0, family; family 1105 net/core/fib_rules.c family = rtnl_msg_family(nlh); family 1106 net/core/fib_rules.c if (family != AF_UNSPEC) { family 1108 net/core/fib_rules.c ops = lookup_rules_ops(net, family); family 4569 net/core/filter.c to->family = x->props.family; family 4572 net/core/filter.c if (to->family == AF_INET6) { family 4716 net/core/filter.c params->family = AF_INET6; family 4849 net/core/filter.c switch (params->family) { family 4886 net/core/filter.c switch (params->family) { family 5208 net/core/filter.c int dif, int sdif, u8 family, u8 proto) family 5213 net/core/filter.c if (family == AF_INET) { family 5263 net/core/filter.c u8 family = AF_UNSPEC; family 5268 net/core/filter.c family = AF_INET; family 5270 net/core/filter.c family = AF_INET6; family 5274 net/core/filter.c if (unlikely(family == AF_UNSPEC || flags || family 5278 net/core/filter.c if (family == AF_INET) family 5285 net/core/filter.c sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); family 5290 net/core/filter.c sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); family 6539 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): family 6608 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): family 6706 net/core/filter.c case offsetof(struct bpf_sock, family): family 6852 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): family 7138 net/core/filter.c case bpf_ctx_range(struct sk_msg_md, family): family 7424 net/core/filter.c case offsetof(struct __sk_buff, family): family 7626 net/core/filter.c case offsetof(struct bpf_sock, family): family 7928 net/core/filter.c case offsetof(struct bpf_sock_addr, family): family 8081 net/core/filter.c case offsetof(struct bpf_sock_ops, family): family 8356 net/core/filter.c case offsetof(struct sk_msg_md, family): family 24 net/core/lwt_bpf.c int family; family 371 net/core/lwt_bpf.c unsigned int family, const void *cfg, family 380 net/core/lwt_bpf.c if (family != AF_INET && family != AF_INET6) family 433 net/core/lwt_bpf.c bpf->family = family; family 102 net/core/lwtunnel.c struct nlattr *encap, unsigned int family, family 125 net/core/lwtunnel.c ret = ops->build_state(encap, family, cfg, lws, extack); family 1752 net/core/neighbour.c static struct neigh_table *neigh_find_table(int family) family 1756 net/core/neighbour.c switch (family) { family 2040 net/core/neighbour.c ndtmsg->ndtm_family = tbl->family; family 2132 net/core/neighbour.c ndtmsg->ndtm_family = tbl->family; family 2201 net/core/neighbour.c if (ndtmsg->ndtm_family && tbl->family != ndtmsg->ndtm_family) family 2365 net/core/neighbour.c int family, tidx, nidx = 0; family 2377 net/core/neighbour.c family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family; family 2386 net/core/neighbour.c if (tidx < tbl_skip || (family && tbl->family != family)) family 2435 net/core/neighbour.c ndm->ndm_family = neigh->ops->family; family 2490 net/core/neighbour.c ndm->ndm_family = tbl->family; family 2703 net/core/neighbour.c int t, family, s_t; family 2707 net/core/neighbour.c family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family; family 2727 net/core/neighbour.c if (t < s_t || (family && tbl->family != family)) family 3397 net/core/neighbour.c int family) family 3399 net/core/neighbour.c switch (family) { family 3412 net/core/neighbour.c int family = neigh_parms_family(p); family 3417 net/core/neighbour.c neigh_get_dev_parms_rcu(dev, family); family 3658 net/core/pktgen.c pkt_dev->dstops.family = AF_INET; family 540 net/core/rtnetlink.c static const struct rtnl_af_ops *rtnl_af_lookup(const int family) family 545 net/core/rtnetlink.c if (ops->family == family) family 1564 net/core/rtnetlink.c af = nla_nest_start_noflag(skb, af_ops->family); family 3445 net/core/rtnetlink.c int s_idx = cb->family; family 3484 net/core/rtnetlink.c cb->family = idx; family 4812 net/core/rtnetlink.c ifsm->family = PF_UNSPEC; family 4906 net/core/rtnetlink.c af_ops->family); family 5165 net/core/rtnetlink.c int family; family 5178 net/core/rtnetlink.c family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family; family 5190 net/core/rtnetlink.c link = rtnl_get_link(family, type); family 5192 net/core/rtnetlink.c family = PF_UNSPEC; family 5193 net/core/rtnetlink.c link = rtnl_get_link(family, type); family 5226 net/core/rtnetlink.c link = rtnl_get_link(family, type); family 5228 net/core/rtnetlink.c family = PF_UNSPEC; family 5252 net/core/rtnetlink.c link = rtnl_get_link(family, type); family 156 net/core/scm.c if (!sock->ops || sock->ops->family != PF_UNIX) family 1592 net/core/sock.c int family) family 1608 net/core/sock.c if (security_sk_alloc(sk, family, priority)) family 1654 net/core/sock.c struct sock *sk_alloc(struct net *net, int family, gfp_t priority, family 1659 net/core/sock.c sk = sk_prot_alloc(prot, priority | __GFP_ZERO, family); family 1661 net/core/sock.c sk->sk_family = family; family 3457 net/core/sock.c int sock_load_diag_module(int family, int protocol) family 3460 net/core/sock.c if (!sock_is_registered(family)) family 3464 net/core/sock.c NETLINK_SOCK_DIAG, family); family 3468 net/core/sock.c if (family == AF_INET && family 3475 net/core/sock.c NETLINK_SOCK_DIAG, family, protocol); family 184 net/core/sock_diag.c if (hndl->family >= AF_MAX) family 188 net/core/sock_diag.c if (sock_diag_handlers[hndl->family]) family 191 net/core/sock_diag.c sock_diag_handlers[hndl->family] = hndl; family 200 net/core/sock_diag.c int family = hnld->family; family 202 net/core/sock_diag.c if (family >= AF_MAX) family 206 net/core/sock_diag.c BUG_ON(sock_diag_handlers[family] != hnld); family 207 net/core/sock_diag.c sock_diag_handlers[family] = NULL; family 564 net/dccp/ipv4.c .family = PF_INET, family 979 net/dccp/ipv4.c .family = PF_INET, family 298 net/dccp/ipv6.c .family = AF_INET6, family 1065 net/dccp/ipv6.c .family = PF_INET6, family 2312 net/decnet/af_decnet.c .family = AF_DECnet, family 2318 net/decnet/af_decnet.c .family = AF_DECnet, family 60 net/decnet/dn_neigh.c .family = AF_DECnet, family 79 net/decnet/dn_neigh.c .family = PF_DECnet, family 131 net/decnet/dn_route.c .family = PF_DECnet, family 228 net/decnet/dn_rules.c .family = AF_DECnet, family 208 net/ieee802154/socket.c if (uaddr->family != AF_IEEE802154) family 407 net/ieee802154/socket.c .family = PF_IEEE802154, family 504 net/ieee802154/socket.c if (addr->family != AF_IEEE802154) family 575 net/ieee802154/socket.c if (addr->family != AF_IEEE802154) family 735 net/ieee802154/socket.c saddr->family = AF_IEEE802154; family 970 net/ieee802154/socket.c .family = PF_IEEE802154, family 1059 net/ieee802154/socket.c .family = PF_IEEE802154, family 984 net/ipv4/af_inet.c .family = PF_INET, family 1020 net/ipv4/af_inet.c .family = PF_INET, family 1053 net/ipv4/af_inet.c .family = PF_INET, family 1080 net/ipv4/af_inet.c .family = PF_INET, family 1624 net/ipv4/af_inet.c int inet_ctl_sock_create(struct sock **sk, unsigned short family, family 1629 net/ipv4/af_inet.c int rc = sock_create_kern(net, family, type, protocol, &sock); family 130 net/ipv4/arp.c .family = AF_INET, family 138 net/ipv4/arp.c .family = AF_INET, family 146 net/ipv4/arp.c .family = AF_INET, family 152 net/ipv4/arp.c .family = AF_INET, family 2740 net/ipv4/devinet.c .family = AF_INET, family 976 net/ipv4/esp4.c else if (x->props.mode == XFRM_MODE_BEET && x->sel.family != AF_INET6) family 73 net/ipv4/esp4_offload.c XFRM_SPI_SKB_CB(skb)->family = AF_INET; family 16 net/ipv4/fib_notifier.c info->family = AF_INET; family 25 net/ipv4/fib_notifier.c info->family = AF_INET; family 51 net/ipv4/fib_notifier.c .family = AF_INET, family 370 net/ipv4/fib_rules.c .family = AF_INET, family 27 net/ipv4/fou.c u8 family; family 59 net/ipv4/fou.c if (fou->family == AF_INET) family 180 net/ipv4/fou.c if (fou->family == AF_INET) family 508 net/ipv4/fou.c if (fou->family != udp_cfg->family || family 514 net/ipv4/fou.c if (fou->family == AF_INET) { family 587 net/ipv4/fou.c fou->family = cfg->udp_config.family; family 681 net/ipv4/fou.c cfg->udp_config.family = AF_INET; family 684 net/ipv4/fou.c u8 family = nla_get_u8(info->attrs[FOU_ATTR_AF]); family 686 net/ipv4/fou.c switch (family) { family 696 net/ipv4/fou.c cfg->udp_config.family = family; family 713 net/ipv4/fou.c if (cfg->udp_config.family == AF_INET) { family 852 net/ipv4/fou.c u8 family; family 862 net/ipv4/fou.c family = cfg.udp_config.family; family 863 net/ipv4/fou.c if (family != AF_INET && family != AF_INET6) family 41 net/ipv4/inet_diag.c u16 family; family 605 net/ipv4/inet_diag.c if (cond->family != AF_UNSPEC && family 606 net/ipv4/inet_diag.c cond->family != entry->family) { family 607 net/ipv4/inet_diag.c if (entry->family == AF_INET6 && family 608 net/ipv4/inet_diag.c cond->family == AF_INET) { family 682 net/ipv4/inet_diag.c entry.family = sk->sk_family; family 741 net/ipv4/inet_diag.c switch (cond->family) { family 1229 net/ipv4/inet_diag.c .family = AF_INET, family 1236 net/ipv4/inet_diag.c .family = AF_INET6, family 257 net/ipv4/inet_timewait_sock.c void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) family 274 net/ipv4/inet_timewait_sock.c if ((tw->tw_family != family) || family 281 net/ipv4/inet_timewait_sock.c if (unlikely((tw->tw_family != family) || family 223 net/ipv4/ip_tunnel_core.c unsigned int family, const void *cfg, family 340 net/ipv4/ip_tunnel_core.c unsigned int family, const void *cfg, family 83 net/ipv4/ip_vti.c XFRM_SPI_SKB_CB(skb)->family = AF_INET; family 122 net/ipv4/ip_vti.c unsigned short family; family 147 net/ipv4/ip_vti.c if (x->sel.family == AF_UNSPEC) { family 156 net/ipv4/ip_vti.c family = inner_mode->family; family 159 net/ipv4/ip_vti.c ret = xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family); family 187 net/ipv4/ip_vti.c x->props.family != AF_INET) family 69 net/ipv4/ipcomp.c t->props.family = AF_INET; family 223 net/ipv4/ipmr.c .family = RTNL_FAMILY_IPMR, family 3051 net/ipv4/ipmr.c .family = RTNL_FAMILY_IPMR, family 387 net/ipv4/ipmr_base.c int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, family 412 net/ipv4/ipmr_base.c mr_call_vif_notifier(nb, net, family, family 420 net/ipv4/ipmr_base.c mr_call_mfc_notifier(nb, net, family, family 397 net/ipv4/netfilter/arp_tables.c .family = NFPROTO_ARP, family 508 net/ipv4/netfilter/arp_tables.c par.family = NFPROTO_ARP; family 1593 net/ipv4/netfilter/arp_tables.c .family = NFPROTO_ARP, family 1604 net/ipv4/netfilter/arp_tables.c .family = NFPROTO_ARP, family 74 net/ipv4/netfilter/arpt_mangle.c .family = NFPROTO_ARP, family 458 net/ipv4/netfilter/ip_tables.c par.family = NFPROTO_IPV4; family 508 net/ipv4/netfilter/ip_tables.c .family = NFPROTO_IPV4, family 536 net/ipv4/netfilter/ip_tables.c mtpar.family = NFPROTO_IPV4; family 651 net/ipv4/netfilter/ip_tables.c par.family = NFPROTO_IPV4; family 1858 net/ipv4/netfilter/ip_tables.c .family = NFPROTO_IPV4, family 1869 net/ipv4/netfilter/ip_tables.c .family = NFPROTO_IPV4, family 1897 net/ipv4/netfilter/ip_tables.c .family = NFPROTO_IPV4, family 511 net/ipv4/netfilter/ipt_CLUSTERIP.c ret = nf_ct_netns_get(par->net, par->family); family 514 net/ipv4/netfilter/ipt_CLUSTERIP.c par->family); family 541 net/ipv4/netfilter/ipt_CLUSTERIP.c nf_ct_netns_put(par->net, par->family); family 560 net/ipv4/netfilter/ipt_CLUSTERIP.c .family = NFPROTO_IPV4, family 114 net/ipv4/netfilter/ipt_ECN.c .family = NFPROTO_IPV4, family 89 net/ipv4/netfilter/ipt_REJECT.c .family = NFPROTO_IPV4, family 74 net/ipv4/netfilter/ipt_SYNPROXY.c err = nf_ct_netns_get(par->net, par->family); family 80 net/ipv4/netfilter/ipt_SYNPROXY.c nf_ct_netns_put(par->net, par->family); family 92 net/ipv4/netfilter/ipt_SYNPROXY.c nf_ct_netns_put(par->net, par->family); family 97 net/ipv4/netfilter/ipt_SYNPROXY.c .family = NFPROTO_IPV4, family 69 net/ipv4/netfilter/ipt_ah.c .family = NFPROTO_IPV4, family 107 net/ipv4/netfilter/ipt_rpfilter.c .family = NFPROTO_IPV4, family 10 net/ipv4/netfilter/nf_flow_table_ipv4.c .family = NFPROTO_IPV4, family 86 net/ipv4/netfilter/nft_dup_ipv4.c .family = NFPROTO_IPV4, family 194 net/ipv4/netfilter/nft_fib_ipv4.c .family = NFPROTO_IPV4, family 50 net/ipv4/netfilter/nft_reject_ipv4.c .family = NFPROTO_IPV4, family 10 net/ipv4/netlink.c int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, family 20 net/ipv4/netlink.c if (family != AF_INET) family 25 net/ipv4/netlink.c if (family != AF_INET6) family 85 net/ipv4/nexthop.c switch (nhi->family) { family 247 net/ipv4/nexthop.c nhm->nh_family = nhi->family; family 261 net/ipv4/nexthop.c switch (nhi->family) { family 310 net/ipv4/nexthop.c switch (nhi->family) { family 511 net/ipv4/nexthop.c switch (nhi->family) { family 593 net/ipv4/nexthop.c if (nhi->family == AF_INET) family 1138 net/ipv4/nexthop.c if (nhi->family == AF_INET) family 1252 net/ipv4/nexthop.c nhi->family = cfg->nh_family; family 1623 net/ipv4/nexthop.c bool group_filter, u8 family) family 1631 net/ipv4/nexthop.c if (!dev_idx && !master_idx && !family) family 1638 net/ipv4/nexthop.c if (family && nhi->family != family) family 1775 net/ipv4/nexthop.c if (nhi->family == AF_INET) family 465 net/ipv4/ping.c static inline int ping_supported(int family, int type, int code) family 467 net/ipv4/ping.c return (family == AF_INET && type == ICMP_ECHO && code == 0) || family 468 net/ipv4/ping.c (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); family 478 net/ipv4/ping.c int family; family 489 net/ipv4/ping.c family = AF_INET; family 494 net/ipv4/ping.c family = AF_INET6; family 504 net/ipv4/ping.c if (!ping_supported(family, icmph->type, icmph->code)) family 570 net/ipv4/ping.c if ((family == AF_INET && !inet_sock->recverr) || family 571 net/ipv4/ping.c (family == AF_INET6 && !inet6_sk(sk)->recverr)) { family 575 net/ipv4/ping.c if (family == AF_INET) { family 579 net/ipv4/ping.c } else if (family == AF_INET6) { family 623 net/ipv4/ping.c if (pfh->family == AF_INET6) { family 649 net/ipv4/ping.c int ping_common_sendmsg(int family, struct msghdr *msg, size_t len, family 675 net/ipv4/ping.c if (family == AF_INET) { family 679 net/ipv4/ping.c } else if (family == AF_INET6) { family 687 net/ipv4/ping.c if (!ping_supported(family, type, code)) family 820 net/ipv4/ping.c pfh.family = AF_INET; family 854 net/ipv4/ping.c int family = sk->sk_family; family 885 net/ipv4/ping.c if (family == AF_INET) { family 900 net/ipv4/ping.c } else if (family == AF_INET6) { family 1029 net/ipv4/ping.c sk->sk_family == state->family) family 1062 net/ipv4/ping.c void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family) family 1067 net/ipv4/ping.c state->family = family; family 160 net/ipv4/route.c .family = AF_INET, family 2668 net/ipv4/route.c .family = AF_INET, family 636 net/ipv4/tcp_bpf.c int family = sk->sk_family == AF_INET6 ? TCP_BPF_IPV6 : TCP_BPF_IPV4; family 639 net/ipv4/tcp_bpf.c sk_psock_update_proto(sk, psock, &tcp_bpf_prots[family][config]); family 644 net/ipv4/tcp_bpf.c int family = sk->sk_family == AF_INET6 ? TCP_BPF_IPV6 : TCP_BPF_IPV4; family 651 net/ipv4/tcp_bpf.c sk->sk_prot = &tcp_bpf_prots[family][config]; family 41 net/ipv4/tcp_diag.c info->tcpm_family = key->family; family 46 net/ipv4/tcp_diag.c if (key->family == AF_INET) family 49 net/ipv4/tcp_diag.c else if (key->family == AF_INET6) family 118 net/ipv4/tcp_fastopen.c if (req->rsk_ops->family == AF_INET) { family 129 net/ipv4/tcp_fastopen.c if (req->rsk_ops->family == AF_INET6) { family 6376 net/ipv4/tcp_input.c static inline void pr_drop_req(struct request_sock *req, __u16 port, int family) family 6380 net/ipv4/tcp_input.c if (family == AF_INET) family 6384 net/ipv4/tcp_input.c else if (family == AF_INET6) family 6641 net/ipv4/tcp_input.c rsk_ops->family); family 990 net/ipv4/tcp_ipv4.c int family) family 1006 net/ipv4/tcp_ipv4.c if (key->family != family) family 1009 net/ipv4/tcp_ipv4.c if (family == AF_INET) { family 1014 net/ipv4/tcp_ipv4.c } else if (family == AF_INET6) { family 1032 net/ipv4/tcp_ipv4.c int family, u8 prefixlen) family 1045 net/ipv4/tcp_ipv4.c if (family == AF_INET6) family 1049 net/ipv4/tcp_ipv4.c if (key->family != family) family 1070 net/ipv4/tcp_ipv4.c int family, u8 prefixlen, const u8 *newkey, u8 newkeylen, family 1078 net/ipv4/tcp_ipv4.c key = tcp_md5_do_lookup_exact(sk, addr, family, prefixlen); family 1108 net/ipv4/tcp_ipv4.c key->family = family; family 1111 net/ipv4/tcp_ipv4.c (family == AF_INET6) ? sizeof(struct in6_addr) : family 1118 net/ipv4/tcp_ipv4.c int tcp_md5_do_del(struct sock *sk, const union tcp_md5_addr *addr, int family, family 1123 net/ipv4/tcp_ipv4.c key = tcp_md5_do_lookup_exact(sk, addr, family, prefixlen); family 1368 net/ipv4/tcp_ipv4.c .family = PF_INET, family 2172 net/ipv4/tcp_ipv4.c if (sk->sk_family == afinfo->family) family 2226 net/ipv4/tcp_ipv4.c if (sk->sk_family != afinfo->family || family 2253 net/ipv4/tcp_ipv4.c if (sk->sk_family == afinfo->family && family 2540 net/ipv4/tcp_ipv4.c .family = AF_INET, family 237 net/ipv4/tcp_metrics.c saddr.family = req->rsk_ops->family; family 238 net/ipv4/tcp_metrics.c daddr.family = req->rsk_ops->family; family 239 net/ipv4/tcp_metrics.c switch (daddr.family) { family 622 net/ipv4/tcp_metrics.c switch (tm->tcpm_daddr.family) { family 24 net/ipv4/tunnel4.c static inline struct xfrm_tunnel __rcu **fam_handlers(unsigned short family) family 26 net/ipv4/tunnel4.c return (family == AF_INET) ? &tunnel4_handlers : family 27 net/ipv4/tunnel4.c (family == AF_INET6) ? &tunnel64_handlers : family 31 net/ipv4/tunnel4.c int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family) family 41 net/ipv4/tunnel4.c for (pprev = fam_handlers(family); family 63 net/ipv4/tunnel4.c int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family) family 71 net/ipv4/tunnel4.c for (pprev = fam_handlers(family); family 2830 net/ipv4/udp.c if (sk->sk_family == afinfo->family) family 2848 net/ipv4/udp.c } while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != afinfo->family)); family 2948 net/ipv4/udp.c .family = AF_INET, family 204 net/ipv4/udp_tunnel.c struct metadata_dst *udp_tun_rx_dst(struct sk_buff *skb, unsigned short family, family 210 net/ipv4/udp_tunnel.c if (family == AF_INET) family 76 net/ipv4/udplite.c .family = AF_INET, family 80 net/ipv4/xfrm4_output.c afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); family 141 net/ipv4/xfrm4_policy.c .family = AF_INET, family 69 net/ipv4/xfrm4_protocol.c XFRM_SPI_SKB_CB(skb)->family = AF_INET; family 193 net/ipv4/xfrm4_protocol.c .family = AF_INET, family 35 net/ipv4/xfrm4_state.c .family = AF_INET, family 7022 net/ipv6/addrconf.c .family = AF_INET6, family 601 net/ipv6/af_inet6.c .family = PF_INET6, family 635 net/ipv6/af_inet6.c .family = PF_INET6, family 662 net/ipv6/af_inet6.c .family = PF_INET6, family 874 net/ipv6/esp6.c if (x->sel.family != AF_INET6) family 100 net/ipv6/esp6_offload.c XFRM_SPI_SKB_CB(skb)->family = AF_INET6; family 14 net/ipv6/fib6_notifier.c info->family = AF_INET6; family 21 net/ipv6/fib6_notifier.c info->family = AF_INET6; family 42 net/ipv6/fib6_notifier.c .family = AF_INET6, family 442 net/ipv6/fib6_rules.c .family = AF_INET6, family 129 net/ipv6/ila/ila_lwt.c unsigned int family, const void *cfg, family 146 net/ipv6/ila/ila_lwt.c if (family != AF_INET6) family 963 net/ipv6/ip6_output.c if (dst->ops->family != AF_INET6) { family 337 net/ipv6/ip6_vti.c unsigned short family; family 362 net/ipv6/ip6_vti.c if (x->sel.family == AF_UNSPEC) { family 371 net/ipv6/ip6_vti.c family = inner_mode->family; family 374 net/ipv6/ip6_vti.c ret = xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family); family 422 net/ipv6/ip6_vti.c x->props.family != AF_INET6) family 210 net/ipv6/ip6mr.c .family = RTNL_FAMILY_IP6MR, family 1270 net/ipv6/ip6mr.c .family = RTNL_FAMILY_IP6MR, family 90 net/ipv6/ipcomp6.c t->props.family = AF_INET6; family 233 net/ipv6/mip6.c sel.family = AF_INET6; family 86 net/ipv6/ndisc.c .family = AF_INET6, family 94 net/ipv6/ndisc.c .family = AF_INET6, family 103 net/ipv6/ndisc.c .family = AF_INET6, family 109 net/ipv6/ndisc.c .family = AF_INET6, family 476 net/ipv6/netfilter/ip6_tables.c par.family = NFPROTO_IPV6; family 526 net/ipv6/netfilter/ip6_tables.c .family = NFPROTO_IPV6, family 555 net/ipv6/netfilter/ip6_tables.c mtpar.family = NFPROTO_IPV6; family 668 net/ipv6/netfilter/ip6_tables.c par.family = NFPROTO_IPV6; family 1869 net/ipv6/netfilter/ip6_tables.c .family = NFPROTO_IPV6, family 1880 net/ipv6/netfilter/ip6_tables.c .family = NFPROTO_IPV6, family 1908 net/ipv6/netfilter/ip6_tables.c .family = NFPROTO_IPV6, family 114 net/ipv6/netfilter/ip6t_NPT.c .family = NFPROTO_IPV6, family 126 net/ipv6/netfilter/ip6t_NPT.c .family = NFPROTO_IPV6, family 100 net/ipv6/netfilter/ip6t_REJECT.c .family = NFPROTO_IPV6, family 77 net/ipv6/netfilter/ip6t_SYNPROXY.c err = nf_ct_netns_get(par->net, par->family); family 83 net/ipv6/netfilter/ip6t_SYNPROXY.c nf_ct_netns_put(par->net, par->family); family 95 net/ipv6/netfilter/ip6t_SYNPROXY.c nf_ct_netns_put(par->net, par->family); family 100 net/ipv6/netfilter/ip6t_SYNPROXY.c .family = NFPROTO_IPV6, family 100 net/ipv6/netfilter/ip6t_ah.c .family = NFPROTO_IPV6, family 52 net/ipv6/netfilter/ip6t_eui64.c .family = NFPROTO_IPV6, family 115 net/ipv6/netfilter/ip6t_frag.c .family = NFPROTO_IPV6, family 185 net/ipv6/netfilter/ip6t_hbh.c .family = NFPROTO_IPV6, family 193 net/ipv6/netfilter/ip6t_hbh.c .family = NFPROTO_IPV6, family 134 net/ipv6/netfilter/ip6t_ipv6header.c .family = NFPROTO_IPV6, family 71 net/ipv6/netfilter/ip6t_mh.c .family = NFPROTO_IPV6, family 131 net/ipv6/netfilter/ip6t_rpfilter.c .family = NFPROTO_IPV6, family 210 net/ipv6/netfilter/ip6t_rt.c .family = NFPROTO_IPV6, family 288 net/ipv6/netfilter/ip6t_srh.c .family = NFPROTO_IPV6, family 297 net/ipv6/netfilter/ip6t_srh.c .family = NFPROTO_IPV6, family 11 net/ipv6/netfilter/nf_flow_table_ipv6.c .family = NFPROTO_IPV6, family 84 net/ipv6/netfilter/nft_dup_ipv6.c .family = NFPROTO_IPV6, family 239 net/ipv6/netfilter/nft_fib_ipv6.c .family = NFPROTO_IPV6, family 51 net/ipv6/netfilter/nft_reject_ipv6.c .family = NFPROTO_IPV6, family 136 net/ipv6/ping.c pfh.family = AF_INET6; family 1360 net/ipv6/raw.c .family = PF_INET6, family 242 net/ipv6/route.c .family = AF_INET6, family 279 net/ipv6/route.c .family = AF_INET6, family 380 net/ipv6/seg6_iptunnel.c unsigned int family, const void *cfg, family 391 net/ipv6/seg6_iptunnel.c if (family != AF_INET && family != AF_INET6) family 416 net/ipv6/seg6_iptunnel.c if (family != AF_INET6) family 959 net/ipv6/seg6_local.c static int seg6_local_build_state(struct nlattr *nla, unsigned int family, family 968 net/ipv6/seg6_local.c if (family != AF_INET6) family 779 net/ipv6/tcp_ipv6.c .family = AF_INET6, family 1989 net/ipv6/tcp_ipv6.c .family = AF_INET6, family 26 net/ipv6/tunnel6.c int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) family 35 net/ipv6/tunnel6.c for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; family 57 net/ipv6/tunnel6.c int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family) family 65 net/ipv6/tunnel6.c for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; family 1634 net/ipv6/udp.c .family = AF_INET6, family 96 net/ipv6/udplite.c .family = AF_INET6, family 29 net/ipv6/xfrm6_input.c XFRM_SPI_SKB_CB(skb)->family = AF_INET6; family 126 net/ipv6/xfrm6_output.c afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); family 158 net/ipv6/xfrm6_policy.c .family = AF_INET6, family 167 net/ipv6/xfrm6_protocol.c .family = AF_INET6, family 41 net/ipv6/xfrm6_state.c .family = AF_INET6, family 2380 net/iucv/af_iucv.c .family = PF_IUCV, family 2400 net/iucv/af_iucv.c .family = AF_IUCV, family 1899 net/kcm/kcmsock.c .family = PF_KCM, family 1920 net/kcm/kcmsock.c .family = PF_KCM, family 2002 net/kcm/kcmsock.c .family = PF_KCM, family 67 net/key/af_key.c u16 *family); family 617 net/key/af_key.c static inline int pfkey_sockaddr_len(sa_family_t family) family 619 net/key/af_key.c switch (family) { family 661 net/key/af_key.c unsigned short family; family 677 net/key/af_key.c family = ((const struct sockaddr *)(addr + 1))->sa_family; family 678 net/key/af_key.c switch (family) { family 694 net/key/af_key.c return xfrm_state_lookup(net, DUMMY_MARK, xaddr, sa->sadb_sa_spi, proto, family); family 700 net/key/af_key.c pfkey_sockaddr_size(sa_family_t family) family 702 net/key/af_key.c return PFKEY_ALIGN8(pfkey_sockaddr_len(family)); family 736 net/key/af_key.c unsigned short family) family 738 net/key/af_key.c switch (family) { family 785 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); family 805 net/key/af_key.c if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, x->props.family)) family 930 net/key/af_key.c x->props.family); family 945 net/key/af_key.c x->props.family); family 949 net/key/af_key.c x->props.family)) { family 963 net/key/af_key.c x->props.family); family 1237 net/key/af_key.c x->props.family = pfkey_sadb_addr2xfrm_addr((struct sadb_address *) ext_hdrs[SADB_EXT_ADDRESS_SRC-1], family 1257 net/key/af_key.c x->sel.family = pfkey_sadb_addr2xfrm_addr(addr, &x->sel.saddr); family 1261 net/key/af_key.c if (!x->sel.family) family 1262 net/key/af_key.c x->sel.family = x->props.family; family 1323 net/key/af_key.c unsigned short family; family 1347 net/key/af_key.c family = ((struct sockaddr *)(saddr + 1))->sa_family; family 1348 net/key/af_key.c switch (family) { family 1363 net/key/af_key.c if (x && !xfrm_addr_equal(&x->id.daddr, xdaddr, family)) { family 1370 net/key/af_key.c x = xfrm_find_acq(net, &dummy_mark, mode, reqid, 0, proto, xdaddr, xsaddr, 1, family); family 1862 net/key/af_key.c filter->family = xfilter->sadb_x_filter_family; family 1976 net/key/af_key.c t->encap_family = xp->family; family 2022 net/key/af_key.c int sockaddr_size = pfkey_sockaddr_size(xp->family); family 2065 net/key/af_key.c int sockaddr_size = pfkey_sockaddr_size(xp->family); family 2066 net/key/af_key.c int socklen = pfkey_sockaddr_len(xp->family); family 2086 net/key/af_key.c xp->family)) family 2101 net/key/af_key.c xp->family); family 2267 net/key/af_key.c xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); family 2268 net/key/af_key.c xp->selector.family = xp->family; family 2375 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); family 2458 net/key/af_key.c static int pfkey_sockaddr_pair_size(sa_family_t family) family 2460 net/key/af_key.c return PFKEY_ALIGN8(pfkey_sockaddr_len(family) * 2); family 2465 net/key/af_key.c u16 *family) family 2481 net/key/af_key.c *family = af; family 2571 net/key/af_key.c &k.local, &k.remote, &k.family); family 2583 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); family 3144 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); family 3188 net/key/af_key.c x->props.family); family 3203 net/key/af_key.c x->props.family); family 3289 net/key/af_key.c xp->family = sk->sk_family; family 3340 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); family 3400 net/key/af_key.c x->props.family); family 3422 net/key/af_key.c x->props.family); family 3453 net/key/af_key.c sel->family); family 3459 net/key/af_key.c sel->family); family 3473 net/key/af_key.c int family = k->family; family 3474 net/key/af_key.c int socklen = pfkey_sockaddr_len(family); family 3478 net/key/af_key.c pfkey_sockaddr_pair_size(family)); family 3486 net/key/af_key.c if (!pfkey_sockaddr_fill(&k->local, 0, (struct sockaddr *)sa, family) || family 3487 net/key/af_key.c !pfkey_sockaddr_fill(&k->remote, 0, (struct sockaddr *)(sa+socklen), family)) family 3495 net/key/af_key.c uint32_t reqid, uint8_t family, family 3500 net/key/af_key.c int socklen = pfkey_sockaddr_len(family); family 3504 net/key/af_key.c pfkey_sockaddr_pair_size(family); family 3514 net/key/af_key.c if (!pfkey_sockaddr_fill(src, 0, (struct sockaddr *)sa, family) || family 3515 net/key/af_key.c !pfkey_sockaddr_fill(dst, 0, (struct sockaddr *)(sa + socklen), family)) family 3546 net/key/af_key.c pfkey_sockaddr_pair_size(k->family)); family 3550 net/key/af_key.c sasize_sel = pfkey_sockaddr_size(sel->family); family 3726 net/key/af_key.c .family = PF_KEY, family 3750 net/key/af_key.c .family = PF_KEY, family 1307 net/l2tp/l2tp_core.c udp_conf.family = AF_INET6; family 1319 net/l2tp/l2tp_core.c udp_conf.family = AF_INET; family 622 net/l2tp/l2tp_ip.c .family = PF_INET, family 755 net/l2tp/l2tp_ip6.c .family = PF_INET6, family 104 net/l2tp/l2tp_netlink.c static int l2tp_tunnel_notify(struct genl_family *family, family 120 net/l2tp/l2tp_netlink.c ret = genlmsg_multicast_allns(family, msg, 0, 0, GFP_ATOMIC); family 132 net/l2tp/l2tp_netlink.c static int l2tp_session_notify(struct genl_family *family, family 148 net/l2tp/l2tp_netlink.c ret = genlmsg_multicast_allns(family, msg, 0, 0, GFP_ATOMIC); family 1667 net/l2tp/l2tp_ppp.c .family = AF_PPPOX, family 1183 net/llc/af_llc.c .family = PF_LLC, family 1189 net/llc/af_llc.c .family = PF_LLC, family 915 net/llc/llc_conn.c struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern) family 917 net/llc/llc_conn.c struct sock *sk = sk_alloc(net, family, priority, prot, kern); family 75 net/mac802154/iface.c sa->family = AF_IEEE802154; family 91 net/mac802154/iface.c if (sa->family != AF_IEEE802154 || family 1663 net/mpls/af_mpls.c int family = AF_UNSPEC; family 1670 net/mpls/af_mpls.c family = table_to_family[table]; family 1673 net/mpls/af_mpls.c via->rtvia_family = family; family 2720 net/mpls/af_mpls.c .family = AF_MPLS, family 78 net/mpls/mpls_iptunnel.c if (dst->ops->family == AF_INET) { family 87 net/mpls/mpls_iptunnel.c } else if (dst->ops->family == AF_INET6) { family 166 net/mpls/mpls_iptunnel.c unsigned int family, const void *cfg, family 235 net/netfilter/ipset/ip_set_bitmap_ip.c set->family = NFPROTO_IPV4; family 332 net/netfilter/ipset/ip_set_bitmap_ip.c .family = NFPROTO_IPV4, family 312 net/netfilter/ipset/ip_set_bitmap_ipmac.c set->family = NFPROTO_IPV4; family 381 net/netfilter/ipset/ip_set_bitmap_ipmac.c .family = NFPROTO_IPV4, family 111 net/netfilter/ipset/ip_set_bitmap_port.c if (!ip_set_get_ip_port(skb, opt->family, family 216 net/netfilter/ipset/ip_set_bitmap_port.c set->family = NFPROTO_UNSPEC; family 265 net/netfilter/ipset/ip_set_bitmap_port.c .family = NFPROTO_UNSPEC, family 85 net/netfilter/ipset/ip_set_core.c find_set_type(const char *name, u8 family, u8 revision) family 91 net/netfilter/ipset/ip_set_core.c (type->family == family || family 92 net/netfilter/ipset/ip_set_core.c type->family == NFPROTO_UNSPEC) && family 115 net/netfilter/ipset/ip_set_core.c #define find_set_type_get(name, family, revision, found) \ family 116 net/netfilter/ipset/ip_set_core.c __find_set_type_get(name, family, revision, found, false) family 119 net/netfilter/ipset/ip_set_core.c __find_set_type_get(const char *name, u8 family, u8 revision, family 129 net/netfilter/ipset/ip_set_core.c *found = find_set_type(name, family, revision); family 145 net/netfilter/ipset/ip_set_core.c __find_set_type_get(name, family, revision, found, true); family 156 net/netfilter/ipset/ip_set_core.c #define find_set_type_minmax(name, family, min, max) \ family 157 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(name, family, min, max, false) family 160 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(const char *name, u8 family, u8 *min, u8 *max, family 173 net/netfilter/ipset/ip_set_core.c (type->family == family || family 174 net/netfilter/ipset/ip_set_core.c type->family == NFPROTO_UNSPEC)) { family 186 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(name, family, min, max, true); family 202 net/netfilter/ipset/ip_set_core.c type->name, family_name(type->family), family 209 net/netfilter/ipset/ip_set_core.c if (find_set_type(type->name, type->family, type->revision_min)) { family 212 net/netfilter/ipset/ip_set_core.c type->name, family_name(type->family), family 219 net/netfilter/ipset/ip_set_core.c type->name, family_name(type->family), family 232 net/netfilter/ipset/ip_set_core.c if (!find_set_type(type->name, type->family, type->revision_min)) { family 234 net/netfilter/ipset/ip_set_core.c type->name, family_name(type->family), family 241 net/netfilter/ipset/ip_set_core.c type->name, family_name(type->family), type->revision_min); family 585 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) family 623 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) family 645 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) family 909 net/netfilter/ipset/ip_set_core.c u8 family, revision; family 924 net/netfilter/ipset/ip_set_core.c family = nla_get_u8(attr[IPSET_ATTR_FAMILY]); family 927 net/netfilter/ipset/ip_set_core.c name, typename, family_name(family), revision); family 937 net/netfilter/ipset/ip_set_core.c set->family = family; family 947 net/netfilter/ipset/ip_set_core.c ret = find_set_type_get(typename, family, revision, &set->type); family 974 net/netfilter/ipset/ip_set_core.c set->type->family == clash->type->family && family 1240 net/netfilter/ipset/ip_set_core.c from->family == to->family)) family 1440 net/netfilter/ipset/ip_set_core.c set->family) || family 1734 net/netfilter/ipset/ip_set_core.c nla_put_u8(skb2, IPSET_ATTR_FAMILY, set->family) || family 1768 net/netfilter/ipset/ip_set_core.c u8 family, min, max; family 1777 net/netfilter/ipset/ip_set_core.c family = nla_get_u8(attr[IPSET_ATTR_FAMILY]); family 1779 net/netfilter/ipset/ip_set_core.c ret = find_set_type_minmax(typename, family, &min, &max); family 1793 net/netfilter/ipset/ip_set_core.c nla_put_u8(skb2, IPSET_ATTR_FAMILY, family) || family 1890 net/netfilter/ipset/ip_set_core.c nla_put_u8(skb2, IPSET_ATTR_FAMILY, set->family) || family 2136 net/netfilter/ipset/ip_set_core.c req_get->family = ip_set(inst, id)->family; family 1468 net/netfilter/ipset/ip_set_hash_gen.h set->name, set->family == NFPROTO_IPV4 ? "inet" : "inet6"); family 1471 net/netfilter/ipset/ip_set_hash_gen.h if (set->family != NFPROTO_UNSPEC) family 1474 net/netfilter/ipset/ip_set_hash_gen.h if (!(set->family == NFPROTO_IPV4 || set->family == NFPROTO_IPV6)) family 1498 net/netfilter/ipset/ip_set_hash_gen.h netmask = set->family == NFPROTO_IPV4 ? 32 : 128; family 1502 net/netfilter/ipset/ip_set_hash_gen.h if ((set->family == NFPROTO_IPV4 && netmask > 32) || family 1503 net/netfilter/ipset/ip_set_hash_gen.h (set->family == NFPROTO_IPV6 && netmask > 128) || family 1559 net/netfilter/ipset/ip_set_hash_gen.h if (set->family == NFPROTO_IPV4) { family 1577 net/netfilter/ipset/ip_set_hash_gen.h if (set->family == NFPROTO_IPV4) family 277 net/netfilter/ipset/ip_set_hash_ip.c .family = NFPROTO_UNSPEC, family 268 net/netfilter/ipset/ip_set_hash_ipmac.c .family = NFPROTO_UNSPEC, family 274 net/netfilter/ipset/ip_set_hash_ipmark.c .family = NFPROTO_UNSPEC, family 341 net/netfilter/ipset/ip_set_hash_ipport.c .family = NFPROTO_UNSPEC, family 356 net/netfilter/ipset/ip_set_hash_ipportip.c .family = NFPROTO_UNSPEC, family 513 net/netfilter/ipset/ip_set_hash_ipportnet.c .family = NFPROTO_UNSPEC, family 125 net/netfilter/ipset/ip_set_hash_mac.c .family = NFPROTO_UNSPEC, family 354 net/netfilter/ipset/ip_set_hash_net.c .family = NFPROTO_UNSPEC, family 457 net/netfilter/ipset/ip_set_hash_netiface.c .family = NFPROTO_UNSPEC, family 459 net/netfilter/ipset/ip_set_hash_netnet.c .family = NFPROTO_UNSPEC, family 460 net/netfilter/ipset/ip_set_hash_netport.c .family = NFPROTO_UNSPEC, family 558 net/netfilter/ipset/ip_set_hash_netportnet.c .family = NFPROTO_UNSPEC, family 639 net/netfilter/ipset/ip_set_list_set.c .family = NFPROTO_UNSPEC, family 516 net/netfilter/nf_conncount.c struct nf_conncount_data *nf_conncount_init(struct net *net, unsigned int family, family 533 net/netfilter/nf_conncount.c ret = nf_ct_netns_get(net, family); family 575 net/netfilter/nf_conncount.c void nf_conncount_destroy(struct net *net, unsigned int family, family 581 net/netfilter/nf_conncount.c nf_ct_netns_put(net, family); family 297 net/netfilter/nf_conntrack_expect.c u_int8_t family, family 304 net/netfilter/nf_conntrack_expect.c if (family == AF_INET) family 313 net/netfilter/nf_conntrack_expect.c exp->tuple.src.l3num = family; family 722 net/netfilter/nf_conntrack_h323_main.c u_int8_t family) family 726 net/netfilter/nf_conntrack_h323_main.c switch (family) { family 828 net/netfilter/nf_conntrack_netlink.c u8 family; family 836 net/netfilter/nf_conntrack_netlink.c ctnetlink_alloc_filter(const struct nlattr * const cda[], u8 family) family 849 net/netfilter/nf_conntrack_netlink.c filter->family = family; family 865 net/netfilter/nf_conntrack_netlink.c u8 family = nfmsg->nfgen_family; family 867 net/netfilter/nf_conntrack_netlink.c if (family || (cda[CTA_MARK] && cda[CTA_MARK_MASK])) { family 868 net/netfilter/nf_conntrack_netlink.c filter = ctnetlink_alloc_filter(cda, family); family 888 net/netfilter/nf_conntrack_netlink.c if (filter->family && nf_ct_l3num(ct) != filter->family) family 1235 net/netfilter/nf_conntrack_netlink.c u32 portid, int report, u8 family) family 1239 net/netfilter/nf_conntrack_netlink.c if (family || (cda[CTA_MARK] && cda[CTA_MARK_MASK])) { family 1240 net/netfilter/nf_conntrack_netlink.c filter = ctnetlink_alloc_filter(cda, family); family 25 net/netfilter/nf_flow_table_inet.c .family = NFPROTO_INET, family 127 net/netfilter/nf_nat_core.c u8 family; family 133 net/netfilter/nf_nat_core.c family = nf_ct_l3num(ct); family 140 net/netfilter/nf_nat_core.c switch (family) { family 150 net/netfilter/nf_nat_core.c int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family) family 158 net/netfilter/nf_nat_core.c err = xfrm_decode_session(skb, &fl, family); family 90 net/netfilter/nf_tables_api.c u8 family, family 96 net/netfilter/nf_tables_api.c ctx->family = family; family 452 net/netfilter/nf_tables_api.c u8 family, u8 genmask) family 461 net/netfilter/nf_tables_api.c table->family == family && family 492 net/netfilter/nf_tables_api.c __nft_chain_type_get(u8 family, enum nft_chain_types type) family 494 net/netfilter/nf_tables_api.c if (family >= NFPROTO_NUMPROTO || family 498 net/netfilter/nf_tables_api.c return chain_type[family][type]; family 502 net/netfilter/nf_tables_api.c __nf_tables_chain_type_lookup(const struct nlattr *nla, u8 family) family 508 net/netfilter/nf_tables_api.c type = __nft_chain_type_get(family, i); family 568 net/netfilter/nf_tables_api.c u8 family, bool autoload) family 572 net/netfilter/nf_tables_api.c type = __nf_tables_chain_type_lookup(nla, family); family 579 net/netfilter/nf_tables_api.c if (nft_request_module(net, "nft-chain-%u-%.*s", family, family 597 net/netfilter/nf_tables_api.c int family, const struct nft_table *table) family 608 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = family; family 641 net/netfilter/nf_tables_api.c event, 0, ctx->family, ctx->table); family 661 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 667 net/netfilter/nf_tables_api.c if (family != NFPROTO_UNSPEC && family != table->family) family 681 net/netfilter/nf_tables_api.c table->family, table) < 0) family 721 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 733 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_TABLE_NAME], family, genmask); family 745 net/netfilter/nf_tables_api.c family, table); family 904 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 913 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, attr, family, genmask); family 925 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 952 net/netfilter/nf_tables_api.c table->family = family; family 956 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 1039 net/netfilter/nf_tables_api.c static int nft_flush(struct nft_ctx *ctx, int family) family 1046 net/netfilter/nf_tables_api.c if (family != AF_UNSPEC && table->family != family) family 1049 net/netfilter/nf_tables_api.c ctx->family = table->family; family 1075 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 1081 net/netfilter/nf_tables_api.c if (family == AF_UNSPEC || family 1083 net/netfilter/nf_tables_api.c return nft_flush(&ctx, family); family 1090 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, attr, family, genmask); family 1102 net/netfilter/nf_tables_api.c ctx.family = family; family 1121 net/netfilter/nf_tables_api.c if (WARN_ON(__nft_chain_type_get(ctype->family, ctype->type))) { family 1125 net/netfilter/nf_tables_api.c chain_type[ctype->family][ctype->type] = ctype; family 1133 net/netfilter/nf_tables_api.c chain_type[ctype->family][ctype->type] = NULL; family 1259 net/netfilter/nf_tables_api.c int family, const struct nft_table *table, family 1271 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = family; family 1344 net/netfilter/nf_tables_api.c event, 0, ctx->family, ctx->table, family 1366 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 1372 net/netfilter/nf_tables_api.c if (family != NFPROTO_UNSPEC && family != table->family) family 1388 net/netfilter/nf_tables_api.c table->family, table, family 1414 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 1426 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_CHAIN_TABLE], family, genmask); family 1444 net/netfilter/nf_tables_api.c family, table, chain); family 1554 net/netfilter/nf_tables_api.c struct nft_chain_hook *hook, u8 family, family 1578 net/netfilter/nf_tables_api.c type = __nft_chain_type_get(family, NFT_CHAIN_T_DEFAULT); family 1584 net/netfilter/nf_tables_api.c family, autoload); family 1601 net/netfilter/nf_tables_api.c if (family == NFPROTO_NETDEV) { family 1650 net/netfilter/nf_tables_api.c static int nf_tables_addchain(struct nft_ctx *ctx, u8 family, u8 genmask, family 1670 net/netfilter/nf_tables_api.c err = nft_chain_parse_hook(net, nla, &hook, family, true); family 1698 net/netfilter/nf_tables_api.c ops->pf = family; family 1791 net/netfilter/nf_tables_api.c err = nft_chain_parse_hook(ctx->net, nla, &hook, ctx->family, family 1885 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 1896 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_CHAIN_TABLE], family, genmask); family 1952 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, chain, nla); family 1966 net/netfilter/nf_tables_api.c return nf_tables_addchain(&ctx, family, genmask, policy, flags); family 1976 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 1986 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_CHAIN_TABLE], family, genmask); family 2009 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, chain, nla); family 2047 net/netfilter/nf_tables_api.c if (type->family == NFPROTO_UNSPEC) family 2070 net/netfilter/nf_tables_api.c static const struct nft_expr_type *__nft_expr_type_get(u8 family, family 2077 net/netfilter/nf_tables_api.c if (!type->family && !candidate) family 2079 net/netfilter/nf_tables_api.c else if (type->family == family) family 2087 net/netfilter/nf_tables_api.c static int nft_expr_type_request_module(struct net *net, u8 family, family 2090 net/netfilter/nf_tables_api.c if (nft_request_module(net, "nft-expr-%u-%.*s", family, family 2099 net/netfilter/nf_tables_api.c u8 family, family 2107 net/netfilter/nf_tables_api.c type = __nft_expr_type_get(family, nla); family 2114 net/netfilter/nf_tables_api.c if (nft_expr_type_request_module(net, family, nla) == -EAGAIN) family 2190 net/netfilter/nf_tables_api.c type = nft_expr_type_get(ctx->net, ctx->family, tb[NFTA_EXPR_NAME]); family 2211 net/netfilter/nf_tables_api.c ctx->family, family 2342 net/netfilter/nf_tables_api.c u32 flags, int family, family 2359 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = family; family 2417 net/netfilter/nf_tables_api.c event, 0, ctx->family, ctx->table, family 2460 net/netfilter/nf_tables_api.c table->family, family 2482 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 2488 net/netfilter/nf_tables_api.c if (family != NFPROTO_UNSPEC && family != table->family) family 2584 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 2599 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_RULE_TABLE], family, genmask); family 2623 net/netfilter/nf_tables_api.c family, table, chain, rule, NULL); family 2692 net/netfilter/nf_tables_api.c .family = table->family, family 2722 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 2738 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_RULE_TABLE], family, genmask); family 2791 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, chain, nla); family 2943 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family, err = 0; family 2946 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_RULE_TABLE], family, genmask); family 2961 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, chain, nla); family 3141 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 3145 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_SET_TABLE], family, family 3153 net/netfilter/nf_tables_api.c nft_ctx_init(ctx, net, skb, nlh, family, table, NULL, nla); family 3313 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = ctx->family; family 3419 net/netfilter/nf_tables_api.c if (ctx->family != NFPROTO_UNSPEC && family 3420 net/netfilter/nf_tables_api.c ctx->family != table->family) family 3441 net/netfilter/nf_tables_api.c ctx_set.family = table->family; family 3561 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 3671 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_SET_TABLE], family, genmask); family 3677 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 3992 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 3995 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_SET_ELEM_LIST_TABLE], family, family 4002 net/netfilter/nf_tables_api.c nft_ctx_init(ctx, net, skb, nlh, family, table, NULL, nla); family 4118 net/netfilter/nf_tables_api.c if (dump_ctx->ctx.family != NFPROTO_UNSPEC && family 4119 net/netfilter/nf_tables_api.c dump_ctx->ctx.family != table->family) family 4149 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = table->family; family 4221 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = ctx->family; family 4456 net/netfilter/nf_tables_api.c .family = set->table->family, family 4612 net/netfilter/nf_tables_api.c .family = ctx->family, family 5223 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5235 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_OBJ_TABLE], family, genmask); family 5258 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 5263 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 5312 net/netfilter/nf_tables_api.c int family, const struct nft_table *table, family 5324 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = family; family 5357 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5368 net/netfilter/nf_tables_api.c if (family != NFPROTO_UNSPEC && family != table->family) family 5391 net/netfilter/nf_tables_api.c table->family, table, family 5453 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5477 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_OBJ_TABLE], family, genmask); family 5499 net/netfilter/nf_tables_api.c family, table, obj, reset); family 5526 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5537 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_OBJ_TABLE], family, genmask); family 5561 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 5568 net/netfilter/nf_tables_api.c int family, int report, gfp_t gfp) family 5581 net/netfilter/nf_tables_api.c err = nf_tables_fill_obj_info(skb, net, portid, seq, event, 0, family, family 5599 net/netfilter/nf_tables_api.c ctx->family, ctx->report, GFP_KERNEL); family 5769 net/netfilter/nf_tables_api.c static const struct nf_flowtable_type *__nft_flowtable_type_get(u8 family) family 5774 net/netfilter/nf_tables_api.c if (family == type->family) family 5781 net/netfilter/nf_tables_api.c nft_flowtable_type_get(struct net *net, u8 family) family 5785 net/netfilter/nf_tables_api.c type = __nft_flowtable_type_get(family); family 5792 net/netfilter/nf_tables_api.c if (nft_request_module(net, "nf-flowtable-%u", family) == -EAGAIN) family 5822 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5832 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_FLOWTABLE_TABLE], family, family 5856 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 5871 net/netfilter/nf_tables_api.c type = nft_flowtable_type_get(net, family); family 5943 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 5954 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_FLOWTABLE_TABLE], family, family 5978 net/netfilter/nf_tables_api.c nft_ctx_init(&ctx, net, skb, nlh, family, table, NULL, nla); family 5985 net/netfilter/nf_tables_api.c u32 flags, int family, family 5999 net/netfilter/nf_tables_api.c nfmsg->nfgen_family = family; family 6050 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 6058 net/netfilter/nf_tables_api.c if (family != NFPROTO_UNSPEC && family != table->family) family 6077 net/netfilter/nf_tables_api.c table->family, flowtable) < 0) family 6136 net/netfilter/nf_tables_api.c int family = nfmsg->nfgen_family; family 6157 net/netfilter/nf_tables_api.c table = nft_table_lookup(net, nla[NFTA_FLOWTABLE_TABLE], family, family 6173 net/netfilter/nf_tables_api.c NFT_MSG_NEWFLOWTABLE, 0, family, family 6201 net/netfilter/nf_tables_api.c ctx->family, flowtable); family 7698 net/netfilter/nf_tables_api.c .family = NFPROTO_NETDEV, family 7702 net/netfilter/nf_tables_api.c ctx.family = table->family; family 335 net/netfilter/nf_tables_offload.c if (trans->ctx.family != NFPROTO_NETDEV) family 386 net/netfilter/nf_tables_offload.c if (trans->ctx.family != NFPROTO_NETDEV) family 412 net/netfilter/nf_tables_offload.c if (table->family != NFPROTO_NETDEV) family 227 net/netfilter/nf_tables_trace.c nfmsg->nfgen_family = info->basechain->type->family; family 195 net/netfilter/nfnetlink_osf.c nf_osf_match(const struct sk_buff *skb, u_int8_t family, family 233 net/netfilter/nfnetlink_osf.c nf_log_packet(net, family, hooknum, skb, family 247 net/netfilter/nfnetlink_osf.c nf_log_packet(net, family, hooknum, skb, in, out, NULL, family 29 net/netfilter/nft_chain_filter.c .family = NFPROTO_IPV4, family 73 net/netfilter/nft_chain_filter.c .family = NFPROTO_ARP, family 113 net/netfilter/nft_chain_filter.c .family = NFPROTO_IPV6, family 167 net/netfilter/nft_chain_filter.c .family = NFPROTO_INET, family 224 net/netfilter/nft_chain_filter.c .family = NFPROTO_BRIDGE, family 279 net/netfilter/nft_chain_filter.c .family = NFPROTO_NETDEV, family 330 net/netfilter/nft_chain_filter.c if (table->family != NFPROTO_NETDEV) family 333 net/netfilter/nft_chain_filter.c ctx.family = table->family; family 39 net/netfilter/nft_chain_nat.c .family = NFPROTO_IPV4, family 60 net/netfilter/nft_chain_nat.c .family = NFPROTO_IPV6, family 91 net/netfilter/nft_chain_nat.c .family = NFPROTO_INET, family 56 net/netfilter/nft_chain_route.c .family = NFPROTO_IPV4, family 106 net/netfilter/nft_chain_route.c .family = NFPROTO_IPV6, family 137 net/netfilter/nft_chain_route.c .family = NFPROTO_INET, family 43 net/netfilter/nft_compat.c if (ctx->family != NFPROTO_BRIDGE) family 142 net/netfilter/nft_compat.c switch (ctx->family) { family 173 net/netfilter/nft_compat.c par->family = ctx->family; family 261 net/netfilter/nft_compat.c par.family = ctx->family; family 386 net/netfilter/nft_compat.c switch (ctx->family) { family 417 net/netfilter/nft_compat.c par->family = ctx->family; family 493 net/netfilter/nft_compat.c par.family = ctx->family; family 571 net/netfilter/nft_compat.c int event, u16 family, const char *name, family 584 net/netfilter/nft_compat.c nfmsg->nfgen_family = family; family 711 net/netfilter/nft_compat.c u32 rev, family; family 721 net/netfilter/nft_compat.c family = ctx->family; family 723 net/netfilter/nft_compat.c match = xt_request_find_match(family, mt_name, rev); family 790 net/netfilter/nft_compat.c u32 rev, family; family 800 net/netfilter/nft_compat.c family = ctx->family; family 807 net/netfilter/nft_compat.c target = xt_request_find_target(family, tg_name, rev); family 835 net/netfilter/nft_compat.c if (family == NFPROTO_BRIDGE) family 83 net/netfilter/nft_connlimit.c return nf_ct_netns_get(ctx->net, ctx->family); family 89 net/netfilter/nft_connlimit.c nf_ct_netns_put(ctx->net, ctx->family); family 441 net/netfilter/nft_ct.c switch (ctx->family) { family 509 net/netfilter/nft_ct.c err = nf_ct_netns_get(ctx->net, ctx->family); family 610 net/netfilter/nft_ct.c err = nf_ct_netns_get(ctx->net, ctx->family); family 624 net/netfilter/nft_ct.c nf_ct_netns_put(ctx->net, ctx->family); family 633 net/netfilter/nft_ct.c nf_ct_netns_put(ctx->net, ctx->family); family 867 net/netfilter/nft_ct.c int l3num = ctx->family; family 903 net/netfilter/nft_ct.c ret = nf_ct_netns_get(ctx->net, ctx->family); family 923 net/netfilter/nft_ct.c nf_ct_netns_put(ctx->net, ctx->family); family 983 net/netfilter/nft_ct.c int family = ctx->family; family 996 net/netfilter/nft_ct.c family = ntohs(nla_get_be16(tb[NFTA_CT_HELPER_L3PROTO])); family 1001 net/netfilter/nft_ct.c switch (family) { family 1003 net/netfilter/nft_ct.c if (ctx->family == NFPROTO_IPV6) family 1006 net/netfilter/nft_ct.c help4 = nf_conntrack_helper_try_module_get(name, family, family 1010 net/netfilter/nft_ct.c if (ctx->family == NFPROTO_IPV4) family 1013 net/netfilter/nft_ct.c help6 = nf_conntrack_helper_try_module_get(name, family, family 1035 net/netfilter/nft_ct.c err = nf_ct_netns_get(ctx->net, ctx->family); family 1059 net/netfilter/nft_ct.c nf_ct_netns_put(ctx->net, ctx->family); family 1107 net/netfilter/nft_ct.c u16 family; family 1110 net/netfilter/nft_ct.c family = NFPROTO_INET; family 1113 net/netfilter/nft_ct.c family = NFPROTO_IPV6; family 1116 net/netfilter/nft_ct.c family = NFPROTO_IPV4; family 1126 net/netfilter/nft_ct.c if (nla_put_be16(skb, NFTA_CT_HELPER_L3PROTO, htons(family))) family 1177 net/netfilter/nft_ct.c priv->l3num = ctx->family; family 1186 net/netfilter/nft_ct.c return nf_ct_netns_get(ctx->net, ctx->family); family 1192 net/netfilter/nft_ct.c nf_ct_netns_put(ctx->net, ctx->family); family 81 net/netfilter/nft_dup_netdev.c .family = NFPROTO_NETDEV, family 529 net/netfilter/nft_exthdr.c if (ctx->family != NFPROTO_IPV6) { family 55 net/netfilter/nft_fib_inet.c .family = NFPROTO_INET, family 64 net/netfilter/nft_fib_netdev.c .family = NFPROTO_NETDEV, family 53 net/netfilter/nft_flow_offload.c static bool nft_flow_offload_skip(struct sk_buff *skb, int family) family 58 net/netfilter/nft_flow_offload.c if (family == NFPROTO_IPV4) { family 177 net/netfilter/nft_flow_offload.c return nf_ct_netns_get(ctx->net, ctx->family); family 200 net/netfilter/nft_flow_offload.c nf_ct_netns_put(ctx->net, ctx->family); family 236 net/netfilter/nft_fwd_netdev.c .family = NFPROTO_NETDEV, family 199 net/netfilter/nft_log.c err = nf_logger_find_get(ctx->family, li->type); family 223 net/netfilter/nft_log.c nf_logger_put(ctx->family, li->type); family 77 net/netfilter/nft_masq.c return nf_ct_netns_get(ctx->net, ctx->family); family 139 net/netfilter/nft_masq.c .family = NFPROTO_IPV4, family 185 net/netfilter/nft_masq.c .family = NFPROTO_IPV6, family 240 net/netfilter/nft_masq.c .family = NFPROTO_INET, family 400 net/netfilter/nft_meta.c switch (ctx->family) { family 431 net/netfilter/nft_meta.c switch (ctx->family) { family 588 net/netfilter/nft_meta.c if (ctx->family == NFPROTO_BRIDGE) family 29 net/netfilter/nft_nat.c u8 family; family 44 net/netfilter/nft_nat.c if (priv->family == AF_INET) { family 116 net/netfilter/nft_nat.c u32 family; family 138 net/netfilter/nft_nat.c family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY])); family 139 net/netfilter/nft_nat.c if (ctx->family != NFPROTO_INET && ctx->family != family) family 142 net/netfilter/nft_nat.c switch (family) { family 152 net/netfilter/nft_nat.c priv->family = family; family 202 net/netfilter/nft_nat.c return nf_ct_netns_get(ctx->net, family); family 220 net/netfilter/nft_nat.c if (nla_put_be32(skb, NFTA_NAT_FAMILY, htonl(priv->family))) family 255 net/netfilter/nft_nat.c nf_ct_netns_put(ctx->net, priv->family); family 284 net/netfilter/nft_nat.c if (priv->family == nft_pf(pkt)) family 300 net/netfilter/nft_nat.c .family = NFPROTO_INET, family 79 net/netfilter/nft_redir.c return nf_ct_netns_get(ctx->net, ctx->family); family 144 net/netfilter/nft_redir.c .family = NFPROTO_IPV4, family 193 net/netfilter/nft_redir.c .family = NFPROTO_IPV6, family 235 net/netfilter/nft_redir.c .family = NFPROTO_INET, family 128 net/netfilter/nft_reject_inet.c .family = NFPROTO_INET, family 86 net/netfilter/nft_socket.c switch(ctx->family) { family 171 net/netfilter/nft_synproxy.c err = nf_ct_netns_get(ctx->net, ctx->family); family 175 net/netfilter/nft_synproxy.c switch (ctx->family) { family 202 net/netfilter/nft_synproxy.c nf_ct_netns_put(ctx->net, ctx->family); family 210 net/netfilter/nft_synproxy.c switch (ctx->family) { family 225 net/netfilter/nft_synproxy.c nf_ct_netns_put(ctx->net, ctx->family); family 18 net/netfilter/nft_tproxy.c u8 family; family 158 net/netfilter/nft_tproxy.c switch (priv->family) { family 167 net/netfilter/nft_tproxy.c switch (priv->family) { family 196 net/netfilter/nft_tproxy.c priv->family = ntohl(nla_get_be32(tb[NFTA_TPROXY_FAMILY])); family 198 net/netfilter/nft_tproxy.c switch (ctx->family) { family 200 net/netfilter/nft_tproxy.c if (priv->family != NFPROTO_IPV4) family 205 net/netfilter/nft_tproxy.c if (priv->family != NFPROTO_IPV6) family 216 net/netfilter/nft_tproxy.c if (priv->family == NFPROTO_UNSPEC && tb[NFTA_TPROXY_REG_ADDR]) family 219 net/netfilter/nft_tproxy.c switch (priv->family) { family 271 net/netfilter/nft_tproxy.c if (nla_put_be32(skb, NFTA_TPROXY_FAMILY, htonl(priv->family))) family 44 net/netfilter/nft_xfrm.c switch (ctx->family) { family 97 net/netfilter/nft_xfrm.c static bool xfrm_state_addr_ok(enum nft_xfrm_keys k, u8 family, u8 mode) family 102 net/netfilter/nft_xfrm.c if (family == NFPROTO_IPV4) family 107 net/netfilter/nft_xfrm.c if (family == NFPROTO_IPV6) family 124 net/netfilter/nft_xfrm.c state->props.family, family 125 net/netfilter/utils.c unsigned short family) family 129 net/netfilter/utils.c switch (family) { family 144 net/netfilter/utils.c u8 protocol, unsigned short family) family 148 net/netfilter/utils.c switch (family) { family 164 net/netfilter/utils.c bool strict, unsigned short family) family 169 net/netfilter/utils.c switch (family) { family 71 net/netfilter/x_tables.c u_int8_t af = target->family; family 83 net/netfilter/x_tables.c u_int8_t af = target->family; family 121 net/netfilter/x_tables.c u_int8_t af = match->family; family 133 net/netfilter/x_tables.c u_int8_t af = match->family; family 470 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, family 478 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, family 486 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, family 488 net/netfilter/x_tables.c par->hook_mask, par->family), family 491 net/netfilter/x_tables.c par->family)); family 496 net/netfilter/x_tables.c xt_prefix[par->family], par->match->name, family 988 net/netfilter/x_tables.c xt_prefix[par->family], par->target->name, family 996 net/netfilter/x_tables.c xt_prefix[par->family], par->target->name, family 1004 net/netfilter/x_tables.c xt_prefix[par->family], par->target->name, family 1006 net/netfilter/x_tables.c par->hook_mask, par->family), family 1009 net/netfilter/x_tables.c par->family)); family 1014 net/netfilter/x_tables.c xt_prefix[par->family], par->target->name, family 131 net/netfilter/xt_AUDIT.c .family = NFPROTO_UNSPEC, family 139 net/netfilter/xt_AUDIT.c .family = NFPROTO_BRIDGE, family 48 net/netfilter/xt_CHECKSUM.c switch (par->family) { family 68 net/netfilter/xt_CHECKSUM.c .family = NFPROTO_UNSPEC, family 41 net/netfilter/xt_CLASSIFY.c .family = NFPROTO_UNSPEC, family 51 net/netfilter/xt_CLASSIFY.c .family = NFPROTO_ARP, family 105 net/netfilter/xt_CONNSECMARK.c ret = nf_ct_netns_get(par->net, par->family); family 108 net/netfilter/xt_CONNSECMARK.c par->family); family 114 net/netfilter/xt_CONNSECMARK.c nf_ct_netns_put(par->net, par->family); family 120 net/netfilter/xt_CONNSECMARK.c .family = NFPROTO_UNSPEC, family 56 net/netfilter/xt_CT.c if (par->family == NFPROTO_IPV4) { family 62 net/netfilter/xt_CT.c } else if (par->family == NFPROTO_IPV6) { family 86 net/netfilter/xt_CT.c helper = nf_conntrack_helper_try_module_get(helper_name, par->family, family 118 net/netfilter/xt_CT.c return nf_ct_set_timeout(par->net, ct, par->family, l4proto->l4proto, family 159 net/netfilter/xt_CT.c ret = nf_ct_netns_get(par->net, par->family); family 217 net/netfilter/xt_CT.c nf_ct_netns_put(par->net, par->family); family 278 net/netfilter/xt_CT.c nf_ct_netns_put(par->net, par->family); family 308 net/netfilter/xt_CT.c .family = NFPROTO_UNSPEC, family 319 net/netfilter/xt_CT.c .family = NFPROTO_UNSPEC, family 331 net/netfilter/xt_CT.c .family = NFPROTO_UNSPEC, family 368 net/netfilter/xt_CT.c .family = NFPROTO_UNSPEC, family 114 net/netfilter/xt_DSCP.c .family = NFPROTO_IPV4, family 123 net/netfilter/xt_DSCP.c .family = NFPROTO_IPV6, family 133 net/netfilter/xt_DSCP.c .family = NFPROTO_IPV4, family 142 net/netfilter/xt_DSCP.c .family = NFPROTO_IPV6, family 127 net/netfilter/xt_HL.c .family = NFPROTO_IPV4, family 137 net/netfilter/xt_HL.c .family = NFPROTO_IPV6, family 343 net/netfilter/xt_HMARK.c .family = NFPROTO_IPV4, family 352 net/netfilter/xt_HMARK.c .family = NFPROTO_IPV6, family 252 net/netfilter/xt_IDLETIMER.c .family = NFPROTO_UNSPEC, family 182 net/netfilter/xt_LED.c .family = NFPROTO_UNSPEC, family 48 net/netfilter/xt_LOG.c if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) family 61 net/netfilter/xt_LOG.c return nf_logger_find_get(par->family, NF_LOG_TYPE_LOG); family 66 net/netfilter/xt_LOG.c nf_logger_put(par->family, NF_LOG_TYPE_LOG); family 72 net/netfilter/xt_LOG.c .family = NFPROTO_IPV4, family 82 net/netfilter/xt_LOG.c .family = NFPROTO_IPV6, family 31 net/netfilter/xt_MASQUERADE.c return nf_ct_netns_get(par->net, par->family); family 51 net/netfilter/xt_MASQUERADE.c nf_ct_netns_put(par->net, par->family); family 68 net/netfilter/xt_MASQUERADE.c return nf_ct_netns_get(par->net, par->family); family 76 net/netfilter/xt_MASQUERADE.c .family = NFPROTO_IPV6, family 87 net/netfilter/xt_MASQUERADE.c .family = NFPROTO_IPV4, family 60 net/netfilter/xt_NETMAP.c return nf_ct_netns_get(par->net, par->family); family 65 net/netfilter/xt_NETMAP.c nf_ct_netns_put(par->net, par->family); family 116 net/netfilter/xt_NETMAP.c return nf_ct_netns_get(par->net, par->family); family 122 net/netfilter/xt_NETMAP.c .family = NFPROTO_IPV6, family 137 net/netfilter/xt_NETMAP.c .family = NFPROTO_IPV4, family 51 net/netfilter/xt_NFLOG.c return nf_logger_find_get(par->family, NF_LOG_TYPE_ULOG); family 56 net/netfilter/xt_NFLOG.c nf_logger_put(par->family, NF_LOG_TYPE_ULOG); family 62 net/netfilter/xt_NFLOG.c .family = NFPROTO_UNSPEC, family 113 net/netfilter/xt_NFQUEUE.c .family = NFPROTO_UNSPEC, family 121 net/netfilter/xt_NFQUEUE.c .family = NFPROTO_UNSPEC, family 130 net/netfilter/xt_NFQUEUE.c .family = NFPROTO_UNSPEC, family 139 net/netfilter/xt_NFQUEUE.c .family = NFPROTO_UNSPEC, family 181 net/netfilter/xt_RATEEST.c .family = NFPROTO_UNSPEC, family 41 net/netfilter/xt_REDIRECT.c return nf_ct_netns_get(par->net, par->family); family 46 net/netfilter/xt_REDIRECT.c nf_ct_netns_put(par->net, par->family); family 62 net/netfilter/xt_REDIRECT.c return nf_ct_netns_get(par->net, par->family); family 74 net/netfilter/xt_REDIRECT.c .family = NFPROTO_IPV6, family 87 net/netfilter/xt_REDIRECT.c .family = NFPROTO_IPV4, family 124 net/netfilter/xt_SECMARK.c .family = NFPROTO_UNSPEC, family 45 net/netfilter/xt_TCPMSS.c unsigned int family) family 51 net/netfilter/xt_TCPMSS.c if (family == PF_INET) { family 62 net/netfilter/xt_TCPMSS.c nf_route(net, (struct dst_entry **)&rt, &fl, false, family); family 73 net/netfilter/xt_TCPMSS.c unsigned int family, family 104 net/netfilter/xt_TCPMSS.c unsigned int in_mtu = tcpmss_reverse_mtu(net, skb, family); family 313 net/netfilter/xt_TCPMSS.c .family = NFPROTO_IPV4, family 323 net/netfilter/xt_TCPMSS.c .family = NFPROTO_IPV6, family 115 net/netfilter/xt_TCPOPTSTRIP.c .family = NFPROTO_IPV4, family 125 net/netfilter/xt_TCPOPTSTRIP.c .family = NFPROTO_IPV6, family 150 net/netfilter/xt_TEE.c .family = NFPROTO_IPV4, family 162 net/netfilter/xt_TEE.c .family = NFPROTO_IPV6, family 225 net/netfilter/xt_TPROXY.c .family = NFPROTO_IPV4, family 236 net/netfilter/xt_TPROXY.c .family = NFPROTO_IPV4, family 248 net/netfilter/xt_TPROXY.c .family = NFPROTO_IPV6, family 17 net/netfilter/xt_TRACE.c return nf_logger_find_get(par->family, NF_LOG_TYPE_LOG); family 22 net/netfilter/xt_TRACE.c nf_logger_put(par->family, NF_LOG_TYPE_LOG); family 35 net/netfilter/xt_TRACE.c .family = NFPROTO_UNSPEC, family 180 net/netfilter/xt_addrtype.c if (par->family == NFPROTO_IPV6) { family 204 net/netfilter/xt_addrtype.c .family = NFPROTO_IPV4, family 211 net/netfilter/xt_addrtype.c .family = NFPROTO_UNSPEC, family 121 net/netfilter/xt_bpf.c .family = NFPROTO_UNSPEC, family 132 net/netfilter/xt_bpf.c .family = NFPROTO_UNSPEC, family 169 net/netfilter/xt_cgroup.c .family = NFPROTO_UNSPEC, family 181 net/netfilter/xt_cgroup.c .family = NFPROTO_UNSPEC, family 195 net/netfilter/xt_cgroup.c .family = NFPROTO_UNSPEC, family 60 net/netfilter/xt_cluster.c xt_cluster_is_multicast_addr(const struct sk_buff *skb, u_int8_t family) family 64 net/netfilter/xt_cluster.c switch(family) { family 137 net/netfilter/xt_cluster.c ret = nf_ct_netns_get(par->net, par->family); family 140 net/netfilter/xt_cluster.c par->family); family 146 net/netfilter/xt_cluster.c nf_ct_netns_put(par->net, par->family); family 151 net/netfilter/xt_cluster.c .family = NFPROTO_UNSPEC, family 29 net/netfilter/xt_comment.c .family = NFPROTO_UNSPEC, family 113 net/netfilter/xt_connbytes.c ret = nf_ct_netns_get(par->net, par->family); family 116 net/netfilter/xt_connbytes.c par->family); family 132 net/netfilter/xt_connbytes.c nf_ct_netns_put(par->net, par->family); family 138 net/netfilter/xt_connbytes.c .family = NFPROTO_UNSPEC, family 62 net/netfilter/xt_connlabel.c ret = nf_ct_netns_get(par->net, par->family); family 65 net/netfilter/xt_connlabel.c par->family); family 71 net/netfilter/xt_connlabel.c nf_ct_netns_put(par->net, par->family); family 78 net/netfilter/xt_connlabel.c nf_ct_netns_put(par->net, par->family); family 83 net/netfilter/xt_connlabel.c .family = NFPROTO_UNSPEC, family 91 net/netfilter/xt_connlimit.c if (par->family == NFPROTO_IPV6) family 97 net/netfilter/xt_connlimit.c info->data = nf_conncount_init(par->net, par->family, keylen); family 106 net/netfilter/xt_connlimit.c nf_conncount_destroy(par->net, par->family, info->data); family 112 net/netfilter/xt_connlimit.c .family = NFPROTO_UNSPEC, family 106 net/netfilter/xt_connmark.c ret = nf_ct_netns_get(par->net, par->family); family 109 net/netfilter/xt_connmark.c par->family); family 115 net/netfilter/xt_connmark.c nf_ct_netns_put(par->net, par->family); family 136 net/netfilter/xt_connmark.c ret = nf_ct_netns_get(par->net, par->family); family 139 net/netfilter/xt_connmark.c par->family); family 145 net/netfilter/xt_connmark.c nf_ct_netns_put(par->net, par->family); family 152 net/netfilter/xt_connmark.c .family = NFPROTO_UNSPEC, family 162 net/netfilter/xt_connmark.c .family = NFPROTO_UNSPEC, family 174 net/netfilter/xt_connmark.c .family = NFPROTO_UNSPEC, family 42 net/netfilter/xt_conntrack.c u_int8_t family) family 45 net/netfilter/xt_conntrack.c &info->origsrc_addr, &info->origsrc_mask, family); family 51 net/netfilter/xt_conntrack.c u_int8_t family) family 54 net/netfilter/xt_conntrack.c &info->origdst_addr, &info->origdst_mask, family); family 60 net/netfilter/xt_conntrack.c u_int8_t family) family 63 net/netfilter/xt_conntrack.c &info->replsrc_addr, &info->replsrc_mask, family); family 69 net/netfilter/xt_conntrack.c u_int8_t family) family 72 net/netfilter/xt_conntrack.c &info->repldst_addr, &info->repldst_mask, family); family 270 net/netfilter/xt_conntrack.c ret = nf_ct_netns_get(par->net, par->family); family 273 net/netfilter/xt_conntrack.c par->family); family 279 net/netfilter/xt_conntrack.c nf_ct_netns_put(par->net, par->family); family 286 net/netfilter/xt_conntrack.c .family = NFPROTO_UNSPEC, family 296 net/netfilter/xt_conntrack.c .family = NFPROTO_UNSPEC, family 306 net/netfilter/xt_conntrack.c .family = NFPROTO_UNSPEC, family 43 net/netfilter/xt_cpu.c .family = NFPROTO_UNSPEC, family 140 net/netfilter/xt_dccp.c .family = NFPROTO_IPV4, family 149 net/netfilter/xt_dccp.c .family = NFPROTO_IPV6, family 64 net/netfilter/xt_devgroup.c .family = NFPROTO_UNSPEC, family 67 net/netfilter/xt_dscp.c .family = NFPROTO_IPV4, family 75 net/netfilter/xt_dscp.c .family = NFPROTO_IPV6, family 84 net/netfilter/xt_dscp.c .family = NFPROTO_IPV4, family 92 net/netfilter/xt_dscp.c .family = NFPROTO_IPV6, family 149 net/netfilter/xt_ecn.c .family = NFPROTO_IPV4, family 157 net/netfilter/xt_ecn.c .family = NFPROTO_IPV6, family 75 net/netfilter/xt_esp.c .family = NFPROTO_IPV4, family 84 net/netfilter/xt_esp.c .family = NFPROTO_IPV6, family 119 net/netfilter/xt_hashlimit.c u_int8_t family; family 276 net/netfilter/xt_hashlimit.c const char *name, u_int8_t family, family 321 net/netfilter/xt_hashlimit.c hinfo->family = family; family 342 net/netfilter/xt_hashlimit.c (family == NFPROTO_IPV4) ? family 396 net/netfilter/xt_hashlimit.c if (hinfo->family == NFPROTO_IPV4) family 407 net/netfilter/xt_hashlimit.c u_int8_t family) family 414 net/netfilter/xt_hashlimit.c hinfo->family == family) { family 647 net/netfilter/xt_hashlimit.c switch (hinfo->family) { family 856 net/netfilter/xt_hashlimit.c if (par->family == NFPROTO_IPV4) { family 896 net/netfilter/xt_hashlimit.c *hinfo = htable_find_get(net, name, par->family); family 898 net/netfilter/xt_hashlimit.c ret = htable_create(net, cfg, name, par->family, family 984 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV4, family 995 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV4, family 1006 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV4, family 1018 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV6, family 1029 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV6, family 1040 net/netfilter/xt_hashlimit.c .family = NFPROTO_IPV6, family 1094 net/netfilter/xt_hashlimit.c static void dl_seq_print(struct dsthash_ent *ent, u_int8_t family, family 1097 net/netfilter/xt_hashlimit.c switch (family) { family 1125 net/netfilter/xt_hashlimit.c static int dl_seq_real_show_v2(struct dsthash_ent *ent, u_int8_t family, family 1134 net/netfilter/xt_hashlimit.c dl_seq_print(ent, family, s); family 1140 net/netfilter/xt_hashlimit.c static int dl_seq_real_show_v1(struct dsthash_ent *ent, u_int8_t family, family 1149 net/netfilter/xt_hashlimit.c dl_seq_print(ent, family, s); family 1155 net/netfilter/xt_hashlimit.c static int dl_seq_real_show(struct dsthash_ent *ent, u_int8_t family, family 1164 net/netfilter/xt_hashlimit.c dl_seq_print(ent, family, s); family 1178 net/netfilter/xt_hashlimit.c if (dl_seq_real_show_v2(ent, htable->family, s)) family 1192 net/netfilter/xt_hashlimit.c if (dl_seq_real_show_v1(ent, htable->family, s)) family 1206 net/netfilter/xt_hashlimit.c if (dl_seq_real_show(ent, htable->family, s)) family 59 net/netfilter/xt_helper.c ret = nf_ct_netns_get(par->net, par->family); family 62 net/netfilter/xt_helper.c par->family); family 71 net/netfilter/xt_helper.c nf_ct_netns_put(par->net, par->family); family 77 net/netfilter/xt_helper.c .family = NFPROTO_UNSPEC, family 67 net/netfilter/xt_hl.c .family = NFPROTO_IPV4, family 75 net/netfilter/xt_hl.c .family = NFPROTO_IPV6, family 80 net/netfilter/xt_ipcomp.c .family = NFPROTO_IPV4, family 89 net/netfilter/xt_ipcomp.c .family = NFPROTO_IPV6, family 105 net/netfilter/xt_iprange.c .family = NFPROTO_IPV4, family 113 net/netfilter/xt_iprange.c .family = NFPROTO_IPV6, family 54 net/netfilter/xt_ipvs.c const u_int8_t family = xt_family(par); family 72 net/netfilter/xt_ipvs.c ip_vs_fill_iph_skb(family, skb, true, &iph); family 90 net/netfilter/xt_ipvs.c cp = pp->conn_out_get(ipvs, family, skb, &iph); family 141 net/netfilter/xt_ipvs.c &data->vmask, family) ^ family 157 net/netfilter/xt_ipvs.c if (par->family != NFPROTO_IPV4 family 159 net/netfilter/xt_ipvs.c && par->family != NFPROTO_IPV6 family 163 net/netfilter/xt_ipvs.c par->family); family 173 net/netfilter/xt_ipvs.c .family = NFPROTO_UNSPEC, family 317 net/netfilter/xt_l2tp.c .family = NFPROTO_IPV4, family 331 net/netfilter/xt_l2tp.c .family = NFPROTO_IPV6, family 42 net/netfilter/xt_length.c .family = NFPROTO_IPV4, family 49 net/netfilter/xt_length.c .family = NFPROTO_IPV6, family 184 net/netfilter/xt_limit.c .family = NFPROTO_UNSPEC, family 44 net/netfilter/xt_mac.c .family = NFPROTO_UNSPEC, family 45 net/netfilter/xt_mark.c .family = NFPROTO_UNSPEC, family 54 net/netfilter/xt_mark.c .family = NFPROTO_UNSPEC, family 146 net/netfilter/xt_multiport.c .family = NFPROTO_IPV4, family 155 net/netfilter/xt_multiport.c .family = NFPROTO_IPV6, family 24 net/netfilter/xt_nat.c return nf_ct_netns_get(par->net, par->family); family 29 net/netfilter/xt_nat.c return nf_ct_netns_get(par->net, par->family); family 34 net/netfilter/xt_nat.c nf_ct_netns_put(par->net, par->family); family 158 net/netfilter/xt_nat.c .family = NFPROTO_IPV4, family 171 net/netfilter/xt_nat.c .family = NFPROTO_IPV4, family 61 net/netfilter/xt_nfacct.c .family = NFPROTO_UNSPEC, family 72 net/netfilter/xt_nfacct.c .family = NFPROTO_UNSPEC, family 37 net/netfilter/xt_osf.c .family = NFPROTO_IPV4, family 125 net/netfilter/xt_owner.c .family = NFPROTO_UNSPEC, family 121 net/netfilter/xt_physdev.c .family = NFPROTO_UNSPEC, family 44 net/netfilter/xt_pkttype.c .family = NFPROTO_UNSPEC, family 23 net/netfilter/xt_policy.c const union nf_inet_addr *a2, unsigned short family) family 25 net/netfilter/xt_policy.c switch (family) { family 36 net/netfilter/xt_policy.c unsigned short family) family 39 net/netfilter/xt_policy.c (xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \ family 53 net/netfilter/xt_policy.c unsigned short family) family 71 net/netfilter/xt_policy.c if (match_xfrm_state(sp->xvec[i], e, family)) { family 83 net/netfilter/xt_policy.c unsigned short family) family 100 net/netfilter/xt_policy.c if (match_xfrm_state(dst->xfrm, e, family)) { family 160 net/netfilter/xt_policy.c .family = NFPROTO_IPV4, family 168 net/netfilter/xt_policy.c .family = NFPROTO_IPV6, family 72 net/netfilter/xt_quota.c .family = NFPROTO_UNSPEC, family 128 net/netfilter/xt_rateest.c .family = NFPROTO_UNSPEC, family 36 net/netfilter/xt_realm.c .family = NFPROTO_UNSPEC, family 70 net/netfilter/xt_recent.c u_int16_t family; family 125 net/netfilter/xt_recent.c const union nf_inet_addr *addrp, u_int16_t family, family 131 net/netfilter/xt_recent.c if (family == NFPROTO_IPV4) family 137 net/netfilter/xt_recent.c if (e->family == family && family 173 net/netfilter/xt_recent.c u_int16_t family, u_int8_t ttl) family 192 net/netfilter/xt_recent.c e->family = family; family 193 net/netfilter/xt_recent.c if (family == NFPROTO_IPV4) family 519 net/netfilter/xt_recent.c if (e->family == NFPROTO_IPV4) family 559 net/netfilter/xt_recent.c u_int16_t family; family 592 net/netfilter/xt_recent.c family = NFPROTO_IPV6; family 595 net/netfilter/xt_recent.c family = NFPROTO_IPV4; family 603 net/netfilter/xt_recent.c e = recent_entry_lookup(t, &addr, family, 0); family 606 net/netfilter/xt_recent.c recent_entry_init(t, &addr, family, 0); family 691 net/netfilter/xt_recent.c .family = NFPROTO_IPV4, family 701 net/netfilter/xt_recent.c .family = NFPROTO_IPV6, family 711 net/netfilter/xt_recent.c .family = NFPROTO_IPV4, family 721 net/netfilter/xt_recent.c .family = NFPROTO_IPV6, family 170 net/netfilter/xt_sctp.c .family = NFPROTO_IPV4, family 179 net/netfilter/xt_sctp.c .family = NFPROTO_IPV6, family 40 net/netfilter/xt_set.c .family = f, \ family 523 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 533 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 543 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 554 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 564 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 575 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 585 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 596 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 606 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 620 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 630 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 640 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 651 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 661 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 672 net/netfilter/xt_set.c .family = NFPROTO_IPV4, family 682 net/netfilter/xt_set.c .family = NFPROTO_IPV6, family 154 net/netfilter/xt_socket.c static int socket_mt_enable_defrag(struct net *net, int family) family 156 net/netfilter/xt_socket.c switch (family) { family 164 net/netfilter/xt_socket.c WARN_ONCE(1, "Unknown family %d\n", family); family 173 net/netfilter/xt_socket.c err = socket_mt_enable_defrag(par->net, par->family); family 190 net/netfilter/xt_socket.c err = socket_mt_enable_defrag(par->net, par->family); family 208 net/netfilter/xt_socket.c err = socket_mt_enable_defrag(par->net, par->family); family 223 net/netfilter/xt_socket.c .family = NFPROTO_IPV4, family 232 net/netfilter/xt_socket.c .family = NFPROTO_IPV4, family 244 net/netfilter/xt_socket.c .family = NFPROTO_IPV6, family 256 net/netfilter/xt_socket.c .family = NFPROTO_IPV4, family 268 net/netfilter/xt_socket.c .family = NFPROTO_IPV6, family 280 net/netfilter/xt_socket.c .family = NFPROTO_IPV4, family 292 net/netfilter/xt_socket.c .family = NFPROTO_IPV6, family 42 net/netfilter/xt_state.c ret = nf_ct_netns_get(par->net, par->family); family 45 net/netfilter/xt_state.c par->family); family 51 net/netfilter/xt_state.c nf_ct_netns_put(par->net, par->family); family 56 net/netfilter/xt_state.c .family = NFPROTO_UNSPEC, family 79 net/netfilter/xt_statistic.c .family = NFPROTO_UNSPEC, family 73 net/netfilter/xt_string.c .family = NFPROTO_UNSPEC, family 80 net/netfilter/xt_tcpmss.c .family = NFPROTO_IPV4, family 88 net/netfilter/xt_tcpmss.c .family = NFPROTO_IPV6, family 167 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV4, family 176 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV6, family 185 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV4, family 194 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV6, family 203 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV4, family 212 net/netfilter/xt_tcpudp.c .family = NFPROTO_IPV6, family 265 net/netfilter/xt_time.c .family = NFPROTO_UNSPEC, family 102 net/netfilter/xt_u32.c .family = NFPROTO_UNSPEC, family 137 net/netlabel/netlabel_domainhash.c u16 family) family 148 net/netlabel/netlabel_domainhash.c netlbl_family_match(iter->family, family) && family 171 net/netlabel/netlabel_domainhash.c u16 family) family 175 net/netlabel/netlabel_domainhash.c entry = netlbl_domhsh_search(domain, family); family 178 net/netlabel/netlabel_domainhash.c if (family == AF_INET || family == AF_UNSPEC) { family 183 net/netlabel/netlabel_domainhash.c if (family == AF_INET6 || family == AF_UNSPEC) { family 284 net/netlabel/netlabel_domainhash.c if (entry->family != AF_INET && entry->family != AF_INET6 && family 285 net/netlabel/netlabel_domainhash.c (entry->family != AF_UNSPEC || family 296 net/netlabel/netlabel_domainhash.c if (entry->family != AF_INET || family 301 net/netlabel/netlabel_domainhash.c if (entry->family != AF_INET6 || family 426 net/netlabel/netlabel_domainhash.c entry_old = netlbl_domhsh_search(entry->domain, entry->family); family 429 net/netlabel/netlabel_domainhash.c entry->family); family 439 net/netlabel/netlabel_domainhash.c switch (entry->family) { family 459 net/netlabel/netlabel_domainhash.c entry_b->family = AF_INET6; family 462 net/netlabel/netlabel_domainhash.c entry->family = AF_INET; family 793 net/netlabel/netlabel_domainhash.c int netlbl_domhsh_remove(const char *domain, u16 family, family 801 net/netlabel/netlabel_domainhash.c if (family == AF_INET || family == AF_UNSPEC) { family 810 net/netlabel/netlabel_domainhash.c if (family == AF_INET6 || family == AF_UNSPEC) { family 839 net/netlabel/netlabel_domainhash.c int netlbl_domhsh_remove_default(u16 family, struct netlbl_audit *audit_info) family 841 net/netlabel/netlabel_domainhash.c return netlbl_domhsh_remove(NULL, family, audit_info); family 856 net/netlabel/netlabel_domainhash.c struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family) family 858 net/netlabel/netlabel_domainhash.c if (family == AF_UNSPEC) family 860 net/netlabel/netlabel_domainhash.c return netlbl_domhsh_search_def(domain, family); family 60 net/netlabel/netlabel_domainhash.h u16 family; family 86 net/netlabel/netlabel_domainhash.h int netlbl_domhsh_remove(const char *domain, u16 family, family 88 net/netlabel/netlabel_domainhash.h int netlbl_domhsh_remove_default(u16 family, struct netlbl_audit *audit_info); family 89 net/netlabel/netlabel_domainhash.h struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family); family 57 net/netlabel/netlabel_kapi.c u16 family, family 63 net/netlabel/netlabel_kapi.c return netlbl_domhsh_remove(domain, family, audit_info); family 65 net/netlabel/netlabel_kapi.c switch (family) { family 96 net/netlabel/netlabel_kapi.c u16 family, family 115 net/netlabel/netlabel_kapi.c entry->family = family; family 126 net/netlabel/netlabel_kapi.c switch (family) { family 212 net/netlabel/netlabel_kapi.c u16 family, family 218 net/netlabel/netlabel_kapi.c switch (family) { family 255 net/netlabel/netlabel_kapi.c u16 family, family 260 net/netlabel/netlabel_kapi.c switch (family) { family 342 net/netlabel/netlabel_kapi.c entry->family = AF_INET; family 468 net/netlabel/netlabel_kapi.c entry->family = AF_INET6; family 976 net/netlabel/netlabel_kapi.c u16 family, family 983 net/netlabel/netlabel_kapi.c dom_entry = netlbl_domhsh_getentry(secattr->domain, family); family 988 net/netlabel/netlabel_kapi.c switch (family) { family 1190 net/netlabel/netlabel_kapi.c switch (req->rsk_ops->family) { family 1252 net/netlabel/netlabel_kapi.c switch (req->rsk_ops->family) { family 1276 net/netlabel/netlabel_kapi.c u16 family, family 1287 net/netlabel/netlabel_kapi.c switch (family) { family 1357 net/netlabel/netlabel_kapi.c u16 family, family 1362 net/netlabel/netlabel_kapi.c switch (family) { family 1377 net/netlabel/netlabel_kapi.c return netlbl_unlabel_getattr(skb, family, secattr); family 1393 net/netlabel/netlabel_kapi.c void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) family 1395 net/netlabel/netlabel_kapi.c switch (family) { family 1432 net/netlabel/netlabel_kapi.c int netlbl_cache_add(const struct sk_buff *skb, u16 family, family 1440 net/netlabel/netlabel_kapi.c switch (family) { family 110 net/netlabel/netlabel_mgmt.c entry->family = family 113 net/netlabel/netlabel_mgmt.c entry->family = AF_UNSPEC; family 123 net/netlabel/netlabel_mgmt.c entry->family = AF_INET; family 135 net/netlabel/netlabel_mgmt.c entry->family = AF_INET6; family 143 net/netlabel/netlabel_mgmt.c if ((entry->family == AF_INET && info->attrs[NLBL_MGMT_A_IPV6ADDR]) || family 144 net/netlabel/netlabel_mgmt.c (entry->family == AF_INET6 && info->attrs[NLBL_MGMT_A_IPV4ADDR])) family 191 net/netlabel/netlabel_mgmt.c entry->family = AF_INET; family 243 net/netlabel/netlabel_mgmt.c entry->family = AF_INET6; family 298 net/netlabel/netlabel_mgmt.c ret_val = nla_put_u16(skb, NLBL_MGMT_A_FAMILY, entry->family); family 601 net/netlabel/netlabel_mgmt.c u16 family; family 604 net/netlabel/netlabel_mgmt.c family = nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]); family 606 net/netlabel/netlabel_mgmt.c family = AF_INET; family 617 net/netlabel/netlabel_mgmt.c entry = netlbl_domhsh_getentry(NULL, family); family 1452 net/netlabel/netlabel_unlabeled.c u16 family, family 1469 net/netlabel/netlabel_unlabeled.c if (family == PF_INET6 && ip_hdr(skb)->version == 4) family 1470 net/netlabel/netlabel_unlabeled.c family = PF_INET; family 1473 net/netlabel/netlabel_unlabeled.c switch (family) { family 1541 net/netlabel/netlabel_unlabeled.c entry->family = AF_UNSPEC; family 225 net/netlabel/netlabel_unlabeled.h u16 family, family 2666 net/netlink/af_netlink.c .family = PF_NETLINK, family 2687 net/netlink/af_netlink.c .family = PF_NETLINK, family 243 net/netlink/diag.c .family = AF_NETLINK, family 89 net/netlink/genetlink.c static int genl_ctrl_event(int event, const struct genl_family *family, family 100 net/netlink/genetlink.c const struct genl_family *family; family 103 net/netlink/genetlink.c idr_for_each_entry(&genl_fam_idr, family, id) family 104 net/netlink/genetlink.c if (strcmp(family->name, name) == 0) family 105 net/netlink/genetlink.c return family; family 111 net/netlink/genetlink.c const struct genl_family *family) family 115 net/netlink/genetlink.c for (i = 0; i < family->n_ops; i++) family 116 net/netlink/genetlink.c if (family->ops[i].cmd == cmd) family 117 net/netlink/genetlink.c return &family->ops[i]; family 184 net/netlink/genetlink.c static int genl_validate_assign_mc_groups(struct genl_family *family) family 187 net/netlink/genetlink.c int n_groups = family->n_mcgrps; family 195 net/netlink/genetlink.c const struct genl_multicast_group *grp = &family->mcgrps[i]; family 204 net/netlink/genetlink.c if (family == &genl_ctrl) { family 207 net/netlink/genetlink.c } else if (strcmp(family->name, "NET_DM") == 0) { family 210 net/netlink/genetlink.c } else if (family->id == GENL_ID_VFS_DQUOT) { family 213 net/netlink/genetlink.c } else if (family->id == GENL_ID_PMCRAID) { family 223 net/netlink/genetlink.c family->mcgrp_offset = first_id; family 229 net/netlink/genetlink.c if (family->netnsok) { family 255 net/netlink/genetlink.c for (i = 0; i < family->n_mcgrps; i++) family 256 net/netlink/genetlink.c clear_bit(family->mcgrp_offset + i, mc_groups); family 262 net/netlink/genetlink.c static void genl_unregister_mc_groups(const struct genl_family *family) family 270 net/netlink/genetlink.c for (i = 0; i < family->n_mcgrps; i++) family 272 net/netlink/genetlink.c net->genl_sock, family->mcgrp_offset + i); family 277 net/netlink/genetlink.c for (i = 0; i < family->n_mcgrps; i++) { family 278 net/netlink/genetlink.c int grp_id = family->mcgrp_offset + i; family 282 net/netlink/genetlink.c genl_ctrl_event(CTRL_CMD_DELMCAST_GRP, family, family 283 net/netlink/genetlink.c &family->mcgrps[i], grp_id); family 287 net/netlink/genetlink.c static int genl_validate_ops(const struct genl_family *family) family 289 net/netlink/genetlink.c const struct genl_ops *ops = family->ops; family 290 net/netlink/genetlink.c unsigned int n_ops = family->n_ops; family 322 net/netlink/genetlink.c int genl_register_family(struct genl_family *family) family 327 net/netlink/genetlink.c err = genl_validate_ops(family); family 333 net/netlink/genetlink.c if (genl_family_find_byname(family->name)) { family 345 net/netlink/genetlink.c if (family == &genl_ctrl) { family 348 net/netlink/genetlink.c } else if (strcmp(family->name, "pmcraid") == 0) { family 350 net/netlink/genetlink.c } else if (strcmp(family->name, "VFS_DQUOT") == 0) { family 354 net/netlink/genetlink.c if (family->maxattr && !family->parallel_ops) { family 355 net/netlink/genetlink.c family->attrbuf = kmalloc_array(family->maxattr + 1, family 358 net/netlink/genetlink.c if (family->attrbuf == NULL) { family 363 net/netlink/genetlink.c family->attrbuf = NULL; family 365 net/netlink/genetlink.c family->id = idr_alloc_cyclic(&genl_fam_idr, family, family 367 net/netlink/genetlink.c if (family->id < 0) { family 368 net/netlink/genetlink.c err = family->id; family 372 net/netlink/genetlink.c err = genl_validate_assign_mc_groups(family); family 379 net/netlink/genetlink.c genl_ctrl_event(CTRL_CMD_NEWFAMILY, family, NULL, 0); family 380 net/netlink/genetlink.c for (i = 0; i < family->n_mcgrps; i++) family 381 net/netlink/genetlink.c genl_ctrl_event(CTRL_CMD_NEWMCAST_GRP, family, family 382 net/netlink/genetlink.c &family->mcgrps[i], family->mcgrp_offset + i); family 387 net/netlink/genetlink.c idr_remove(&genl_fam_idr, family->id); family 389 net/netlink/genetlink.c kfree(family->attrbuf); family 404 net/netlink/genetlink.c int genl_unregister_family(const struct genl_family *family) family 408 net/netlink/genetlink.c if (!genl_family_find_byid(family->id)) { family 413 net/netlink/genetlink.c genl_unregister_mc_groups(family); family 415 net/netlink/genetlink.c idr_remove(&genl_fam_idr, family->id); family 422 net/netlink/genetlink.c kfree(family->attrbuf); family 424 net/netlink/genetlink.c genl_ctrl_event(CTRL_CMD_DELFAMILY, family, NULL, 0); family 442 net/netlink/genetlink.c const struct genl_family *family, int flags, u8 cmd) family 447 net/netlink/genetlink.c nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + family 448 net/netlink/genetlink.c family->hdrsize, flags); family 454 net/netlink/genetlink.c hdr->version = family->version; family 501 net/netlink/genetlink.c static int genl_family_rcv_msg(const struct genl_family *family, family 514 net/netlink/genetlink.c if (!family->netnsok && !net_eq(net, &init_net)) family 517 net/netlink/genetlink.c hdrlen = GENL_HDRLEN + family->hdrsize; family 521 net/netlink/genetlink.c ops = genl_get_cmd(hdr->cmd, family); family 540 net/netlink/genetlink.c int hdrlen = GENL_HDRLEN + family->hdrsize; family 545 net/netlink/genetlink.c if (family->maxattr) { family 553 net/netlink/genetlink.c family->maxattr, family 554 net/netlink/genetlink.c family->policy, family 561 net/netlink/genetlink.c if (!family->parallel_ops) { family 563 net/netlink/genetlink.c .module = family->module, family 577 net/netlink/genetlink.c .module = family->module, family 592 net/netlink/genetlink.c if (family->maxattr && family->parallel_ops) { family 593 net/netlink/genetlink.c attrbuf = kmalloc_array(family->maxattr + 1, family 599 net/netlink/genetlink.c attrbuf = family->attrbuf; family 607 net/netlink/genetlink.c err = __nlmsg_parse(nlh, hdrlen, attrbuf, family->maxattr, family 608 net/netlink/genetlink.c family->policy, validate, extack); family 623 net/netlink/genetlink.c if (family->pre_doit) { family 624 net/netlink/genetlink.c err = family->pre_doit(ops, skb, &info); family 631 net/netlink/genetlink.c if (family->post_doit) family 632 net/netlink/genetlink.c family->post_doit(ops, skb, &info); family 635 net/netlink/genetlink.c if (family->parallel_ops) family 644 net/netlink/genetlink.c const struct genl_family *family; family 647 net/netlink/genetlink.c family = genl_family_find_byid(nlh->nlmsg_type); family 648 net/netlink/genetlink.c if (family == NULL) family 651 net/netlink/genetlink.c if (!family->parallel_ops) family 654 net/netlink/genetlink.c err = genl_family_rcv_msg(family, skb, nlh, extack); family 656 net/netlink/genetlink.c if (!family->parallel_ops) family 675 net/netlink/genetlink.c static int ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, family 684 net/netlink/genetlink.c if (nla_put_string(skb, CTRL_ATTR_FAMILY_NAME, family->name) || family 685 net/netlink/genetlink.c nla_put_u16(skb, CTRL_ATTR_FAMILY_ID, family->id) || family 686 net/netlink/genetlink.c nla_put_u32(skb, CTRL_ATTR_VERSION, family->version) || family 687 net/netlink/genetlink.c nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || family 688 net/netlink/genetlink.c nla_put_u32(skb, CTRL_ATTR_MAXATTR, family->maxattr)) family 691 net/netlink/genetlink.c if (family->n_ops) { family 699 net/netlink/genetlink.c for (i = 0; i < family->n_ops; i++) { family 701 net/netlink/genetlink.c const struct genl_ops *ops = &family->ops[i]; family 708 net/netlink/genetlink.c if (family->policy) family 725 net/netlink/genetlink.c if (family->n_mcgrps) { family 733 net/netlink/genetlink.c for (i = 0; i < family->n_mcgrps; i++) { family 737 net/netlink/genetlink.c grp = &family->mcgrps[i]; family 744 net/netlink/genetlink.c family->mcgrp_offset + i) || family 762 net/netlink/genetlink.c static int ctrl_fill_mcgrp_info(const struct genl_family *family, family 775 net/netlink/genetlink.c if (nla_put_string(skb, CTRL_ATTR_FAMILY_NAME, family->name) || family 776 net/netlink/genetlink.c nla_put_u16(skb, CTRL_ATTR_FAMILY_ID, family->id)) family 830 net/netlink/genetlink.c static struct sk_buff *ctrl_build_family_msg(const struct genl_family *family, family 840 net/netlink/genetlink.c err = ctrl_fill_info(family, portid, seq, 0, skb, cmd); family 850 net/netlink/genetlink.c ctrl_build_mcgrp_msg(const struct genl_family *family, family 861 net/netlink/genetlink.c err = ctrl_fill_mcgrp_info(family, grp, grp_id, portid, family 924 net/netlink/genetlink.c static int genl_ctrl_event(int event, const struct genl_family *family, family 938 net/netlink/genetlink.c msg = ctrl_build_family_msg(family, 0, 0, event); family 943 net/netlink/genetlink.c msg = ctrl_build_mcgrp_msg(family, grp, grp_id, 0, 0, event); family 952 net/netlink/genetlink.c if (!family->netnsok) { family 1101 net/netlink/genetlink.c struct nlattr **genl_family_attrbuf(const struct genl_family *family) family 1103 net/netlink/genetlink.c if (!WARN_ON(family->parallel_ops)) family 1106 net/netlink/genetlink.c return family->attrbuf; family 1147 net/netlink/genetlink.c int genlmsg_multicast_allns(const struct genl_family *family, family 1151 net/netlink/genetlink.c if (WARN_ON_ONCE(group >= family->n_mcgrps)) family 1153 net/netlink/genetlink.c group = family->mcgrp_offset + group; family 1158 net/netlink/genetlink.c void genl_notify(const struct genl_family *family, struct sk_buff *skb, family 1168 net/netlink/genetlink.c if (WARN_ON_ONCE(group >= family->n_mcgrps)) family 1170 net/netlink/genetlink.c group = family->mcgrp_offset + group; family 1313 net/netrom/af_netrom.c .family = PF_NETROM, family 1319 net/netrom/af_netrom.c .family = PF_NETROM, family 41 net/nfc/af_nfc.c .family = PF_NFC, family 892 net/nfc/llcp_sock.c .family = PF_NFC, family 912 net/nfc/llcp_sock.c .family = PF_NFC, family 267 net/nfc/rawsock.c .family = PF_NFC, family 287 net/nfc/rawsock.c .family = PF_NFC, family 782 net/openvswitch/actions.c .family = AF_UNSPEC, family 65 net/openvswitch/conntrack.c u16 family; family 668 net/openvswitch/conntrack.c ct = ovs_ct_find_existing(net, &info->zone, info->family, skb, family 955 net/openvswitch/conntrack.c .pf = info->family, family 1026 net/openvswitch/conntrack.c ovs_ct_helper(skb, info->family) != NF_ACCEPT) { family 1048 net/openvswitch/conntrack.c exp = ovs_ct_expect_find(net, &info->zone, info->family, skb); family 1329 net/openvswitch/conntrack.c helper = nf_conntrack_helper_try_module_get(name, info->family, family 1344 net/openvswitch/conntrack.c ret = nf_nat_helper_try_module_get(name, info->family, family 1367 net/openvswitch/conntrack.c bool ip_vers = (info->family == NFPROTO_IPV6); family 1654 net/openvswitch/conntrack.c u16 family; family 1657 net/openvswitch/conntrack.c family = key_to_nfproto(key); family 1658 net/openvswitch/conntrack.c if (family == NFPROTO_UNSPEC) { family 1664 net/openvswitch/conntrack.c ct_info.family = family; family 1681 net/openvswitch/conntrack.c if (nf_ct_set_timeout(net, ct_info.ct, family, key->ip.proto, family 1732 net/openvswitch/conntrack.c info->family == NFPROTO_IPV4) { family 1741 net/openvswitch/conntrack.c info->family == NFPROTO_IPV6) { family 71 net/openvswitch/datapath.c static bool ovs_must_notify(struct genl_family *family, struct genl_info *info, family 75 net/openvswitch/datapath.c genl_has_listeners(family, genl_info_net(info), group); family 78 net/openvswitch/datapath.c static void ovs_notify(struct genl_family *family, family 81 net/openvswitch/datapath.c genl_notify(family, skb, info, 0, GFP_KERNEL); family 4514 net/packet/af_packet.c .family = PF_PACKET, family 4536 net/packet/af_packet.c .family = PF_PACKET, family 4561 net/packet/af_packet.c .family = PF_PACKET, family 248 net/packet/diag.c .family = AF_PACKET, family 111 net/phonet/af_phonet.c .family = PF_PHONET, family 430 net/phonet/socket.c .family = AF_PHONET, family 455 net/phonet/socket.c .family = AF_PHONET, family 1018 net/qrtr/qrtr.c .family = AF_QIPCRTR, family 1104 net/qrtr/qrtr.c .family = AF_QIPCRTR, family 1124 net/qrtr/qrtr.c sock_unregister(qrtr_family.family); family 1135 net/qrtr/qrtr.c sock_unregister(qrtr_family.family); family 641 net/rds/af_rds.c .family = AF_RDS, family 726 net/rds/af_rds.c .family = AF_RDS, family 879 net/rds/af_rds.c sock_unregister(rds_family_ops.family); family 1430 net/rose/af_rose.c .family = PF_ROSE, family 1436 net/rose/af_rose.c .family = PF_ROSE, family 96 net/rxrpc/af_rxrpc.c if (srx->transport.family != rx->family && family 97 net/rxrpc/af_rxrpc.c srx->transport.family == AF_INET && rx->family != AF_INET6) family 100 net/rxrpc/af_rxrpc.c switch (srx->transport.family) { family 526 net/rxrpc/af_rxrpc.c rx->srx.transport.family = rx->family; family 527 net/rxrpc/af_rxrpc.c switch (rx->family) { family 763 net/rxrpc/af_rxrpc.c rx->family = protocol; family 909 net/rxrpc/af_rxrpc.c .family = PF_RXRPC, family 937 net/rxrpc/af_rxrpc.c .family = PF_RXRPC, family 157 net/rxrpc/ar-internal.h sa_family_t family; /* Protocol family created with */ family 88 net/rxrpc/conn_object.c if (srx.transport.family != local->srx.transport.family && family 89 net/rxrpc/conn_object.c (srx.transport.family == AF_INET && family 90 net/rxrpc/conn_object.c local->srx.transport.family != AF_INET6)) { family 92 net/rxrpc/conn_object.c srx.transport.family, family 93 net/rxrpc/conn_object.c local->srx.transport.family); family 130 net/rxrpc/conn_object.c switch (srx.transport.family) { family 41 net/rxrpc/local_object.c (local->srx.transport.family - srx->transport.family)); family 45 net/rxrpc/local_object.c switch (srx->transport.family) { family 113 net/rxrpc/local_object.c local, local->srx.transport_type, local->srx.transport.family); family 116 net/rxrpc/local_object.c ret = sock_create_kern(net, local->srx.transport.family, family 140 net/rxrpc/local_object.c if (local->srx.transport.family == AF_INET6) family 157 net/rxrpc/local_object.c switch (local->srx.transport.family) { family 232 net/rxrpc/local_object.c srx->transport_type, srx->transport.family, &srx->transport); family 473 net/rxrpc/output.c switch (conn->params.local->srx.transport.family) { family 39 net/rxrpc/peer_event.c srx->transport.family = local->srx.transport.family; family 44 net/rxrpc/peer_event.c switch (srx->transport.family) { family 47 net/rxrpc/peer_event.c srx->transport.family = AF_INET; family 82 net/rxrpc/peer_event.c srx->transport.family = AF_INET; family 40 net/rxrpc/peer_object.c hash_key += srx->transport.family; family 42 net/rxrpc/peer_object.c switch (srx->transport.family) { family 87 net/rxrpc/peer_object.c (peer->srx.transport.family - srx->transport.family)); family 91 net/rxrpc/peer_object.c switch (srx->transport.family) { family 167 net/rxrpc/peer_object.c switch (peer->srx.transport.family) { family 252 net/rxrpc/peer_object.c switch (peer->srx.transport.family) { family 77 net/sched/act_ct.c static int tcf_ct_skb_network_trim(struct sk_buff *skb, int family) family 82 net/sched/act_ct.c switch (family) { family 101 net/sched/act_ct.c u8 family = NFPROTO_UNSPEC; family 105 net/sched/act_ct.c family = NFPROTO_IPV4; family 108 net/sched/act_ct.c family = NFPROTO_IPV6; family 114 net/sched/act_ct.c return family; family 152 net/sched/act_ct.c u8 family, u16 zone) family 164 net/sched/act_ct.c if (family == NFPROTO_IPV4) family 173 net/sched/act_ct.c if (family == NFPROTO_IPV4) { family 391 net/sched/act_ct.c u8 family; family 411 net/sched/act_ct.c family = tcf_ct_skb_nf_family(skb); family 412 net/sched/act_ct.c if (family == NFPROTO_UNSPEC) family 420 net/sched/act_ct.c err = tcf_ct_handle_fragments(net, skb, family, p->zone); family 428 net/sched/act_ct.c err = tcf_ct_skb_network_trim(skb, family); family 450 net/sched/act_ct.c state.pf = family; family 54 net/sched/act_ipt.c par.family = NFPROTO_IPV4; family 69 net/sched/act_ipt.c .family = NFPROTO_IPV4, family 487 net/sched/act_tunnel_key.c unsigned short family = ip_tunnel_info_af(info); family 489 net/sched/act_tunnel_key.c if (family == AF_INET) { family 498 net/sched/act_tunnel_key.c if (family == AF_INET6) { family 80 net/sched/em_ipset.c opt.family = state.pf; family 53 net/sched/em_ipt.c mtpar.family = im->match->family; family 197 net/sched/em_ipt.c .family = im->match->family family 211 net/sched/em_ipt.c u8 nfproto = im->match->family; family 257 net/sched/sch_atm.c if (sock->ops->family != PF_ATMSVC && sock->ops->family != PF_ATMPVC) { family 95 net/sctp/input.c int family; family 134 net/sctp/input.c family = ipver2af(ip_hdr(skb)->version); family 135 net/sctp/input.c af = sctp_get_af_specific(family); family 202 net/sctp/input.c if (!xfrm_policy_check(sk, XFRM_POLICY_IN, skb, family)) family 471 net/sctp/input.c struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, family 487 net/sctp/input.c af = sctp_get_af_specific(family); family 869 net/sctp/ipv6.c static int sctp_inet6_af_supported(sa_family_t family, struct sctp_sock *sp) family 871 net/sctp/ipv6.c switch (family) { family 1016 net/sctp/ipv6.c .family = PF_INET6, family 821 net/sctp/protocol.c sa_family_t family = PF_INET; family 824 net/sctp/protocol.c family = PF_INET6; family 826 net/sctp/protocol.c err = inet_ctl_sock_create(&net->sctp.ctl_sock, family, family 830 net/sctp/protocol.c if (err < 0 && family == PF_INET6) family 868 net/sctp/protocol.c struct sctp_af *sctp_get_af_specific(sa_family_t family) family 870 net/sctp/protocol.c switch (family) { family 923 net/sctp/protocol.c static int sctp_inet_af_supported(sa_family_t family, struct sctp_sock *sp) family 926 net/sctp/protocol.c return AF_INET == family; family 1019 net/sctp/protocol.c .family = PF_INET, family 1101 net/sctp/protocol.c struct sctp_pf *sctp_get_pf_specific(sa_family_t family) family 1103 net/sctp/protocol.c switch (family) { family 1114 net/sctp/protocol.c int sctp_register_pf(struct sctp_pf *pf, sa_family_t family) family 1116 net/sctp/protocol.c switch (family) { family 261 net/sctp/transport.c struct sctp_pf *pf = sctp_get_pf_specific(dst->ops->family); family 1945 net/smc/af_smc.c .family = PF_SMC, family 1969 net/smc/af_smc.c int family = (protocol == SMCPROTO_SMC6) ? PF_INET6 : PF_INET; family 1992 net/smc/af_smc.c rc = sock_create_kern(net, family, SOCK_STREAM, IPPROTO_TCP, family 2006 net/smc/af_smc.c .family = PF_SMC, family 248 net/smc/smc_diag.c .family = AF_SMC, family 1208 net/socket.c int sock_create_lite(int family, int type, int protocol, struct socket **res) family 1213 net/socket.c err = security_socket_create(family, type, protocol, 1); family 1224 net/socket.c err = security_socket_post_create(sock, family, type, protocol, 1); family 1347 net/socket.c int __sock_create(struct net *net, int family, int type, int protocol, family 1357 net/socket.c if (family < 0 || family >= NPROTO) family 1367 net/socket.c if (family == PF_INET && type == SOCK_PACKET) { family 1370 net/socket.c family = PF_PACKET; family 1373 net/socket.c err = security_socket_create(family, type, protocol, kern); family 1398 net/socket.c if (rcu_access_pointer(net_families[family]) == NULL) family 1399 net/socket.c request_module("net-pf-%d", family); family 1403 net/socket.c pf = rcu_dereference(net_families[family]); family 1434 net/socket.c err = security_socket_post_create(sock, family, type, protocol, kern); family 1467 net/socket.c int sock_create(int family, int type, int protocol, struct socket **res) family 1469 net/socket.c return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); family 1485 net/socket.c int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res) family 1487 net/socket.c return __sock_create(net, family, type, protocol, res, 1); family 1491 net/socket.c int __sys_socket(int family, int type, int protocol) family 1511 net/socket.c retval = sock_create(family, type, protocol, &sock); family 1518 net/socket.c SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol) family 1520 net/socket.c return __sys_socket(family, type, protocol); family 1527 net/socket.c int __sys_socketpair(int family, int type, int protocol, int __user *usockvec) family 1569 net/socket.c err = sock_create(family, type, protocol, &sock1); family 1573 net/socket.c err = sock_create(family, type, protocol, &sock2); family 1619 net/socket.c SYSCALL_DEFINE4(socketpair, int, family, int, type, int, protocol, family 1622 net/socket.c return __sys_socketpair(family, type, protocol, usockvec); family 2952 net/socket.c if (ops->family >= NPROTO) { family 2953 net/socket.c pr_crit("protocol %d >= NPROTO(%d)\n", ops->family, NPROTO); family 2958 net/socket.c if (rcu_dereference_protected(net_families[ops->family], family 2962 net/socket.c rcu_assign_pointer(net_families[ops->family], ops); family 2967 net/socket.c pr_info("NET: Registered protocol family %d\n", ops->family); family 2985 net/socket.c void sock_unregister(int family) family 2987 net/socket.c BUG_ON(family < 0 || family >= NPROTO); family 2990 net/socket.c RCU_INIT_POINTER(net_families[family], NULL); family 2995 net/socket.c pr_info("NET: Unregistered protocol family %d\n", family); family 2999 net/socket.c bool sock_is_registered(int family) family 3001 net/socket.c return family < NPROTO && rcu_access_pointer(net_families[family]); family 1397 net/sunrpc/clnt.c static int rpc_anyaddr(int family, struct sockaddr *buf, size_t buflen) family 1399 net/sunrpc/clnt.c switch (family) { family 976 net/sunrpc/svc.c const int family, family 982 net/sunrpc/svc.c switch (family) { family 999 net/sunrpc/svc.c u32 version, int family, family 1006 net/sunrpc/svc.c port, family); family 1009 net/sunrpc/svc.c version, family, proto, port); family 1016 net/sunrpc/svc.c u32 version, int family, family 1031 net/sunrpc/svc.c port, family); family 1043 net/sunrpc/svc.c family, proto, port); family 1060 net/sunrpc/svc.c const int family, const unsigned short proto, family 1075 net/sunrpc/svc.c family, proto, port); family 184 net/sunrpc/svc_xprt.c const int family, family 203 net/sunrpc/svc_xprt.c switch (family) { family 256 net/sunrpc/svc_xprt.c struct net *net, const int family, family 274 net/sunrpc/svc_xprt.c newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); family 292 net/sunrpc/svc_xprt.c struct net *net, const int family, family 299 net/sunrpc/svc_xprt.c err = _svc_create_xprt(serv, xprt_name, net, family, port, flags, cred); family 302 net/sunrpc/svc_xprt.c err = _svc_create_xprt(serv, xprt_name, net, family, port, flags, cred); family 1405 net/sunrpc/svcsock.c int family; family 1422 net/sunrpc/svcsock.c family = PF_INET6; family 1425 net/sunrpc/svcsock.c family = PF_INET; family 1431 net/sunrpc/svcsock.c error = __sock_create(net, family, type, protocol, &sock, 1); family 1443 net/sunrpc/svcsock.c if (family == PF_INET6) family 1869 net/sunrpc/xprtsock.c static inline void xs_reclassify_socket(int family, struct socket *sock) family 1874 net/sunrpc/xprtsock.c switch (family) { family 1887 net/sunrpc/xprtsock.c static inline void xs_reclassify_socket(int family, struct socket *sock) family 1897 net/sunrpc/xprtsock.c struct sock_xprt *transport, int family, int type, family 1904 net/sunrpc/xprtsock.c err = __sock_create(xprt->xprt_net, family, type, protocol, &sock, 1); family 1910 net/sunrpc/xprtsock.c xs_reclassify_socket(family, sock); family 2826 net/sunrpc/xprtsock.c static int xs_init_anyaddr(const int family, struct sockaddr *sap) family 2837 net/sunrpc/xprtsock.c switch (family) { family 98 net/tipc/diag.c .family = AF_TIPC, family 636 net/tipc/socket.c if (addr->family != AF_TIPC) { family 696 net/tipc/socket.c addr->family = AF_TIPC; family 1319 net/tipc/socket.c if (unlikely(dest->family != AF_TIPC)) family 1337 net/tipc/socket.c if (!syn && dest->family != AF_TIPC) family 1561 net/tipc/socket.c srcaddr->sock.family = AF_TIPC; family 1573 net/tipc/socket.c srcaddr->member.family = AF_TIPC; family 2365 net/tipc/socket.c if (addr->family != AF_TIPC) family 2403 net/tipc/socket.c if (dst->family == AF_UNSPEC) { family 3144 net/tipc/socket.c tsk1->peer.family = AF_TIPC; family 3149 net/tipc/socket.c tsk2->peer.family = AF_TIPC; family 3164 net/tipc/socket.c .family = AF_TIPC, family 3185 net/tipc/socket.c .family = AF_TIPC, family 3206 net/tipc/socket.c .family = AF_TIPC, family 3227 net/tipc/socket.c .family = AF_TIPC, family 3268 net/tipc/socket.c sock_unregister(tipc_family_ops.family); family 519 net/tipc/topsrv.c saddr.family = AF_TIPC; family 727 net/tipc/udp_media.c udp_conf.family = AF_INET; family 744 net/tipc/udp_media.c udp_conf.family = AF_INET6; family 683 net/unix/af_unix.c .family = PF_UNIX, family 709 net/unix/af_unix.c .family = PF_UNIX, family 734 net/unix/af_unix.c .family = PF_UNIX, family 2829 net/unix/af_unix.c .family = PF_UNIX, family 327 net/unix/diag.c .family = AF_UNIX, family 34 net/unix/scm.c if (s && sock->ops && sock->ops->family == PF_UNIX) family 1070 net/vmw_vsock/af_vsock.c .family = PF_VSOCK, family 1826 net/vmw_vsock/af_vsock.c .family = PF_VSOCK, family 1872 net/vmw_vsock/af_vsock.c .family = AF_VSOCK, family 160 net/vmw_vsock/diag.c .family = AF_VSOCK, family 1613 net/x25/af_x25.c .family = AF_X25, family 1728 net/x25/af_x25.c .family = AF_X25, family 1046 net/xdp/xsk.c .family = PF_XDP, family 1130 net/xdp/xsk.c .family = PF_XDP, family 177 net/xdp/xsk_diag.c .family = AF_XDP, family 52 net/xfrm/xfrm_device.c if (x->outer_mode.family == AF_INET) family 55 net/xfrm/xfrm_device.c if (x->outer_mode.family == AF_INET6) family 60 net/xfrm/xfrm_device.c if (x->outer_mode.family == AF_INET) family 63 net/xfrm/xfrm_device.c if (x->outer_mode.family == AF_INET6) family 218 net/xfrm/xfrm_device.c x->props.family, family 86 net/xfrm/xfrm_hash.h u32 reqid, unsigned short family, family 89 net/xfrm/xfrm_hash.h unsigned int h = family ^ reqid; family 90 net/xfrm/xfrm_hash.h switch (family) { family 103 net/xfrm/xfrm_hash.h unsigned short family, family 106 net/xfrm/xfrm_hash.h unsigned int h = family; family 107 net/xfrm/xfrm_hash.h switch (family) { family 120 net/xfrm/xfrm_hash.h unsigned short family, unsigned int hmask) family 123 net/xfrm/xfrm_hash.h switch (family) { family 140 net/xfrm/xfrm_hash.h unsigned short family, unsigned int hmask, family 147 net/xfrm/xfrm_hash.h switch (family) { family 170 net/xfrm/xfrm_hash.h unsigned short family, family 176 net/xfrm/xfrm_hash.h switch (family) { family 55 net/xfrm/xfrm_input.c if (WARN_ON(afinfo->family >= ARRAY_SIZE(xfrm_input_afinfo))) family 59 net/xfrm/xfrm_input.c if (unlikely(xfrm_input_afinfo[afinfo->family] != NULL)) family 62 net/xfrm/xfrm_input.c rcu_assign_pointer(xfrm_input_afinfo[afinfo->family], afinfo); family 73 net/xfrm/xfrm_input.c if (likely(xfrm_input_afinfo[afinfo->family] != NULL)) { family 74 net/xfrm/xfrm_input.c if (unlikely(xfrm_input_afinfo[afinfo->family] != afinfo)) family 77 net/xfrm/xfrm_input.c RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->family], NULL); family 85 net/xfrm/xfrm_input.c static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(unsigned int family) family 89 net/xfrm/xfrm_input.c if (WARN_ON_ONCE(family >= ARRAY_SIZE(xfrm_input_afinfo))) family 93 net/xfrm/xfrm_input.c afinfo = rcu_dereference(xfrm_input_afinfo[family]); family 99 net/xfrm/xfrm_input.c static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, family 103 net/xfrm/xfrm_input.c const struct xfrm_input_afinfo *afinfo = xfrm_input_get_afinfo(family); family 335 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET) family 337 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET6) family 341 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET) family 343 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET6) family 359 net/xfrm/xfrm_input.c afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); family 367 net/xfrm/xfrm_input.c if (x->sel.family == AF_UNSPEC) { family 373 net/xfrm/xfrm_input.c switch (inner_mode->family) { family 439 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET) family 441 net/xfrm/xfrm_input.c if (inner_mode->family == AF_INET6) family 466 net/xfrm/xfrm_input.c unsigned int family = AF_UNSPEC; family 489 net/xfrm/xfrm_input.c family = x->outer_mode.family; family 504 net/xfrm/xfrm_input.c family = XFRM_SPI_SKB_CB(skb)->family; family 538 net/xfrm/xfrm_input.c family = XFRM_SPI_SKB_CB(skb)->family; family 541 net/xfrm/xfrm_input.c switch (family) { family 576 net/xfrm/xfrm_input.c x = xfrm_state_lookup(net, mark, daddr, spi, nexthdr, family); family 580 net/xfrm/xfrm_input.c xfrm_audit_state_notfound(skb, family, spi, seq); family 623 net/xfrm/xfrm_input.c if (xfrm_tunnel_check(skb, x, family)) { family 675 net/xfrm/xfrm_input.c if (x->sel.family == AF_UNSPEC) { family 698 net/xfrm/xfrm_input.c family = x->outer_mode.family; family 708 net/xfrm/xfrm_input.c err = xfrm_rcv_cb(skb, family, x->type->proto, 0); family 728 net/xfrm/xfrm_input.c afinfo = xfrm_state_afinfo_get_rcu(x->inner_mode.family); family 747 net/xfrm/xfrm_input.c xfrm_rcv_cb(skb, family, x && x->type ? x->type->proto : nexthdr, -1); family 74 net/xfrm/xfrm_interface.c unsigned short family) family 83 net/xfrm/xfrm_interface.c switch (family) { family 233 net/xfrm/xfrm_interface.c if (x->sel.family == AF_UNSPEC) { family 243 net/xfrm/xfrm_interface.c inner_mode->family)) family 155 net/xfrm/xfrm_output.c if (x->sel.family != AF_INET6) family 209 net/xfrm/xfrm_output.c top_iph->protocol = xfrm_af2proto(skb_dst(skb)->ops->family); family 255 net/xfrm/xfrm_output.c top_iph->nexthdr = xfrm_af2proto(skb_dst(skb)->ops->family); family 283 net/xfrm/xfrm_output.c if (x->sel.family != AF_INET6) family 375 net/xfrm/xfrm_output.c if (x->outer_mode.family == AF_INET) family 377 net/xfrm/xfrm_output.c if (x->outer_mode.family == AF_INET6) family 381 net/xfrm/xfrm_output.c if (x->outer_mode.family == AF_INET) family 383 net/xfrm/xfrm_output.c if (x->outer_mode.family == AF_INET6) family 387 net/xfrm/xfrm_output.c if (x->outer_mode.family == AF_INET6) family 514 net/xfrm/xfrm_output.c err = nf_hook(skb_dst(skb)->ops->family, family 623 net/xfrm/xfrm_output.c if (x->sel.family == AF_UNSPEC) family 625 net/xfrm/xfrm_output.c xfrm_af2proto(skb_dst(skb)->ops->family)); family 633 net/xfrm/xfrm_output.c afinfo = xfrm_state_afinfo_get_rcu(inner_mode->family); family 112 net/xfrm/xfrm_policy.c u16 family; family 170 net/xfrm/xfrm_policy.c xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, u8 dir, family 175 net/xfrm/xfrm_policy.c u8 type, u16 family, u8 dir, u32 if_id); family 220 net/xfrm/xfrm_policy.c unsigned short family) family 222 net/xfrm/xfrm_policy.c switch (family) { family 231 net/xfrm/xfrm_policy.c static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) family 235 net/xfrm/xfrm_policy.c if (unlikely(family >= ARRAY_SIZE(xfrm_policy_afinfo))) family 238 net/xfrm/xfrm_policy.c afinfo = rcu_dereference(xfrm_policy_afinfo[family]); family 253 net/xfrm/xfrm_policy.c int family, u32 mark) family 258 net/xfrm/xfrm_policy.c afinfo = xfrm_policy_get_afinfo(family); family 274 net/xfrm/xfrm_policy.c int family, u32 mark) family 290 net/xfrm/xfrm_policy.c dst = __xfrm_dst_lookup(net, tos, oif, saddr, daddr, family, mark); family 459 net/xfrm/xfrm_policy.c unsigned short family, int dir, family 462 net/xfrm/xfrm_policy.c switch (family) { family 481 net/xfrm/xfrm_policy.c unsigned short family, int dir) family 488 net/xfrm/xfrm_policy.c __get_hash_thresh(net, family, dir, &dbits, &sbits); family 489 net/xfrm/xfrm_policy.c hash = __sel_hash(sel, family, hmask, dbits, sbits); family 501 net/xfrm/xfrm_policy.c unsigned short family, int dir) family 508 net/xfrm/xfrm_policy.c __get_hash_thresh(net, family, dir, &dbits, &sbits); family 509 net/xfrm/xfrm_policy.c hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); family 531 net/xfrm/xfrm_policy.c __get_hash_thresh(net, pol->family, dir, &dbits, &sbits); family 533 net/xfrm/xfrm_policy.c pol->family, nhashmask, dbits, sbits); family 696 net/xfrm/xfrm_policy.c .family = pol->family, family 735 net/xfrm/xfrm_policy.c int family, u8 prefixlen) family 737 net/xfrm/xfrm_policy.c if (xfrm_addr_any(addr, family)) family 740 net/xfrm/xfrm_policy.c if (family == AF_INET6 && prefixlen < INEXACT_PREFIXLEN_IPV6) family 743 net/xfrm/xfrm_policy.c if (family == AF_INET && prefixlen < INEXACT_PREFIXLEN_IPV4) family 760 net/xfrm/xfrm_policy.c policy->family, family 765 net/xfrm/xfrm_policy.c policy->family, family 791 net/xfrm/xfrm_policy.c u8 prefixlen, u16 family) family 796 net/xfrm/xfrm_policy.c switch (family) { family 827 net/xfrm/xfrm_policy.c u16 family) family 842 net/xfrm/xfrm_policy.c WARN_ON_ONCE(policy->family != family); family 871 net/xfrm/xfrm_policy.c family) == 0; family 875 net/xfrm/xfrm_policy.c family) == 0; family 891 net/xfrm/xfrm_policy.c u16 family) family 911 net/xfrm/xfrm_policy.c prefixlen, family); family 927 net/xfrm/xfrm_policy.c xfrm_policy_inexact_list_reinsert(net, node, family); family 949 net/xfrm/xfrm_policy.c u16 family) family 963 net/xfrm/xfrm_policy.c family); family 971 net/xfrm/xfrm_policy.c xfrm_policy_inexact_list_reinsert(net, n, family); family 978 net/xfrm/xfrm_policy.c u16 family, u8 prefixlen, u8 dir) family 993 net/xfrm/xfrm_policy.c family); family 1007 net/xfrm/xfrm_policy.c family); family 1028 net/xfrm/xfrm_policy.c cached, family); family 1125 net/xfrm/xfrm_policy.c policy->family, family 1131 net/xfrm/xfrm_policy.c policy->family, family 1146 net/xfrm/xfrm_policy.c policy->family, family 1154 net/xfrm/xfrm_policy.c policy->family, family 1162 net/xfrm/xfrm_policy.c policy->family, family 1249 net/xfrm/xfrm_policy.c if (policy->family == AF_INET) { family 1257 net/xfrm/xfrm_policy.c if (policy->family == AF_INET) { family 1321 net/xfrm/xfrm_policy.c policy->family, dir); family 1446 net/xfrm/xfrm_policy.c u32 a = k->type << 24 | k->dir << 16 | k->family; family 1477 net/xfrm/xfrm_policy.c ret = b->k.family ^ key->family; family 1569 net/xfrm/xfrm_policy.c chain = policy_hash_bysel(net, &policy->selector, policy->family, dir); family 1583 net/xfrm/xfrm_policy.c if (policy->family == AF_INET) family 1644 net/xfrm/xfrm_policy.c chain = policy_hash_bysel(net, sel, sel->family, dir); family 1650 net/xfrm/xfrm_policy.c sel->family, dir, if_id); family 1885 net/xfrm/xfrm_policy.c u8 type, u16 family, int dir, u32 if_id) family 1891 net/xfrm/xfrm_policy.c if (pol->family != family || family 1897 net/xfrm/xfrm_policy.c match = xfrm_selector_match(sel, fl, family); family 1907 net/xfrm/xfrm_policy.c const xfrm_address_t *addr, u16 family) family 1923 net/xfrm/xfrm_policy.c node->prefixlen, family); family 1948 net/xfrm/xfrm_policy.c u16 family; family 1953 net/xfrm/xfrm_policy.c family = b->k.family; family 1958 net/xfrm/xfrm_policy.c family); family 1962 net/xfrm/xfrm_policy.c family); family 1968 net/xfrm/xfrm_policy.c family); family 1976 net/xfrm/xfrm_policy.c xfrm_policy_inexact_lookup_rcu(struct net *net, u8 type, u16 family, family 1980 net/xfrm/xfrm_policy.c .family = family, family 1993 net/xfrm/xfrm_policy.c xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, family 2001 net/xfrm/xfrm_policy.c bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); family 2011 net/xfrm/xfrm_policy.c u8 type, u16 family, int dir, u32 if_id) family 2025 net/xfrm/xfrm_policy.c err = xfrm_policy_match(pol, fl, type, family, dir, if_id); family 2050 net/xfrm/xfrm_policy.c u8 type, u16 family, int dir, u32 if_id) family 2058 net/xfrm/xfrm_policy.c fl, type, family, dir, family 2073 net/xfrm/xfrm_policy.c u16 family, u8 dir, family 2084 net/xfrm/xfrm_policy.c daddr = xfrm_flowi_daddr(fl, family); family 2085 net/xfrm/xfrm_policy.c saddr = xfrm_flowi_saddr(fl, family); family 2093 net/xfrm/xfrm_policy.c chain = policy_hash_direct(net, daddr, saddr, family, dir); family 2098 net/xfrm/xfrm_policy.c err = xfrm_policy_match(pol, fl, type, family, dir, if_id); family 2111 net/xfrm/xfrm_policy.c bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); family 2117 net/xfrm/xfrm_policy.c family, dir, if_id); family 2138 net/xfrm/xfrm_policy.c u16 family, u8 dir, u32 if_id) family 2143 net/xfrm/xfrm_policy.c pol = xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_SUB, fl, family, family 2148 net/xfrm/xfrm_policy.c return xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_MAIN, fl, family, family 2154 net/xfrm/xfrm_policy.c u16 family, u32 if_id) family 2165 net/xfrm/xfrm_policy.c if (pol->family != family) { family 2170 net/xfrm/xfrm_policy.c match = xfrm_selector_match(&pol->selector, fl, family); family 2308 net/xfrm/xfrm_policy.c newp->family = old->family; family 2343 net/xfrm/xfrm_policy.c xfrm_address_t *remote, unsigned short family, u32 mark) family 2346 net/xfrm/xfrm_policy.c const struct xfrm_policy_afinfo *afinfo = xfrm_policy_get_afinfo(family); family 2359 net/xfrm/xfrm_policy.c struct xfrm_state **xfrm, unsigned short family) family 2364 net/xfrm/xfrm_policy.c xfrm_address_t *daddr = xfrm_flowi_daddr(fl, family); family 2365 net/xfrm/xfrm_policy.c xfrm_address_t *saddr = xfrm_flowi_saddr(fl, family); family 2389 net/xfrm/xfrm_policy.c family, policy->if_id); family 2418 net/xfrm/xfrm_policy.c struct xfrm_state **xfrm, unsigned short family) family 2433 net/xfrm/xfrm_policy.c ret = xfrm_tmpl_resolve_one(pols[i], fl, &tpp[cnx], family); family 2443 net/xfrm/xfrm_policy.c xfrm_state_sort(xfrm, tpp, cnx, family); family 2454 net/xfrm/xfrm_policy.c static int xfrm_get_tos(const struct flowi *fl, int family) family 2456 net/xfrm/xfrm_policy.c if (family == AF_INET) family 2462 net/xfrm/xfrm_policy.c static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) family 2464 net/xfrm/xfrm_policy.c const struct xfrm_policy_afinfo *afinfo = xfrm_policy_get_afinfo(family); family 2471 net/xfrm/xfrm_policy.c switch (family) { family 2500 net/xfrm/xfrm_policy.c if (dst->ops->family == AF_INET6) { family 2511 net/xfrm/xfrm_policy.c xfrm_policy_get_afinfo(xdst->u.dst.ops->family); family 2549 net/xfrm/xfrm_policy.c int family = policy->selector.family; family 2552 net/xfrm/xfrm_policy.c xfrm_flowi_addr_get(fl, &saddr, &daddr, family); family 2554 net/xfrm/xfrm_policy.c tos = xfrm_get_tos(fl, family); family 2559 net/xfrm/xfrm_policy.c struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); family 2577 net/xfrm/xfrm_policy.c if (xfrm[i]->sel.family == AF_UNSPEC) { family 2579 net/xfrm/xfrm_policy.c xfrm_af2proto(family)); family 2597 net/xfrm/xfrm_policy.c family = xfrm[i]->props.family; family 2599 net/xfrm/xfrm_policy.c &saddr, &daddr, family, mark); family 2616 net/xfrm/xfrm_policy.c afinfo = xfrm_state_afinfo_get_rcu(inner_mode->family); family 2666 net/xfrm/xfrm_policy.c static int xfrm_expand_policies(const struct flowi *fl, u16 family, family 2687 net/xfrm/xfrm_policy.c fl, family, family 2713 net/xfrm/xfrm_policy.c const struct flowi *fl, u16 family, family 2724 net/xfrm/xfrm_policy.c err = xfrm_tmpl_resolve(pols, num_pols, fl, xfrm, family); family 2768 net/xfrm/xfrm_policy.c xfrm_decode_session(skb, &fl, dst->ops->family); family 2800 net/xfrm/xfrm_policy.c xfrm_decode_session(skb, &fl, skb_dst(skb)->ops->family); family 2871 net/xfrm/xfrm_policy.c u16 family) family 2879 net/xfrm/xfrm_policy.c xdst = xfrm_alloc_dst(net, family); family 2928 net/xfrm/xfrm_policy.c u16 family, u8 dir, family 2938 net/xfrm/xfrm_policy.c pols[0] = xfrm_policy_lookup(net, fl, family, dir, if_id); family 2939 net/xfrm/xfrm_policy.c err = xfrm_expand_policies(fl, family, pols, family 2948 net/xfrm/xfrm_policy.c xdst = xfrm_resolve_and_create_bundle(pols, num_pols, fl, family, family 2971 net/xfrm/xfrm_policy.c xdst = xfrm_create_dummy_bundle(net, xflo, fl, num_xfrms, family); family 2989 net/xfrm/xfrm_policy.c static struct dst_entry *make_blackhole(struct net *net, u16 family, family 2992 net/xfrm/xfrm_policy.c const struct xfrm_policy_afinfo *afinfo = xfrm_policy_get_afinfo(family); family 3023 net/xfrm/xfrm_policy.c u16 family = dst_orig->ops->family; family 3034 net/xfrm/xfrm_policy.c pols[0] = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl, family, family 3036 net/xfrm/xfrm_policy.c err = xfrm_expand_policies(fl, family, pols, family 3049 net/xfrm/xfrm_policy.c family, dst_orig); family 3079 net/xfrm/xfrm_policy.c xdst = xfrm_bundle_lookup(net, fl, family, dir, &xflo, if_id); family 3187 net/xfrm/xfrm_policy.c return make_blackhole(net, dst_orig->ops->family, dst_orig); family 3218 net/xfrm/xfrm_policy.c unsigned short family) family 3229 net/xfrm/xfrm_policy.c xfrm_state_addr_cmp(tmpl, x, family)); family 3241 net/xfrm/xfrm_policy.c unsigned short family) family 3251 net/xfrm/xfrm_policy.c if (xfrm_state_ok(tmpl, sp->xvec[idx], family)) family 3471 net/xfrm/xfrm_policy.c unsigned int family, int reverse) family 3473 net/xfrm/xfrm_policy.c switch (family) { family 3503 net/xfrm/xfrm_policy.c unsigned short family) family 3523 net/xfrm/xfrm_policy.c xi = ifcb->decode_session(skb, family); family 3534 net/xfrm/xfrm_policy.c if (__xfrm_decode_session(skb, &fl, family, reverse) < 0) { family 3539 net/xfrm/xfrm_policy.c nf_nat_decode_session(skb, &fl, family); family 3548 net/xfrm/xfrm_policy.c if (!xfrm_selector_match(&x->sel, &fl, family)) { family 3558 net/xfrm/xfrm_policy.c pol = xfrm_sk_policy_lookup(sk, dir, &fl, family, if_id); family 3566 net/xfrm/xfrm_policy.c pol = xfrm_policy_lookup(net, &fl, family, dir, if_id); family 3589 net/xfrm/xfrm_policy.c &fl, family, family 3629 net/xfrm/xfrm_policy.c xfrm_tmpl_sort(stp, tpp, xfrm_nr, family); family 3640 net/xfrm/xfrm_policy.c k = xfrm_policy_ok(tpp[i], sp, k, family); family 3668 net/xfrm/xfrm_policy.c int __xfrm_route_forward(struct sk_buff *skb, unsigned short family) family 3675 net/xfrm/xfrm_policy.c if (xfrm_decode_session(skb, &fl, family) < 0) { family 3902 net/xfrm/xfrm_policy.c int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family) family 3906 net/xfrm/xfrm_policy.c if (WARN_ON(family >= ARRAY_SIZE(xfrm_policy_afinfo))) family 3910 net/xfrm/xfrm_policy.c if (unlikely(xfrm_policy_afinfo[family] != NULL)) family 3930 net/xfrm/xfrm_policy.c rcu_assign_pointer(xfrm_policy_afinfo[family], afinfo); family 4172 net/xfrm/xfrm_policy.c switch (sel->family) { family 4231 net/xfrm/xfrm_policy.c if (sel_tgt->family == sel_cmp->family && family 4233 net/xfrm/xfrm_policy.c sel_cmp->family) && family 4235 net/xfrm/xfrm_policy.c sel_cmp->family) && family 4256 net/xfrm/xfrm_policy.c chain = policy_hash_direct(net, &sel->daddr, &sel->saddr, sel->family, dir); family 62 net/xfrm/xfrm_state.c unsigned short family) family 64 net/xfrm/xfrm_state.c return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); family 70 net/xfrm/xfrm_state.c unsigned short family) family 72 net/xfrm/xfrm_state.c return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); family 77 net/xfrm/xfrm_state.c __be32 spi, u8 proto, unsigned short family) family 79 net/xfrm/xfrm_state.c return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); family 95 net/xfrm/xfrm_state.c x->props.reqid, x->props.family, family 100 net/xfrm/xfrm_state.c x->props.family, family 106 net/xfrm/xfrm_state.c x->id.proto, x->props.family, family 182 net/xfrm/xfrm_state.c int xfrm_register_type(const struct xfrm_type *type, unsigned short family) family 184 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *afinfo = xfrm_state_get_afinfo(family); family 228 net/xfrm/xfrm_state.c void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family) family 230 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *afinfo = xfrm_state_get_afinfo(family); family 271 net/xfrm/xfrm_state.c static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family) family 278 net/xfrm/xfrm_state.c afinfo = xfrm_state_get_afinfo(family); family 314 net/xfrm/xfrm_state.c request_module("xfrm-type-%d-%d", family, proto); family 328 net/xfrm/xfrm_state.c unsigned short family) family 330 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *afinfo = xfrm_state_get_afinfo(family); family 353 net/xfrm/xfrm_state.c unsigned short family) family 355 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *afinfo = xfrm_state_get_afinfo(family); family 374 net/xfrm/xfrm_state.c xfrm_get_type_offload(u8 proto, unsigned short family, bool try_load) family 380 net/xfrm/xfrm_state.c afinfo = xfrm_state_get_afinfo(family); family 398 net/xfrm/xfrm_state.c request_module("xfrm-offload-%d-%d", family, proto); family 415 net/xfrm/xfrm_state.c .family = AF_INET, family 419 net/xfrm/xfrm_state.c .family = AF_INET, family 424 net/xfrm/xfrm_state.c .family = AF_INET, family 432 net/xfrm/xfrm_state.c .family = AF_INET6, family 436 net/xfrm/xfrm_state.c .family = AF_INET6, family 440 net/xfrm/xfrm_state.c .family = AF_INET6, family 445 net/xfrm/xfrm_state.c .family = AF_INET6, family 449 net/xfrm/xfrm_state.c static const struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family) family 456 net/xfrm/xfrm_state.c switch (family) { family 459 net/xfrm/xfrm_state.c if (mode->family == family) family 464 net/xfrm/xfrm_state.c if (mode->family == family) family 862 net/xfrm/xfrm_state.c sel->family = AF_INET; family 881 net/xfrm/xfrm_state.c sel->family = AF_INET6; family 892 net/xfrm/xfrm_state.c unsigned short family) family 894 net/xfrm/xfrm_state.c switch (family) { family 924 net/xfrm/xfrm_state.c x->props.family = tmpl->encap_family; family 930 net/xfrm/xfrm_state.c unsigned short family) family 932 net/xfrm/xfrm_state.c unsigned int h = xfrm_spi_hash(net, daddr, spi, proto, family); family 936 net/xfrm/xfrm_state.c if (x->props.family != family || family 939 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->id.daddr, daddr, family)) family 955 net/xfrm/xfrm_state.c u8 proto, unsigned short family) family 957 net/xfrm/xfrm_state.c unsigned int h = xfrm_src_hash(net, daddr, saddr, family); family 961 net/xfrm/xfrm_state.c if (x->props.family != family || family 963 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->id.daddr, daddr, family) || family 964 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) family 978 net/xfrm/xfrm_state.c __xfrm_state_locate(struct xfrm_state *x, int use_spi, int family) family 985 net/xfrm/xfrm_state.c x->id.spi, x->id.proto, family); family 990 net/xfrm/xfrm_state.c x->id.proto, family); family 1002 net/xfrm/xfrm_state.c const struct flowi *fl, unsigned short family, family 1018 net/xfrm/xfrm_state.c if ((x->sel.family && family 1019 net/xfrm/xfrm_state.c !xfrm_selector_match(&x->sel, fl, x->sel.family)) || family 1032 net/xfrm/xfrm_state.c if (xfrm_selector_match(&x->sel, fl, x->sel.family) && family 1042 net/xfrm/xfrm_state.c unsigned short family, u32 if_id) family 1063 net/xfrm/xfrm_state.c if (x->props.family == encap_family && family 1080 net/xfrm/xfrm_state.c if (x->props.family == encap_family && family 1121 net/xfrm/xfrm_state.c xfrm_init_tempstate(x, fl, tmpl, daddr, saddr, family); family 1185 net/xfrm/xfrm_state.c unsigned short family, u8 mode, u8 proto, u32 reqid) family 1191 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, daddr, saddr, reqid, family); family 1193 net/xfrm/xfrm_state.c if (x->props.family == family && family 1198 net/xfrm/xfrm_state.c xfrm_state_addr_check(x, daddr, saddr, family) && family 1217 net/xfrm/xfrm_state.c unsigned short family) family 1225 net/xfrm/xfrm_state.c if (x->props.family != family || family 1246 net/xfrm/xfrm_state.c x->props.reqid, x->props.family); family 1249 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, &x->id.daddr, &x->props.saddr, x->props.family); family 1254 net/xfrm/xfrm_state.c x->props.family); family 1272 net/xfrm/xfrm_state.c unsigned short family = xnew->props.family; family 1279 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, &xnew->id.daddr, &xnew->props.saddr, reqid, family); family 1281 net/xfrm/xfrm_state.c if (x->props.family == family && family 1285 net/xfrm/xfrm_state.c xfrm_addr_equal(&x->id.daddr, &xnew->id.daddr, family) && family 1286 net/xfrm/xfrm_state.c xfrm_addr_equal(&x->props.saddr, &xnew->props.saddr, family)) family 1305 net/xfrm/xfrm_state.c unsigned short family, u8 mode, family 1311 net/xfrm/xfrm_state.c unsigned int h = xfrm_dst_hash(net, daddr, saddr, reqid, family); family 1318 net/xfrm/xfrm_state.c x->props.family != family || family 1323 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->id.daddr, daddr, family) || family 1324 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) family 1336 net/xfrm/xfrm_state.c switch (family) { family 1358 net/xfrm/xfrm_state.c x->props.family = family; family 1371 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, daddr, saddr, family); family 1388 net/xfrm/xfrm_state.c int family; family 1393 net/xfrm/xfrm_state.c family = x->props.family; family 1399 net/xfrm/xfrm_state.c x1 = __xfrm_state_locate(x, use_spi, family); family 1410 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x1->id.daddr, &x->id.daddr, family))) { family 1417 net/xfrm/xfrm_state.c x1 = __find_acq_core(net, &x->mark, family, x->props.mode, family 1455 net/xfrm/xfrm_state.c x->props.family = orig->props.family; family 1623 net/xfrm/xfrm_state.c x1 = __xfrm_state_locate(x, use_spi, x->props.family); family 1729 net/xfrm/xfrm_state.c u8 proto, unsigned short family) family 1734 net/xfrm/xfrm_state.c x = __xfrm_state_lookup(net, mark, daddr, spi, proto, family); family 1743 net/xfrm/xfrm_state.c u8 proto, unsigned short family) family 1748 net/xfrm/xfrm_state.c x = __xfrm_state_lookup_byaddr(net, mark, daddr, saddr, proto, family); family 1757 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, int create, unsigned short family) family 1762 net/xfrm/xfrm_state.c x = __find_acq_core(net, mark, family, mode, reqid, if_id, proto, daddr, saddr, create); family 1868 net/xfrm/xfrm_state.c unsigned short family) family 1872 net/xfrm/xfrm_state.c if (family == AF_INET6) family 1882 net/xfrm/xfrm_state.c unsigned short family) family 1886 net/xfrm/xfrm_state.c if (family == AF_INET6) family 1985 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(net, mark, &x->id.daddr, minspi, x->id.proto, x->props.family); family 1995 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(net, mark, &x->id.daddr, htonl(spi), x->id.proto, x->props.family); family 2005 net/xfrm/xfrm_state.c h = xfrm_spi_hash(net, &x->id.daddr, x->id.spi, x->id.proto, x->props.family); family 2023 net/xfrm/xfrm_state.c if ((filter->family == AF_INET || family 2024 net/xfrm/xfrm_state.c filter->family == AF_INET6) && family 2025 net/xfrm/xfrm_state.c x->props.family != filter->family) family 2335 net/xfrm/xfrm_state.c if (WARN_ON(afinfo->family >= NPROTO)) family 2339 net/xfrm/xfrm_state.c if (unlikely(xfrm_state_afinfo[afinfo->family] != NULL)) family 2342 net/xfrm/xfrm_state.c rcu_assign_pointer(xfrm_state_afinfo[afinfo->family], afinfo); family 2350 net/xfrm/xfrm_state.c int err = 0, family = afinfo->family; family 2352 net/xfrm/xfrm_state.c if (WARN_ON(family >= NPROTO)) family 2356 net/xfrm/xfrm_state.c if (likely(xfrm_state_afinfo[afinfo->family] != NULL)) { family 2357 net/xfrm/xfrm_state.c if (rcu_access_pointer(xfrm_state_afinfo[family]) != afinfo) family 2360 net/xfrm/xfrm_state.c RCU_INIT_POINTER(xfrm_state_afinfo[afinfo->family], NULL); family 2368 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *xfrm_state_afinfo_get_rcu(unsigned int family) family 2370 net/xfrm/xfrm_state.c if (unlikely(family >= NPROTO)) family 2373 net/xfrm/xfrm_state.c return rcu_dereference(xfrm_state_afinfo[family]); family 2377 net/xfrm/xfrm_state.c struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family) family 2380 net/xfrm/xfrm_state.c if (unlikely(family >= NPROTO)) family 2383 net/xfrm/xfrm_state.c afinfo = rcu_dereference(xfrm_state_afinfo[family]); family 2426 net/xfrm/xfrm_state.c if (x->props.family == AF_INET) family 2428 net/xfrm/xfrm_state.c else if (x->props.family == AF_INET6) family 2447 net/xfrm/xfrm_state.c int family = x->props.family; family 2450 net/xfrm/xfrm_state.c if (family == AF_INET && family 2456 net/xfrm/xfrm_state.c if (x->sel.family != AF_UNSPEC) { family 2457 net/xfrm/xfrm_state.c inner_mode = xfrm_get_mode(x->props.mode, x->sel.family); family 2462 net/xfrm/xfrm_state.c family != x->sel.family) family 2470 net/xfrm/xfrm_state.c inner_mode = xfrm_get_mode(x->props.mode, x->props.family); family 2479 net/xfrm/xfrm_state.c if (x->props.family == AF_INET) family 2489 net/xfrm/xfrm_state.c x->type = xfrm_get_type(x->id.proto, family); family 2493 net/xfrm/xfrm_state.c x->type_offload = xfrm_get_type_offload(x->id.proto, family, offload); family 2499 net/xfrm/xfrm_state.c outer_mode = xfrm_get_mode(x->props.mode, family); family 2597 net/xfrm/xfrm_state.c switch (x->props.family) { family 2611 net/xfrm/xfrm_state.c static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family, family 2617 net/xfrm/xfrm_state.c switch (family) { family 2672 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); family 2690 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); family 2698 net/xfrm/xfrm_state.c void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family) family 2705 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, family, audit_buf); family 2710 net/xfrm/xfrm_state.c void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, family 2719 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, family, audit_buf); family 2737 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); family 154 net/xfrm/xfrm_user.c switch (p->family) { family 170 net/xfrm/xfrm_user.c switch (p->sel.family) { family 503 net/xfrm/xfrm_user.c x->props.family = p->family; family 507 net/xfrm/xfrm_user.c if (!x->sel.family && !(p->flags & XFRM_STATE_AF_UNSPEC)) family 508 net/xfrm/xfrm_user.c x->sel.family = p->family; family 728 net/xfrm/xfrm_user.c x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family); family 741 net/xfrm/xfrm_user.c p->proto, p->family); family 801 net/xfrm/xfrm_user.c p->family = x->props.family; family 1313 net/xfrm/xfrm_user.c int family; family 1324 net/xfrm/xfrm_user.c family = p->info.family; family 1336 net/xfrm/xfrm_user.c if (x && !xfrm_addr_equal(&x->id.daddr, daddr, family)) { family 1346 net/xfrm/xfrm_user.c family); family 1424 net/xfrm/xfrm_user.c switch (p->sel.family) { family 1487 net/xfrm/xfrm_user.c t->encap_family = ut->family; family 1491 net/xfrm/xfrm_user.c static int validate_tmpl(int nr, struct xfrm_user_tmpl *ut, u16 family) family 1499 net/xfrm/xfrm_user.c prev_family = family; family 1509 net/xfrm/xfrm_user.c if (!ut[i].family) family 1510 net/xfrm/xfrm_user.c ut[i].family = family; family 1517 net/xfrm/xfrm_user.c if (ut[i].family != prev_family) family 1524 net/xfrm/xfrm_user.c prev_family = ut[i].family; family 1526 net/xfrm/xfrm_user.c switch (ut[i].family) { family 1555 net/xfrm/xfrm_user.c err = validate_tmpl(nr, utmpl, pol->family); family 1592 net/xfrm/xfrm_user.c xp->family = p->sel.family; family 1604 net/xfrm/xfrm_user.c p->sel.family = xp->family; family 1704 net/xfrm/xfrm_user.c up->family = kp->encap_family; family 1988 net/xfrm/xfrm_user.c id->sa_id.family = x->props.family; family 2051 net/xfrm/xfrm_user.c x = xfrm_state_lookup(net, mark, &id->daddr, id->spi, id->proto, id->family); family 2105 net/xfrm/xfrm_user.c x = xfrm_state_lookup(net, mark, &p->sa_id.daddr, p->sa_id.spi, p->sa_id.proto, p->sa_id.family); family 2234 net/xfrm/xfrm_user.c x = xfrm_state_lookup(net, mark, &p->id.daddr, p->id.spi, p->id.proto, p->family); family 2300 net/xfrm/xfrm_user.c x->props.family = ut->family; family 2334 net/xfrm/xfrm_user.c k->family = uk->family; family 2435 net/xfrm/xfrm_user.c uk.family = k->family; family 2865 net/xfrm/xfrm_user.c id->family = x->props.family; family 3018 net/xfrm/xfrm_user.c if (validate_tmpl(nr, ut, p->sel.family)) family 3280 net/xfrm/xfrm_user.c um->id.family = x->props.family; family 17 samples/bpf/sock_flags_kern.c bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); family 23 samples/bpf/sock_flags_kern.c if (sk->family == PF_INET6 && family 36 samples/bpf/sock_flags_kern.c bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); family 41 samples/bpf/sock_flags_kern.c if (sk->family == PF_INET && family 42 samples/bpf/tcp_basertt_kern.c if (skops->family == AF_INET6 && family 52 samples/bpf/tcp_clamp_kern.c if (skops->family == AF_INET6 && family 50 samples/bpf/tcp_cong_kern.c if (skops->family == AF_INET6 && family 47 samples/bpf/tcp_rwnd_kern.c skops->family == AF_INET6) { family 47 samples/bpf/tcp_synrto_kern.c skops->family == AF_INET6) { family 46 samples/bpf/tcp_tos_reflect_kern.c if (skops->family == AF_INET) family 53 samples/bpf/tcp_tos_reflect_kern.c if (skops->family == AF_INET) { family 165 samples/bpf/test_cgrp2_sock.c static int show_sockopts(int family) family 171 samples/bpf/test_cgrp2_sock.c sd = socket(family, SOCK_DGRAM, 17); family 209 samples/bpf/test_cgrp2_sock.c int family = PF_INET; family 235 samples/bpf/test_cgrp2_sock.c family = PF_INET6; family 243 samples/bpf/test_cgrp2_sock.c return show_sockopts(family); family 71 samples/bpf/xdp_fwd_kern.c fib_params.family = AF_INET; family 90 samples/bpf/xdp_fwd_kern.c fib_params.family = AF_INET6; family 17 samples/bpf/xdp_tx_iptunnel_common.h __u16 family; family 30 samples/bpf/xdp_tx_iptunnel_common.h __u16 family; family 100 samples/bpf/xdp_tx_iptunnel_kern.c vip.family = AF_INET; family 107 samples/bpf/xdp_tx_iptunnel_kern.c if (!tnl || tnl->family != AF_INET) family 172 samples/bpf/xdp_tx_iptunnel_kern.c vip.family = AF_INET6; family 179 samples/bpf/xdp_tx_iptunnel_kern.c if (!tnl || tnl->family != AF_INET6) family 172 samples/bpf/xdp_tx_iptunnel_user.c tnl.family = AF_UNSPEC; family 180 samples/bpf/xdp_tx_iptunnel_user.c unsigned short family; family 190 samples/bpf/xdp_tx_iptunnel_user.c vip.family = parse_ipstr(optarg, vip.daddr.v6); family 191 samples/bpf/xdp_tx_iptunnel_user.c if (vip.family == AF_UNSPEC) family 208 samples/bpf/xdp_tx_iptunnel_user.c family = parse_ipstr(optarg, v6); family 209 samples/bpf/xdp_tx_iptunnel_user.c if (family == AF_UNSPEC) family 211 samples/bpf/xdp_tx_iptunnel_user.c if (tnl.family == AF_UNSPEC) { family 212 samples/bpf/xdp_tx_iptunnel_user.c tnl.family = family; family 213 samples/bpf/xdp_tx_iptunnel_user.c } else if (tnl.family != family) { family 182 scripts/mod/devicetable-offsets.c DEVID_FIELD(x86_cpu_id, family); family 1153 scripts/mod/file2alias.c DEF_FIELD(symval, x86_cpu_id, family); family 1159 scripts/mod/file2alias.c ADD(alias, "fam", family != X86_FAMILY_ANY, family); family 58 security/apparmor/include/net.h .family = (F)}; \ family 93 security/apparmor/include/net.h u32 request, u16 family, int type); family 94 security/apparmor/include/net.h int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, family 759 security/apparmor/lsm.c static int apparmor_sk_alloc_security(struct sock *sk, int family, gfp_t flags) family 801 security/apparmor/lsm.c static int apparmor_socket_create(int family, int type, int protocol, int kern) family 810 security/apparmor/lsm.c error = af_select(family, family 811 security/apparmor/lsm.c create_perm(label, family, type, protocol), family 813 security/apparmor/lsm.c family, type, protocol)); family 829 security/apparmor/lsm.c static int apparmor_socket_post_create(struct socket *sock, int family, family 76 security/apparmor/net.c if (address_family_names[sa->u.net->family]) family 77 security/apparmor/net.c audit_log_string(ab, address_family_names[sa->u.net->family]); family 79 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", sa->u.net->family); family 107 security/apparmor/net.c u32 request, u16 family, int type) family 113 security/apparmor/net.c AA_BUG(family >= AF_MAX); family 122 security/apparmor/net.c buffer[0] = cpu_to_be16(family); family 132 security/apparmor/net.c int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, family 136 security/apparmor/net.c DEFINE_AUDIT_NET(sa, op, NULL, family, type, protocol); family 139 security/apparmor/net.c aa_profile_af_perm(profile, &sa, request, family, family 370 security/lsm_audit.c switch (a->u.net->family) { family 1973 security/security.c int security_socket_create(int family, int type, int protocol, int kern) family 1975 security/security.c return call_int_hook(socket_create, 0, family, type, protocol, kern); family 1978 security/security.c int security_socket_post_create(struct socket *sock, int family, family 1981 security/security.c return call_int_hook(socket_post_create, 0, sock, family, type, family 2067 security/security.c int security_sk_alloc(struct sock *sk, int family, gfp_t priority) family 2069 security/security.c return call_int_hook(sk_alloc_security, 0, sk, family, priority); family 1179 security/selinux/hooks.c static inline u16 socket_type_to_security_class(int family, int type, int protocol) family 1183 security/selinux/hooks.c switch (family) { family 1265 security/selinux/hooks.c switch (family) { family 4365 security/selinux/hooks.c switch (ad->u.net->family) { family 4415 security/selinux/hooks.c static int selinux_skb_peerlbl_sid(struct sk_buff *skb, u16 family, u32 *sid) family 4425 security/selinux/hooks.c err = selinux_netlbl_skbuff_getsid(skb, family, &nlbl_type, &nlbl_sid); family 4498 security/selinux/hooks.c static int selinux_socket_create(int family, int type, family 4509 security/selinux/hooks.c secclass = socket_type_to_security_class(family, type, protocol); family 4518 security/selinux/hooks.c static int selinux_socket_post_create(struct socket *sock, int family, family 4524 security/selinux/hooks.c u16 sclass = socket_type_to_security_class(family, type, protocol); family 4546 security/selinux/hooks.c err = selinux_netlbl_socket_post_create(sock->sk, family); family 4572 security/selinux/hooks.c u16 family; family 4580 security/selinux/hooks.c family = sk->sk_family; family 4581 security/selinux/hooks.c if (family == PF_INET || family == PF_INET6) { family 4631 security/selinux/hooks.c ad.u.net->family = family_sa; family 4782 security/selinux/hooks.c ad.u.net->family = address->sa_family; family 4934 security/selinux/hooks.c char *addrp, u16 family, u32 peer_sid, family 4950 security/selinux/hooks.c err = sel_netnode_sid(addrp, family, &node_sid); family 4959 security/selinux/hooks.c u16 family) family 4971 security/selinux/hooks.c ad.u.net->family = family; family 4984 security/selinux/hooks.c err = selinux_netlbl_sock_rcv_skb(sksec, skb, family, &ad); family 4996 security/selinux/hooks.c u16 family = sk->sk_family; family 5004 security/selinux/hooks.c if (family != PF_INET && family != PF_INET6) family 5008 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) family 5009 security/selinux/hooks.c family = PF_INET; family 5016 security/selinux/hooks.c return selinux_sock_rcv_skb_compat(sk, skb, family); family 5026 security/selinux/hooks.c ad.u.net->family = family; family 5034 security/selinux/hooks.c err = selinux_skb_peerlbl_sid(skb, family, &peer_sid); family 5038 security/selinux/hooks.c addrp, family, peer_sid, &ad); family 5040 security/selinux/hooks.c selinux_netlbl_err(skb, family, err, 0); family 5047 security/selinux/hooks.c selinux_netlbl_err(skb, family, err, 0); family 5102 security/selinux/hooks.c u16 family; family 5106 security/selinux/hooks.c family = PF_INET; family 5108 security/selinux/hooks.c family = PF_INET6; family 5110 security/selinux/hooks.c family = sock->sk->sk_family; family 5114 security/selinux/hooks.c if (sock && family == PF_UNIX) { family 5118 security/selinux/hooks.c selinux_skb_peerlbl_sid(skb, family, &peer_secid); family 5127 security/selinux/hooks.c static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) family 5366 security/selinux/hooks.c u16 family = req->rsk_ops->family; family 5370 security/selinux/hooks.c err = selinux_skb_peerlbl_sid(skb, family, &peersid); family 5379 security/selinux/hooks.c return selinux_netlbl_inet_conn_request(req, family); family 5396 security/selinux/hooks.c selinux_netlbl_inet_csk_clone(newsk, req->rsk_ops->family); family 5401 security/selinux/hooks.c u16 family = sk->sk_family; family 5405 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) family 5406 security/selinux/hooks.c family = PF_INET; family 5408 security/selinux/hooks.c selinux_skb_peerlbl_sid(skb, family, &sksec->peer_sid); family 5584 security/selinux/hooks.c u16 family) family 5604 security/selinux/hooks.c if (selinux_skb_peerlbl_sid(skb, family, &peer_sid) != 0) family 5610 security/selinux/hooks.c ad.u.net->family = family; family 5616 security/selinux/hooks.c addrp, family, peer_sid, &ad); family 5618 security/selinux/hooks.c selinux_netlbl_err(skb, family, err, 1); family 5634 security/selinux/hooks.c if (selinux_netlbl_skbuff_setsid(skb, family, peer_sid) != 0) family 5657 security/selinux/hooks.c u16 family) family 5692 security/selinux/hooks.c if (selinux_netlbl_skbuff_setsid(skb, family, sid) != 0) family 5716 security/selinux/hooks.c u16 family) family 5732 security/selinux/hooks.c ad.u.net->family = family; family 5750 security/selinux/hooks.c u16 family) family 5767 security/selinux/hooks.c return selinux_ip_postroute_compat(skb, ifindex, family); family 5800 security/selinux/hooks.c if (selinux_skb_peerlbl_sid(skb, family, &peer_sid)) family 5820 security/selinux/hooks.c if (selinux_skb_peerlbl_sid(skb, family, &skb_sid)) family 5829 security/selinux/hooks.c switch (family) { family 5856 security/selinux/hooks.c ad.u.net->family = family; family 5877 security/selinux/hooks.c if (sel_netnode_sid(addrp, family, &node_sid)) family 29 security/selinux/include/netlabel.h void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, family 36 security/selinux/include/netlabel.h u16 family, family 40 security/selinux/include/netlabel.h u16 family, family 44 security/selinux/include/netlabel.h int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family); family 45 security/selinux/include/netlabel.h void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family); family 47 security/selinux/include/netlabel.h int selinux_netlbl_socket_post_create(struct sock *sk, u16 family); family 50 security/selinux/include/netlabel.h u16 family, family 66 security/selinux/include/netlabel.h u16 family, family 86 security/selinux/include/netlabel.h u16 family, family 95 security/selinux/include/netlabel.h u16 family, family 113 security/selinux/include/netlabel.h u16 family) family 117 security/selinux/include/netlabel.h static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) family 127 security/selinux/include/netlabel.h u16 family) family 133 security/selinux/include/netlabel.h u16 family, family 22 security/selinux/include/netnode.h int sel_netnode_sid(void *addr, u16 family, u32 *sid); family 96 security/selinux/include/objsec.h u16 family; /* address family */ family 42 security/selinux/netlabel.c u16 family, family 52 security/selinux/netlabel.c netlbl_cache_add(skb, family, secattr); family 141 security/selinux/netlabel.c void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) family 143 security/selinux/netlabel.c netlbl_skbuff_err(skb, family, error, gateway); family 189 security/selinux/netlabel.c u16 family, family 202 security/selinux/netlabel.c rc = netlbl_skbuff_getattr(skb, family, &secattr); family 204 security/selinux/netlabel.c rc = selinux_netlbl_sidlookup_cached(skb, family, family 226 security/selinux/netlabel.c u16 family, family 253 security/selinux/netlabel.c rc = netlbl_skbuff_setattr(skb, family, secattr); family 324 security/selinux/netlabel.c int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) family 329 security/selinux/netlabel.c if (family != PF_INET && family != PF_INET6) family 353 security/selinux/netlabel.c void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) family 357 security/selinux/netlabel.c if (family == PF_INET) family 389 security/selinux/netlabel.c int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) family 395 security/selinux/netlabel.c if (family != PF_INET && family != PF_INET6) family 401 security/selinux/netlabel.c rc = netlbl_sock_setattr(sk, family, secattr); family 430 security/selinux/netlabel.c u16 family, family 442 security/selinux/netlabel.c rc = netlbl_skbuff_getattr(skb, family, &secattr); family 444 security/selinux/netlabel.c rc = selinux_netlbl_sidlookup_cached(skb, family, family 469 security/selinux/netlabel.c netlbl_skbuff_err(skb, family, rc, 0); family 104 security/selinux/netnode.c static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) family 109 security/selinux/netnode.c switch (family) { family 122 security/selinux/netnode.c if (node->nsec.family == family) family 123 security/selinux/netnode.c switch (family) { family 150 security/selinux/netnode.c switch (node->nsec.family) { family 190 security/selinux/netnode.c static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) family 197 security/selinux/netnode.c node = sel_netnode_find(addr, family); family 205 security/selinux/netnode.c switch (family) { family 223 security/selinux/netnode.c new->nsec.family = family; family 250 security/selinux/netnode.c int sel_netnode_sid(void *addr, u16 family, u32 *sid) family 255 security/selinux/netnode.c node = sel_netnode_find(addr, family); family 263 security/selinux/netnode.c return sel_netnode_sid_slow(addr, family, sid); family 2243 security/smack/smack_lsm.c static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) family 2463 security/smack/smack_lsm.c ad.a.u.net->family = sap->sin_family; family 2503 security/smack/smack_lsm.c ad.a.u.net->family = PF_INET6; family 2745 security/smack/smack_lsm.c static int smack_socket_post_create(struct socket *sock, int family, family 2762 security/smack/smack_lsm.c if (family != PF_INET) family 3840 security/smack/smack_lsm.c u16 family = sk->sk_family; family 3848 security/smack/smack_lsm.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) family 3849 security/smack/smack_lsm.c family = PF_INET; family 3852 security/smack/smack_lsm.c switch (family) { family 3870 security/smack/smack_lsm.c rc = netlbl_skbuff_getattr(skb, family, &secattr); family 3883 security/smack/smack_lsm.c ad.a.u.net->family = family; family 3897 security/smack/smack_lsm.c netlbl_skbuff_err(skb, family, rc, 0); family 3918 security/smack/smack_lsm.c ad.a.u.net->family = family; family 3990 security/smack/smack_lsm.c int family = PF_UNSPEC; family 3996 security/smack/smack_lsm.c family = PF_INET; family 3999 security/smack/smack_lsm.c family = PF_INET6; family 4002 security/smack/smack_lsm.c if (family == PF_UNSPEC && sock != NULL) family 4003 security/smack/smack_lsm.c family = sock->sk->sk_family; family 4005 security/smack/smack_lsm.c switch (family) { family 4022 security/smack/smack_lsm.c rc = netlbl_skbuff_getattr(skb, family, &secattr); family 4076 security/smack/smack_lsm.c u16 family = sk->sk_family; family 4090 security/smack/smack_lsm.c if (family == PF_INET6) { family 4097 security/smack/smack_lsm.c family = PF_INET; family 4116 security/smack/smack_lsm.c rc = netlbl_skbuff_getattr(skb, family, &secattr); family 4129 security/smack/smack_lsm.c ad.a.u.net->family = family; family 364 security/tomoyo/network.c const char *family, const u8 protocol, family 367 security/tomoyo/network.c return tomoyo_supervisor(r, "network %s %s %s %s\n", family, family 628 security/tomoyo/network.c u8 family; family 632 security/tomoyo/network.c family = sk->sk_family; family 633 security/tomoyo/network.c switch (family) { family 637 security/tomoyo/network.c return family; family 653 security/tomoyo/network.c const u8 family = tomoyo_sock_family(sock->sk); family 658 security/tomoyo/network.c if (!family || (type != SOCK_STREAM && type != SOCK_SEQPACKET)) family 670 security/tomoyo/network.c if (family == PF_UNIX) family 690 security/tomoyo/network.c const u8 family = tomoyo_sock_family(sock->sk); family 693 security/tomoyo/network.c if (!family) family 708 security/tomoyo/network.c if (family == PF_UNIX) family 727 security/tomoyo/network.c const u8 family = tomoyo_sock_family(sock->sk); family 730 security/tomoyo/network.c if (!family) family 743 security/tomoyo/network.c if (family == PF_UNIX) family 762 security/tomoyo/network.c const u8 family = tomoyo_sock_family(sock->sk); family 765 security/tomoyo/network.c if (!msg->msg_name || !family || family 770 security/tomoyo/network.c if (family == PF_UNIX) family 765 tools/hv/hv_kvp_daemon.c int family, char *buffer, family 774 tools/hv/hv_kvp_daemon.c if (family == AF_INET) { family 776 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr->sin_addr, tmp, 50); family 780 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); family 803 tools/hv/hv_kvp_daemon.c kvp_get_ip_info(int family, char *if_name, int op, family 860 tools/hv/hv_kvp_daemon.c if ((((family != 0) && family 861 tools/hv/hv_kvp_daemon.c (curp->ifa_addr->sa_family != family))) || family 2993 tools/include/uapi/linux/bpf.h __u32 family; family 3028 tools/include/uapi/linux/bpf.h __u16 family; family 3062 tools/include/uapi/linux/bpf.h __u32 family; family 3182 tools/include/uapi/linux/bpf.h __u32 family; family 3295 tools/include/uapi/linux/bpf.h __u32 family; /* Allows 4-byte read, but no write */ family 3320 tools/include/uapi/linux/bpf.h __u32 family; family 3494 tools/include/uapi/linux/bpf.h __u8 family; family 902 tools/include/uapi/linux/if_link.h __u8 family; family 141 tools/perf/arch/s390/annotate/instructions.c unsigned int family; family 149 tools/perf/arch/s390/annotate/instructions.c ret = sscanf(cpuid, "%*[^,],%u,%[^,],%[^,],%[^,],%s", &family, model_c, family 152 tools/perf/arch/s390/annotate/instructions.c arch->family = family; family 149 tools/perf/arch/x86/annotate/instructions.c if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) family 176 tools/perf/arch/x86/annotate/instructions.c unsigned int family, model, stepping; family 182 tools/perf/arch/x86/annotate/instructions.c ret = sscanf(cpuid, "%*[^,],%u,%u,%u", &family, &model, &stepping); family 184 tools/perf/arch/x86/annotate/instructions.c arch->family = family; family 30 tools/perf/arch/x86/util/header.c int family = -1, model = -1, step = -1; family 43 tools/perf/arch/x86/util/header.c family = (a >> 8) & 0xf; /* bits 11 - 8 */ family 48 tools/perf/arch/x86/util/header.c if (family == 0xf) family 49 tools/perf/arch/x86/util/header.c family += (a >> 20) & 0xff; family 52 tools/perf/arch/x86/util/header.c if (family >= 0x6) family 55 tools/perf/arch/x86/util/header.c nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); family 924 tools/perf/builtin-trace.c .arg = { [0] = STRARRAY(family, socket_families), family 928 tools/perf/builtin-trace.c .arg = { [0] = STRARRAY(family, socket_families), family 512 tools/perf/tests/code-reading.c unsigned int family; family 517 tools/perf/tests/code-reading.c ret = sscanf(cpuid, "%*[^,],%u,%[^,],%[^,],%[^,],%x", &family, model_c, family 58 tools/perf/trace/beauty/sockaddr.c char family[32]; family 61 tools/perf/trace/beauty/sockaddr.c strarray__scnprintf(&strarray__socket_families, family, sizeof(family), "%d", arg->show_string_prefix, sa->sa_family); family 62 tools/perf/trace/beauty/sockaddr.c printed = scnprintf(bf, size, "{ .family: %s", family); family 85 tools/perf/util/annotate.c unsigned int family; family 1052 tools/perf/util/s390-cpumsf.c int ret, family = 0; family 1054 tools/perf/util/s390-cpumsf.c ret = sscanf(cpuid, "%*[^,],%u", &family); family 1055 tools/perf/util/s390-cpumsf.c return (ret == 1) ? family : 0; family 187 tools/power/cpupower/utils/cpufreq-info.c cpupower_cpu_info.family >= 0x10) || family 189 tools/power/cpupower/utils/cpufreq-info.c ret = decode_pstates(cpu, cpupower_cpu_info.family, b_states, family 42 tools/power/cpupower/utils/helpers/amd.c static int get_did(int family, union msr_pstate pstate) family 46 tools/power/cpupower/utils/helpers/amd.c if (family == 0x12) family 48 tools/power/cpupower/utils/helpers/amd.c else if (family == 0x17 || family == 0x18) family 56 tools/power/cpupower/utils/helpers/amd.c static int get_cof(int family, union msr_pstate pstate) family 61 tools/power/cpupower/utils/helpers/amd.c did = get_did(family, pstate); family 62 tools/power/cpupower/utils/helpers/amd.c if (family == 0x17 || family == 0x18) { family 68 tools/power/cpupower/utils/helpers/amd.c if (family == 0x11) family 57 tools/power/cpupower/utils/helpers/cpuid.c cpu_info->family = unknown; family 86 tools/power/cpupower/utils/helpers/cpuid.c &cpu_info->family); family 96 tools/power/cpupower/utils/helpers/cpuid.c cpu_info->family == unknown || family 148 tools/power/cpupower/utils/helpers/cpuid.c if (cpu_info->family == 6) { family 79 tools/power/cpupower/utils/helpers/helpers.h unsigned int family; family 29 tools/power/cpupower/utils/helpers/misc.c if (cpu_info.family == 0x17 || cpu_info.family == 0x18) { family 283 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c if (cpupower_cpu_info.family == 0x14) family 286 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c else if (cpupower_cpu_info.family == 0x12) family 151 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c || cpupower_cpu_info.family != 6) family 149 tools/power/cpupower/utils/idle_monitor/snb_idle.c || cpupower_cpu_info.family != 6) family 76 tools/power/x86/intel-speed-select/isst-config.c unsigned int fms, family; family 79 tools/power/x86/intel-speed-select/isst-config.c family = (fms >> 8) & 0xf; family 81 tools/power/x86/intel-speed-select/isst-config.c if (family == 6 || family == 0xf) family 94 tools/power/x86/turbostat/turbostat.c double discover_bclk(unsigned int family, unsigned int model); family 2166 tools/power/x86/turbostat/turbostat.c int has_turbo_ratio_group_limits(int family, int model) family 2182 tools/power/x86/turbostat/turbostat.c dump_turbo_ratio_limits(int family, int model) family 2190 tools/power/x86/turbostat/turbostat.c if (has_turbo_ratio_group_limits(family, model)) { family 3224 tools/power/x86/turbostat/turbostat.c int probe_nhm_msrs(unsigned int family, unsigned int model) family 3233 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3236 tools/power/x86/turbostat/turbostat.c bclk = discover_bclk(family, model); family 3303 tools/power/x86/turbostat/turbostat.c int has_slv_msrs(unsigned int family, unsigned int model) family 3316 tools/power/x86/turbostat/turbostat.c int is_dnv(unsigned int family, unsigned int model) family 3328 tools/power/x86/turbostat/turbostat.c int is_bdx(unsigned int family, unsigned int model) family 3340 tools/power/x86/turbostat/turbostat.c int is_skx(unsigned int family, unsigned int model) family 3353 tools/power/x86/turbostat/turbostat.c int has_turbo_ratio_limit(unsigned int family, unsigned int model) family 3355 tools/power/x86/turbostat/turbostat.c if (has_slv_msrs(family, model)) family 3367 tools/power/x86/turbostat/turbostat.c int has_atom_turbo_ratio_limit(unsigned int family, unsigned int model) family 3369 tools/power/x86/turbostat/turbostat.c if (has_slv_msrs(family, model)) family 3374 tools/power/x86/turbostat/turbostat.c int has_ivt_turbo_ratio_limit(unsigned int family, unsigned int model) family 3379 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3390 tools/power/x86/turbostat/turbostat.c int has_hsw_turbo_ratio_limit(unsigned int family, unsigned int model) family 3395 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3406 tools/power/x86/turbostat/turbostat.c int has_knl_turbo_ratio_limit(unsigned int family, unsigned int model) family 3411 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3421 tools/power/x86/turbostat/turbostat.c int has_glm_turbo_ratio_limit(unsigned int family, unsigned int model) family 3426 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3437 tools/power/x86/turbostat/turbostat.c int has_config_tdp(unsigned int family, unsigned int model) family 3442 tools/power/x86/turbostat/turbostat.c if (family != 6) family 3466 tools/power/x86/turbostat/turbostat.c dump_cstate_pstate_config_info(unsigned int family, unsigned int model) family 3473 tools/power/x86/turbostat/turbostat.c if (has_hsw_turbo_ratio_limit(family, model)) family 3476 tools/power/x86/turbostat/turbostat.c if (has_ivt_turbo_ratio_limit(family, model)) family 3479 tools/power/x86/turbostat/turbostat.c if (has_turbo_ratio_limit(family, model)) family 3480 tools/power/x86/turbostat/turbostat.c dump_turbo_ratio_limits(family, model); family 3482 tools/power/x86/turbostat/turbostat.c if (has_atom_turbo_ratio_limit(family, model)) family 3485 tools/power/x86/turbostat/turbostat.c if (has_knl_turbo_ratio_limit(family, model)) family 3488 tools/power/x86/turbostat/turbostat.c if (has_config_tdp(family, model)) family 3844 tools/power/x86/turbostat/turbostat.c double get_tdp_amd(unsigned int family) family 3846 tools/power/x86/turbostat/turbostat.c switch (family) { family 3874 tools/power/x86/turbostat/turbostat.c void rapl_probe_intel(unsigned int family, unsigned int model) family 3880 tools/power/x86/turbostat/turbostat.c if (family != 6) family 4011 tools/power/x86/turbostat/turbostat.c void rapl_probe_amd(unsigned int family, unsigned int model) family 4027 tools/power/x86/turbostat/turbostat.c switch (family) { family 4050 tools/power/x86/turbostat/turbostat.c tdp = get_tdp_amd(family); family 4062 tools/power/x86/turbostat/turbostat.c void rapl_probe(unsigned int family, unsigned int model) family 4065 tools/power/x86/turbostat/turbostat.c rapl_probe_intel(family, model); family 4067 tools/power/x86/turbostat/turbostat.c rapl_probe_amd(family, model); family 4070 tools/power/x86/turbostat/turbostat.c void perf_limit_reasons_probe(unsigned int family, unsigned int model) family 4075 tools/power/x86/turbostat/turbostat.c if (family != 6) family 4091 tools/power/x86/turbostat/turbostat.c void automatic_cstate_conversion_probe(unsigned int family, unsigned int model) family 4093 tools/power/x86/turbostat/turbostat.c if (is_skx(family, model) || is_bdx(family, model)) family 4288 tools/power/x86/turbostat/turbostat.c int has_snb_msrs(unsigned int family, unsigned int model) family 4328 tools/power/x86/turbostat/turbostat.c int has_c8910_msrs(unsigned int family, unsigned int model) family 4353 tools/power/x86/turbostat/turbostat.c int has_skl_msrs(unsigned int family, unsigned int model) family 4366 tools/power/x86/turbostat/turbostat.c int is_slm(unsigned int family, unsigned int model) family 4378 tools/power/x86/turbostat/turbostat.c int is_knl(unsigned int family, unsigned int model) family 4389 tools/power/x86/turbostat/turbostat.c int is_cnl(unsigned int family, unsigned int model) family 4402 tools/power/x86/turbostat/turbostat.c unsigned int get_aperf_mperf_multiplier(unsigned int family, unsigned int model) family 4404 tools/power/x86/turbostat/turbostat.c if (is_knl(family, model)) family 4434 tools/power/x86/turbostat/turbostat.c double discover_bclk(unsigned int family, unsigned int model) family 4436 tools/power/x86/turbostat/turbostat.c if (has_snb_msrs(family, model) || is_knl(family, model)) family 4438 tools/power/x86/turbostat/turbostat.c else if (is_slm(family, model)) family 4640 tools/power/x86/turbostat/turbostat.c unsigned int fms, family, model, stepping, ecx_flags, edx_flags; family 4659 tools/power/x86/turbostat/turbostat.c family = (fms >> 8) & 0xf; family 4662 tools/power/x86/turbostat/turbostat.c if (family == 0xf) family 4663 tools/power/x86/turbostat/turbostat.c family += (fms >> 20) & 0xff; family 4664 tools/power/x86/turbostat/turbostat.c if (family >= 6) family 4679 tools/power/x86/turbostat/turbostat.c max_level, max_extended_level, family, model, stepping, family, model, stepping); family 4821 tools/power/x86/turbostat/turbostat.c aperf_mperf_multiplier = get_aperf_mperf_multiplier(family, model); family 4826 tools/power/x86/turbostat/turbostat.c if (probe_nhm_msrs(family, model)) { family 4833 tools/power/x86/turbostat/turbostat.c do_snb_cstates = has_snb_msrs(family, model); family 4838 tools/power/x86/turbostat/turbostat.c do_irtl_snb = has_snb_msrs(family, model); family 4847 tools/power/x86/turbostat/turbostat.c if (has_slv_msrs(family, model)) { family 4855 tools/power/x86/turbostat/turbostat.c if (is_dnv(family, model)) { family 4863 tools/power/x86/turbostat/turbostat.c if (is_skx(family, model)) { family 4869 tools/power/x86/turbostat/turbostat.c if (is_bdx(family, model)) { family 4873 tools/power/x86/turbostat/turbostat.c if (has_c8910_msrs(family, model)) { family 4878 tools/power/x86/turbostat/turbostat.c do_irtl_hsw = has_c8910_msrs(family, model); family 4879 tools/power/x86/turbostat/turbostat.c if (has_skl_msrs(family, model)) { family 4885 tools/power/x86/turbostat/turbostat.c do_slm_cstates = is_slm(family, model); family 4886 tools/power/x86/turbostat/turbostat.c do_knl_cstates = is_knl(family, model); family 4888 tools/power/x86/turbostat/turbostat.c if (do_slm_cstates || do_knl_cstates || is_cnl(family, model)) family 4894 tools/power/x86/turbostat/turbostat.c if (!quiet && has_slv_msrs(family, model)) family 4897 tools/power/x86/turbostat/turbostat.c rapl_probe(family, model); family 4898 tools/power/x86/turbostat/turbostat.c perf_limit_reasons_probe(family, model); family 4899 tools/power/x86/turbostat/turbostat.c automatic_cstate_conversion_probe(family, model); family 4902 tools/power/x86/turbostat/turbostat.c dump_cstate_pstate_config_info(family, model); family 4909 tools/power/x86/turbostat/turbostat.c if (has_skl_msrs(family, model)) family 1279 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int fms, family, model; family 1282 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c family = (fms >> 8) & 0xf; family 1284 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (family == 6 || family == 0xf) family 1309 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c unsigned int fms, family, model, stepping; family 1323 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c family = (fms >> 8) & 0xf; family 1326 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (family == 6 || family == 0xf) family 1331 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c max_level, family, model, stepping, family, model, stepping); family 1221 tools/testing/nvdimm/test/nfit.c if (call_pkg->nd_family != nfit_mem->family) family 2752 tools/testing/nvdimm/test/nfit.c .family = NVDIMM_FAMILY_INTEL, family 6 tools/testing/selftests/bpf/prog_tests/xdp.c struct vip key4 = {.protocol = 6, .family = AF_INET}; family 7 tools/testing/selftests/bpf/prog_tests/xdp.c struct vip key6 = {.protocol = 6, .family = AF_INET6}; family 8 tools/testing/selftests/bpf/prog_tests/xdp.c struct iptnl_info value4 = {.family = AF_INET}; family 9 tools/testing/selftests/bpf/prog_tests/xdp.c struct iptnl_info value6 = {.family = AF_INET6}; family 27 tools/testing/selftests/bpf/progs/socket_cookie_prog.c if (ctx->family != AF_INET6 || ctx->user_family != AF_INET6) family 47 tools/testing/selftests/bpf/progs/socket_cookie_prog.c if (ctx->family != AF_INET6) family 98 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c __u32 family = 0; family 103 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c family = sk->family; family 105 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c return family; family 113 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c __u32 family; family 128 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c __u32 family; family 86 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c dst->family = src->family; family 157 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c if (!sk || sk->family != AF_INET6 || sk->protocol != IPPROTO_TCP || family 226 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c if (!sk || sk->family != AF_INET6 || !is_loopback6(sk->src_ip6)) family 96 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c if (skops->family == AF_INET6) { family 103 tools/testing/selftests/bpf/progs/test_xdp.c vip.family = AF_INET; family 110 tools/testing/selftests/bpf/progs/test_xdp.c if (!tnl || tnl->family != AF_INET) family 173 tools/testing/selftests/bpf/progs/test_xdp.c vip.family = AF_INET6; family 180 tools/testing/selftests/bpf/progs/test_xdp.c if (!tnl || tnl->family != AF_INET6) family 99 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.family = AF_INET; family 106 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (!tnl || tnl->family != AF_INET) family 169 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.family = AF_INET6; family 176 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (!tnl || tnl->family != AF_INET6) family 140 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u16 family; family 237 tools/testing/selftests/bpf/test_flow_dissector.c uint16_t dport, int family) family 246 tools/testing/selftests/bpf/test_flow_dissector.c if (family == AF_INET) family 268 tools/testing/selftests/bpf/test_flow_dissector.c static int l3_length(int family) family 270 tools/testing/selftests/bpf/test_flow_dissector.c if (family == AF_INET) family 396 tools/testing/selftests/bpf/test_flow_dissector.c int family, fd, ret; family 399 tools/testing/selftests/bpf/test_flow_dissector.c family = cfg_l3_extra; family 401 tools/testing/selftests/bpf/test_flow_dissector.c family = cfg_l3_outer; family 403 tools/testing/selftests/bpf/test_flow_dissector.c family = cfg_l3_inner; family 405 tools/testing/selftests/bpf/test_flow_dissector.c fd = socket(family, SOCK_RAW, IPPROTO_RAW); family 591 tools/testing/selftests/bpf/test_flow_dissector.c static void parse_addr(int family, void *addr, const char *optarg) family 595 tools/testing/selftests/bpf/test_flow_dissector.c ret = inet_pton(family, optarg, addr); family 17 tools/testing/selftests/bpf/test_iptunnel_common.h __u16 family; family 30 tools/testing/selftests/bpf/test_iptunnel_common.h __u16 family; family 46 tools/testing/selftests/bpf/test_select_reuseport.c sa_family_t family; family 140 tools/testing/selftests/bpf/test_select_reuseport.c static void sa46_init_loopback(union sa46 *sa, sa_family_t family) family 143 tools/testing/selftests/bpf/test_select_reuseport.c sa->family = family; family 144 tools/testing/selftests/bpf/test_select_reuseport.c if (sa->family == AF_INET6) family 150 tools/testing/selftests/bpf/test_select_reuseport.c static void sa46_init_inany(union sa46 *sa, sa_family_t family) family 153 tools/testing/selftests/bpf/test_select_reuseport.c sa->family = family; family 154 tools/testing/selftests/bpf/test_select_reuseport.c if (sa->family == AF_INET6) family 229 tools/testing/selftests/bpf/test_select_reuseport.c static void check_data(int type, sa_family_t family, const struct cmd *cmd, family 255 tools/testing/selftests/bpf/test_select_reuseport.c if (family == AF_INET6) { family 346 tools/testing/selftests/bpf/test_select_reuseport.c static int send_data(int type, sa_family_t family, void *data, size_t len, family 352 tools/testing/selftests/bpf/test_select_reuseport.c fd = socket(family, type, 0); family 355 tools/testing/selftests/bpf/test_select_reuseport.c sa46_init_loopback(&cli_sa, family); family 363 tools/testing/selftests/bpf/test_select_reuseport.c family, err, errno, expected); family 368 tools/testing/selftests/bpf/test_select_reuseport.c static void do_test(int type, sa_family_t family, struct cmd *cmd, family 376 tools/testing/selftests/bpf/test_select_reuseport.c cli_fd = send_data(type, family, cmd, cmd ? sizeof(*cmd) : 0, family 383 tools/testing/selftests/bpf/test_select_reuseport.c nev, expected, type, family, family 387 tools/testing/selftests/bpf/test_select_reuseport.c check_data(type, family, cmd, cli_fd); family 424 tools/testing/selftests/bpf/test_select_reuseport.c static void test_err_inner_map(int type, sa_family_t family) family 433 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, &cmd, DROP_ERR_INNER_MAP); family 437 tools/testing/selftests/bpf/test_select_reuseport.c static void test_err_skb_data(int type, sa_family_t family) family 441 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, NULL, DROP_ERR_SKB_DATA); family 445 tools/testing/selftests/bpf/test_select_reuseport.c static void test_err_sk_select_port(int type, sa_family_t family) family 454 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, &cmd, DROP_ERR_SK_SELECT_REUSEPORT); family 458 tools/testing/selftests/bpf/test_select_reuseport.c static void test_pass(int type, sa_family_t family) family 468 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, &cmd, PASS); family 473 tools/testing/selftests/bpf/test_select_reuseport.c static void test_syncookie(int type, sa_family_t family) family 502 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, &cmd, PASS); family 513 tools/testing/selftests/bpf/test_select_reuseport.c static void test_pass_on_err(int type, sa_family_t family) family 522 tools/testing/selftests/bpf/test_select_reuseport.c do_test(type, family, &cmd, PASS_ERR_SK_SELECT_REUSEPORT); family 526 tools/testing/selftests/bpf/test_select_reuseport.c static void test_detach_bpf(int type, sa_family_t family) family 553 tools/testing/selftests/bpf/test_select_reuseport.c cli_fd = send_data(type, family, &cmd, sizeof(cmd), PASS); family 557 tools/testing/selftests/bpf/test_select_reuseport.c nev, type, family); family 578 tools/testing/selftests/bpf/test_select_reuseport.c static void prepare_sk_fds(int type, sa_family_t family, bool inany) family 586 tools/testing/selftests/bpf/test_select_reuseport.c sa46_init_inany(&srv_sa, family); family 588 tools/testing/selftests/bpf/test_select_reuseport.c sa46_init_loopback(&srv_sa, family); family 596 tools/testing/selftests/bpf/test_select_reuseport.c sk_fds[i] = socket(family, type, 0); family 652 tools/testing/selftests/bpf/test_select_reuseport.c static void setup_per_test(int type, unsigned short family, bool inany) family 656 tools/testing/selftests/bpf/test_select_reuseport.c prepare_sk_fds(type, family, inany); family 706 tools/testing/selftests/bpf/test_select_reuseport.c unsigned short family = families[f]; family 716 tools/testing/selftests/bpf/test_select_reuseport.c setup_per_test(type, family, inany); family 718 tools/testing/selftests/bpf/test_select_reuseport.c test_err_inner_map(type, family); family 726 tools/testing/selftests/bpf/test_select_reuseport.c test_err_skb_data(type, family); family 727 tools/testing/selftests/bpf/test_select_reuseport.c test_err_sk_select_port(type, family); family 728 tools/testing/selftests/bpf/test_select_reuseport.c test_pass(type, family); family 729 tools/testing/selftests/bpf/test_select_reuseport.c test_syncookie(type, family); family 730 tools/testing/selftests/bpf/test_select_reuseport.c test_pass_on_err(type, family); family 732 tools/testing/selftests/bpf/test_select_reuseport.c test_detach_bpf(type, family); family 698 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 783 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 911 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 957 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 1010 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 1061 tools/testing/selftests/bpf/test_sock_addr.c offsetof(struct bpf_sock_addr, family)), family 95 tools/testing/selftests/bpf/test_sock_fields.c sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, family 185 tools/testing/selftests/bpf/test_sock_fields.c listen_sk.family != AF_INET6 || family 199 tools/testing/selftests/bpf/test_sock_fields.c srv_sk.family != AF_INET6 || family 212 tools/testing/selftests/bpf/test_sock_fields.c cli_sk.family != AF_INET6 || family 92 tools/testing/selftests/bpf/verifier/cgroup_skb.c offsetof(struct __sk_buff, family)), family 5 tools/testing/selftests/bpf/verifier/ctx_sk_msg.c offsetof(struct sk_msg_md, family)), family 120 tools/testing/selftests/bpf/verifier/ctx_sk_msg.c offsetof(struct sk_msg_md, family) + 1), family 111 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, family)), family 181 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, family)), family 20 tools/testing/selftests/bpf/verifier/sock.c BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, family)), family 98 tools/testing/selftests/bpf/verifier/sock.c BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, family)), family 1413 tools/testing/selftests/net/nettest.c int family = args->version; family 1451 tools/testing/selftests/net/nettest.c switch (family) { family 29 tools/testing/selftests/net/reuseaddr_conflict.c int family = ipv6 ? AF_INET6 : AF_INET; family 51 tools/testing/selftests/net/reuseaddr_conflict.c if ((fd = socket(family, SOCK_STREAM, IPPROTO_TCP)) < 0) { family 34 tools/testing/selftests/net/reuseport_addr_any.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count, family 44 tools/testing/selftests/net/reuseport_addr_any.c switch (family) { family 46 tools/testing/selftests/net/reuseport_addr_any.c addr4.sin_family = family; family 49 tools/testing/selftests/net/reuseport_addr_any.c else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) family 59 tools/testing/selftests/net/reuseport_addr_any.c else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) family 66 tools/testing/selftests/net/reuseport_addr_any.c error(1, 0, "Unsupported family %d", family); family 75 tools/testing/selftests/net/reuseport_addr_any.c rcv_fds[i] = socket(family, proto, 0); family 101 tools/testing/selftests/net/reuseport_addr_any.c static int connect_and_send(int family, int proto) family 110 tools/testing/selftests/net/reuseport_addr_any.c switch (family) { family 117 tools/testing/selftests/net/reuseport_addr_any.c if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) family 130 tools/testing/selftests/net/reuseport_addr_any.c if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) family 139 tools/testing/selftests/net/reuseport_addr_any.c error(1, 0, "Unsupported family %d", family); family 147 tools/testing/selftests/net/reuseport_addr_any.c fd = socket(family, proto, 0); family 194 tools/testing/selftests/net/reuseport_addr_any.c static void test(int *rcv_fds, int count, int family, int proto, int fd) family 210 tools/testing/selftests/net/reuseport_addr_any.c send_fd = connect_and_send(family, proto); family 45 tools/testing/selftests/net/reuseport_bpf.c static struct sockaddr *new_any_sockaddr(int family, uint16_t port) family 54 tools/testing/selftests/net/reuseport_bpf.c switch (family) { family 68 tools/testing/selftests/net/reuseport_bpf.c error(1, 0, "Unsupported family %d", family); family 73 tools/testing/selftests/net/reuseport_bpf.c static struct sockaddr *new_loopback_sockaddr(int family, uint16_t port) family 75 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr *addr = new_any_sockaddr(family, port); family 79 tools/testing/selftests/net/reuseport_bpf.c switch (family) { family 89 tools/testing/selftests/net/reuseport_bpf.c error(1, 0, "Unsupported family %d", family); family 34 tools/testing/selftests/net/reuseport_bpf_cpu.c static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) family 42 tools/testing/selftests/net/reuseport_bpf_cpu.c switch (family) { family 56 tools/testing/selftests/net/reuseport_bpf_cpu.c error(1, 0, "Unsupported family %d", family); family 60 tools/testing/selftests/net/reuseport_bpf_cpu.c rcv_fd[i] = socket(family, proto, 0); family 94 tools/testing/selftests/net/reuseport_bpf_cpu.c static void send_from_cpu(int cpu_id, int family, int proto) family 102 tools/testing/selftests/net/reuseport_bpf_cpu.c switch (family) { family 126 tools/testing/selftests/net/reuseport_bpf_cpu.c error(1, 0, "Unsupported family %d", family); family 134 tools/testing/selftests/net/reuseport_bpf_cpu.c fd = socket(family, proto, 0); family 184 tools/testing/selftests/net/reuseport_bpf_cpu.c static void test(int *rcv_fd, int len, int family, int proto) family 189 tools/testing/selftests/net/reuseport_bpf_cpu.c build_rcv_group(rcv_fd, len, family, proto); family 204 tools/testing/selftests/net/reuseport_bpf_cpu.c send_from_cpu(cpu, family, proto); family 210 tools/testing/selftests/net/reuseport_bpf_cpu.c send_from_cpu(cpu, family, proto); family 216 tools/testing/selftests/net/reuseport_bpf_cpu.c send_from_cpu(cpu, family, proto); family 222 tools/testing/selftests/net/reuseport_bpf_cpu.c send_from_cpu(cpu, family, proto); family 30 tools/testing/selftests/net/reuseport_bpf_numa.c static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) family 38 tools/testing/selftests/net/reuseport_bpf_numa.c switch (family) { family 52 tools/testing/selftests/net/reuseport_bpf_numa.c error(1, 0, "Unsupported family %d", family); family 56 tools/testing/selftests/net/reuseport_bpf_numa.c rcv_fd[i] = socket(family, proto, 0); family 107 tools/testing/selftests/net/reuseport_bpf_numa.c static void send_from_node(int node_id, int family, int proto) family 114 tools/testing/selftests/net/reuseport_bpf_numa.c switch (family) { family 138 tools/testing/selftests/net/reuseport_bpf_numa.c error(1, 0, "Unsupported family %d", family); family 144 tools/testing/selftests/net/reuseport_bpf_numa.c fd = socket(family, proto, 0); family 194 tools/testing/selftests/net/reuseport_bpf_numa.c static void test(int *rcv_fd, int len, int family, int proto) family 199 tools/testing/selftests/net/reuseport_bpf_numa.c build_rcv_group(rcv_fd, len, family, proto); family 214 tools/testing/selftests/net/reuseport_bpf_numa.c send_from_node(node, family, proto); family 220 tools/testing/selftests/net/reuseport_bpf_numa.c send_from_node(node, family, proto); family 31 tools/testing/selftests/net/reuseport_dualstack.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count) family 38 tools/testing/selftests/net/reuseport_dualstack.c switch (family) { family 52 tools/testing/selftests/net/reuseport_dualstack.c error(1, 0, "Unsupported family %d", family); family 56 tools/testing/selftests/net/reuseport_dualstack.c rcv_fds[i] = socket(family, proto, 0); family 91 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void build_rcv_fd(int family, int proto, int *rcv_fds) family 100 tools/testing/selftests/net/tcp_fastopen_backup_key.c switch (family) { family 102 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr4.sin_family = family; family 116 tools/testing/selftests/net/tcp_fastopen_backup_key.c error(1, 0, "Unsupported family %d", family); family 126 tools/testing/selftests/net/tcp_fastopen_backup_key.c rcv_fds[i] = socket(family, proto, 0); family 143 tools/testing/selftests/net/tcp_fastopen_backup_key.c static int connect_and_send(int family, int proto) family 153 tools/testing/selftests/net/tcp_fastopen_backup_key.c switch (family) { family 160 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) family 173 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) family 182 tools/testing/selftests/net/tcp_fastopen_backup_key.c error(1, 0, "Unsupported family %d", family); family 189 tools/testing/selftests/net/tcp_fastopen_backup_key.c fd = socket(family, proto, 0); family 242 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void run_one_test(int family) family 252 tools/testing/selftests/net/tcp_fastopen_backup_key.c build_rcv_fd(family, SOCK_STREAM, rcv_fds); family 263 tools/testing/selftests/net/tcp_fastopen_backup_key.c send_fd = connect_and_send(family, SOCK_STREAM); family 32 tools/testing/selftests/net/tcp_inq.c static int family = AF_INET6; family 36 tools/testing/selftests/net/tcp_inq.c static void setup_loopback_addr(int family, struct sockaddr_storage *sockaddr) family 41 tools/testing/selftests/net/tcp_inq.c switch (family) { family 111 tools/testing/selftests/net/tcp_inq.c family = PF_INET; family 115 tools/testing/selftests/net/tcp_inq.c family = PF_INET6; family 124 tools/testing/selftests/net/tcp_inq.c server_fd = socket(family, SOCK_STREAM, 0); family 127 tools/testing/selftests/net/tcp_inq.c setup_loopback_addr(family, &listen_addr); family 140 tools/testing/selftests/net/tcp_inq.c fd = socket(family, SOCK_STREAM, 0); family 143 tools/testing/selftests/net/tcp_inq.c setup_loopback_addr(family, &addr); family 191 tools/testing/selftests/networking/timestamping/txtimestamp.c static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) family 197 tools/testing/selftests/networking/timestamping/txtimestamp.c saddr ? inet_ntop(family, saddr, sa, sizeof(sa)) : "unknown", family 198 tools/testing/selftests/networking/timestamping/txtimestamp.c daddr ? inet_ntop(family, daddr, da, sizeof(da)) : "unknown"); family 385 tools/testing/selftests/networking/timestamping/txtimestamp.c static void do_test(int family, unsigned int report_opt) family 400 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) family 416 tools/testing/selftests/networking/timestamping/txtimestamp.c fd = socket(cfg_use_pf_packet ? PF_PACKET : family, family 429 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) { family 439 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == AF_INET6) { family 472 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) family 478 tools/testing/selftests/networking/timestamping/txtimestamp.c fill_header_udp(buf + off, family == PF_INET); family 492 tools/testing/selftests/networking/timestamping/txtimestamp.c laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); family 497 tools/testing/selftests/networking/timestamping/txtimestamp.c } else if (family == PF_INET) { family 697 tools/testing/selftests/networking/timestamping/txtimestamp.c static void do_listen(int family, void *addr, int alen) family 703 tools/testing/selftests/networking/timestamping/txtimestamp.c fd = socket(family, type, 0); family 718 tools/testing/selftests/networking/timestamping/txtimestamp.c static void do_main(int family) family 721 tools/testing/selftests/networking/timestamping/txtimestamp.c family == PF_INET ? "INET" : "INET6", family 725 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE); family 728 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_SCHED); family 731 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_SCHED | family 736 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_ACK); family 739 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE | family 743 tools/testing/selftests/networking/timestamping/txtimestamp.c do_test(family, SOF_TIMESTAMPING_TX_SCHED | family 495 tools/usb/usbip/src/usbipd.c int nsockfd, family; family 524 tools/usb/usbip/src/usbipd.c family = AF_UNSPEC; family 526 tools/usb/usbip/src/usbipd.c family = AF_INET; family 528 tools/usb/usbip/src/usbipd.c family = AF_INET6; family 530 tools/usb/usbip/src/usbipd.c ai_head = do_getaddrinfo(NULL, family);