profile 225 block/bio-integrity.c if (!bi->profile->verify_fn || profile 229 block/bio-integrity.c if (!bi->profile->generate_fn || profile 297 block/bio-integrity.c bi->profile->generate_fn); profile 332 block/bio-integrity.c bi->profile->verify_fn); profile 354 block/bio-integrity.c (bip->bip_flags & BIP_BLOCK_INTEGRITY) && bi->profile->verify_fn) { profile 1443 block/blk-core.c req->q->integrity.profile->complete_fn(req, nr_bytes); profile 126 block/blk-integrity.c if (!b1->profile && !b2->profile) profile 129 block/blk-integrity.c if (!b1->profile || !b2->profile) profile 153 block/blk-integrity.c if (b1->profile != b2->profile) { profile 156 block/blk-integrity.c b1->profile->name, b2->profile->name); profile 252 block/blk-integrity.c if (bi->profile && bi->profile->name) profile 253 block/blk-integrity.c return sprintf(page, "%s\n", bi->profile->name); profile 407 block/blk-integrity.c bi->profile = template->profile ? template->profile : &nop_profile; profile 707 block/blk-mq.c q->integrity.profile->prepare_fn(rq); profile 416 drivers/auxdisplay/panel.c static int profile = DEFAULT_PROFILE; profile 417 drivers/auxdisplay/panel.c module_param(profile, int, 0000); profile 418 drivers/auxdisplay/panel.c MODULE_PARM_DESC(profile, profile 1675 drivers/auxdisplay/panel.c switch (profile) { profile 110 drivers/devfreq/devfreq.c for (lev = 0; lev < devfreq->profile->max_state; lev++) profile 111 drivers/devfreq/devfreq.c if (freq == devfreq->profile->freq_table[lev]) profile 119 drivers/devfreq/devfreq.c struct devfreq_dev_profile *profile = devfreq->profile; profile 129 drivers/devfreq/devfreq.c profile->max_state = count; profile 130 drivers/devfreq/devfreq.c profile->freq_table = devm_kcalloc(devfreq->dev.parent, profile 131 drivers/devfreq/devfreq.c profile->max_state, profile 132 drivers/devfreq/devfreq.c sizeof(*profile->freq_table), profile 134 drivers/devfreq/devfreq.c if (!profile->freq_table) { profile 135 drivers/devfreq/devfreq.c profile->max_state = 0; profile 139 drivers/devfreq/devfreq.c for (i = 0, freq = 0; i < profile->max_state; i++, freq++) { profile 142 drivers/devfreq/devfreq.c devm_kfree(devfreq->dev.parent, profile->freq_table); profile 143 drivers/devfreq/devfreq.c profile->max_state = 0; profile 147 drivers/devfreq/devfreq.c profile->freq_table[i] = freq; profile 187 drivers/devfreq/devfreq.c devfreq->profile->max_state) + lev]++; profile 296 drivers/devfreq/devfreq.c if (devfreq->profile->get_cur_freq) profile 297 drivers/devfreq/devfreq.c devfreq->profile->get_cur_freq(devfreq->dev.parent, &cur_freq); profile 305 drivers/devfreq/devfreq.c err = devfreq->profile->target(devfreq->dev.parent, &new_freq, flags); profile 396 drivers/devfreq/devfreq.c msecs_to_jiffies(devfreq->profile->polling_ms)); profile 414 drivers/devfreq/devfreq.c if (devfreq->profile->polling_ms) profile 416 drivers/devfreq/devfreq.c msecs_to_jiffies(devfreq->profile->polling_ms)); profile 478 drivers/devfreq/devfreq.c devfreq->profile->polling_ms) profile 480 drivers/devfreq/devfreq.c msecs_to_jiffies(devfreq->profile->polling_ms)); profile 485 drivers/devfreq/devfreq.c if (devfreq->profile->get_cur_freq && profile 486 drivers/devfreq/devfreq.c !devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq)) profile 504 drivers/devfreq/devfreq.c unsigned int cur_delay = devfreq->profile->polling_ms; profile 508 drivers/devfreq/devfreq.c devfreq->profile->polling_ms = new_delay; profile 523 drivers/devfreq/devfreq.c msecs_to_jiffies(devfreq->profile->polling_ms)); profile 534 drivers/devfreq/devfreq.c msecs_to_jiffies(devfreq->profile->polling_ms)); profile 594 drivers/devfreq/devfreq.c if (devfreq->profile->exit) profile 595 drivers/devfreq/devfreq.c devfreq->profile->exit(devfreq->dev.parent); profile 610 drivers/devfreq/devfreq.c struct devfreq_dev_profile *profile, profile 618 drivers/devfreq/devfreq.c if (!dev || !profile || !governor_name) { profile 645 drivers/devfreq/devfreq.c devfreq->profile = profile; profile 647 drivers/devfreq/devfreq.c devfreq->previous_freq = profile->initial_freq; profile 648 drivers/devfreq/devfreq.c devfreq->last_status.current_frequency = profile->initial_freq; profile 652 drivers/devfreq/devfreq.c if (!devfreq->profile->max_state && !devfreq->profile->freq_table) { profile 689 drivers/devfreq/devfreq.c devfreq->profile->max_state, profile 690 drivers/devfreq/devfreq.c devfreq->profile->max_state), profile 699 drivers/devfreq/devfreq.c devfreq->profile->max_state, profile 799 drivers/devfreq/devfreq.c struct devfreq_dev_profile *profile, profile 809 drivers/devfreq/devfreq.c devfreq = devfreq_add_device(dev, profile, governor_name, data); profile 1245 drivers/devfreq/devfreq.c if (devfreq->profile->get_cur_freq && profile 1246 drivers/devfreq/devfreq.c !devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq)) profile 1263 drivers/devfreq/devfreq.c return sprintf(buf, "%d\n", to_devfreq(dev)->profile->polling_ms); profile 1307 drivers/devfreq/devfreq.c unsigned long *freq_table = df->profile->freq_table; profile 1310 drivers/devfreq/devfreq.c if (freq_table[0] < freq_table[df->profile->max_state - 1]) profile 1313 drivers/devfreq/devfreq.c value = freq_table[df->profile->max_state - 1]; profile 1351 drivers/devfreq/devfreq.c unsigned long *freq_table = df->profile->freq_table; profile 1354 drivers/devfreq/devfreq.c if (freq_table[0] < freq_table[df->profile->max_state - 1]) profile 1355 drivers/devfreq/devfreq.c value = freq_table[df->profile->max_state - 1]; profile 1388 drivers/devfreq/devfreq.c for (i = 0; i < df->profile->max_state; i++) profile 1390 drivers/devfreq/devfreq.c "%lu ", df->profile->freq_table[i]); profile 1409 drivers/devfreq/devfreq.c unsigned int max_state = devfreq->profile->max_state; profile 1426 drivers/devfreq/devfreq.c devfreq->profile->freq_table[i]); profile 1431 drivers/devfreq/devfreq.c if (devfreq->profile->freq_table[i] profile 1438 drivers/devfreq/devfreq.c devfreq->profile->freq_table[i]); profile 294 drivers/devfreq/exynos-bus.c struct devfreq_dev_profile *profile; profile 315 drivers/devfreq/exynos-bus.c profile = devm_kzalloc(dev, sizeof(*profile), GFP_KERNEL); profile 316 drivers/devfreq/exynos-bus.c if (!profile) profile 338 drivers/devfreq/exynos-bus.c profile->polling_ms = 50; profile 339 drivers/devfreq/exynos-bus.c profile->target = exynos_bus_target; profile 340 drivers/devfreq/exynos-bus.c profile->get_dev_status = exynos_bus_get_dev_status; profile 341 drivers/devfreq/exynos-bus.c profile->exit = exynos_bus_exit; profile 352 drivers/devfreq/exynos-bus.c bus->devfreq = devm_devfreq_add_device(dev, profile, profile 387 drivers/devfreq/exynos-bus.c profile->target = exynos_bus_target; profile 388 drivers/devfreq/exynos-bus.c profile->exit = exynos_bus_passive_exit; profile 405 drivers/devfreq/exynos-bus.c bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE, profile 415 drivers/devfreq/exynos-bus.c max_state = bus->devfreq->profile->max_state; profile 416 drivers/devfreq/exynos-bus.c min_freq = (bus->devfreq->profile->freq_table[0] / 1000); profile 417 drivers/devfreq/exynos-bus.c max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000); profile 71 drivers/devfreq/governor.h return df->profile->get_dev_status(df->dev.parent, &df->last_status); profile 50 drivers/devfreq/governor_passive.c if (!devfreq->profile || !devfreq->profile->freq_table profile 51 drivers/devfreq/governor_passive.c || devfreq->profile->max_state <= 0) profile 71 drivers/devfreq/governor_passive.c for (i = 0; i < parent_devfreq->profile->max_state; i++) profile 72 drivers/devfreq/governor_passive.c if (parent_devfreq->profile->freq_table[i] == *freq) profile 75 drivers/devfreq/governor_passive.c if (i == parent_devfreq->profile->max_state) { profile 81 drivers/devfreq/governor_passive.c if (i < devfreq->profile->max_state) { profile 82 drivers/devfreq/governor_passive.c child_freq = devfreq->profile->freq_table[i]; profile 84 drivers/devfreq/governor_passive.c count = devfreq->profile->max_state; profile 85 drivers/devfreq/governor_passive.c child_freq = devfreq->profile->freq_table[count - 1]; profile 108 drivers/devfreq/governor_passive.c ret = devfreq->profile->target(devfreq->dev.parent, &freq, 0); profile 112 drivers/devfreq/governor_passive.c if (devfreq->profile->freq_table profile 1273 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ATOM_ASIC_PROFILING_INFO_V2_1 *profile; profile 1283 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c profile = (ATOM_ASIC_PROFILING_INFO_V2_1 *) profile 1296 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(profile->usLeakageBinArrayOffset)); profile 1299 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(profile->usElbVDDC_IdArrayOffset)); profile 1302 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(profile->usElbVDDC_LevelArrayOffset)); profile 1305 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(profile->usElbVDDCI_IdArrayOffset)); profile 1308 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c le16_to_cpu(profile->usElbVDDCI_LevelArrayOffset)); profile 1310 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (profile->ucElbVDDC_Num > 0) { profile 1311 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c for (i = 0; i < profile->ucElbVDDC_Num; i++) { profile 1313 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 1315 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *vddc = vddc_buf[j * profile->ucElbVDDC_Num + i]; profile 1323 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (profile->ucElbVDDCI_Num > 0) { profile 1324 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c for (i = 0; i < profile->ucElbVDDCI_Num; i++) { profile 1326 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 1328 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *vddci = vddci_buf[j * profile->ucElbVDDCI_Num + i]; profile 268 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER_PROFILE profile) profile 272 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (profile > PP_SMC_POWER_PROFILE_CUSTOM) profile 275 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_workload_map[profile]; profile 277 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c pr_warn("Unsupported SMU power source: %d\n", profile); profile 1390 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c ATOM_ASIC_PROFILING_INFO_V3_6 *profile = NULL; profile 1395 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c profile = (ATOM_ASIC_PROFILING_INFO_V3_6 *) profile 1399 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (!profile) profile 1402 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant0 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant0); profile 1403 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant1 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant1); profile 1404 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant2 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant2); profile 1405 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_DC_tol_sigma = le16_to_cpu(profile->usAVFS_meanNsigma_DC_tol_sigma); profile 1406 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_Platform_mean = le16_to_cpu(profile->usAVFS_meanNsigma_Platform_mean); profile 1407 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_Platform_sigma = le16_to_cpu(profile->usAVFS_meanNsigma_Platform_sigma); profile 1408 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a0 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a0); profile 1409 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a1 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a1); profile 1410 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a2 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a2); profile 1411 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a0 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a0); profile 1412 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a1 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a1); profile 1413 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a2 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a2); profile 1414 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSOFF_m1 = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSOFF_m1); profile 1415 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFSGB_FUSE_TABLE_CKSOFF_m2 = le16_to_cpu(profile->usAVFSGB_FUSE_TABLE_CKSOFF_m2); profile 1416 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSOFF_b = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSOFF_b); profile 1417 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSON_m1 = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSON_m1); profile 1418 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFSGB_FUSE_TABLE_CKSON_m2 = le16_to_cpu(profile->usAVFSGB_FUSE_TABLE_CKSON_m2); profile 1419 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSON_b = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSON_b); profile 1420 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usMaxVoltage_0_25mv = le16_to_cpu(profile->usMaxVoltage_0_25mv); profile 1421 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_VDROOP_TABLE_CKSOFF = profile->ucEnableGB_VDROOP_TABLE_CKSOFF; profile 1422 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_VDROOP_TABLE_CKSON = profile->ucEnableGB_VDROOP_TABLE_CKSON; profile 1423 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_FUSE_TABLE_CKSOFF = profile->ucEnableGB_FUSE_TABLE_CKSOFF; profile 1424 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_FUSE_TABLE_CKSON = profile->ucEnableGB_FUSE_TABLE_CKSON; profile 1425 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usPSM_Age_ComFactor = le16_to_cpu(profile->usPSM_Age_ComFactor); profile 1426 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableApplyAVFS_CKS_OFF_Voltage = profile->ucEnableApplyAVFS_CKS_OFF_Voltage; profile 1480 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c ATOM_ASIC_PROFILING_INFO_V2_1 *profile; profile 1487 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c profile = (ATOM_ASIC_PROFILING_INFO_V2_1 *) profile 1491 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (!profile) profile 1494 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if ((profile->asHeader.ucTableFormatRevision >= 2) && profile 1495 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c (profile->asHeader.ucTableContentRevision >= 1) && profile 1496 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c (profile->asHeader.usStructureSize >= sizeof(ATOM_ASIC_PROFILING_INFO_V2_1))) { profile 1497 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c leakage_bin = (u16 *)((char *)profile + profile->usLeakageBinArrayOffset); profile 1498 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c vddc_id_buf = (u16 *)((char *)profile + profile->usElbVDDC_IdArrayOffset); profile 1499 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c vddc_buf = (u16 *)((char *)profile + profile->usElbVDDC_LevelArrayOffset); profile 1500 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (profile->ucElbVDDC_Num > 0) { profile 1501 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c for (i = 0; i < profile->ucElbVDDC_Num; i++) { profile 1503 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 1505 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *vddc = vddc_buf[j * profile->ucElbVDDC_Num + i]; profile 1514 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c vddci_id_buf = (u16 *)((char *)profile + profile->usElbVDDCI_IdArrayOffset); profile 1515 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c vddci_buf = (u16 *)((char *)profile + profile->usElbVDDCI_LevelArrayOffset); profile 1516 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (profile->ucElbVDDCI_Num > 0) { profile 1517 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c for (i = 0; i < profile->ucElbVDDCI_Num; i++) { profile 1519 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 1521 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *vddci = vddci_buf[j * profile->ucElbVDDCI_Num + i]; profile 1537 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c void *profile; profile 1539 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c profile = smu_atom_get_data_table(hwmgr->adev, profile 1543 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (profile) { profile 1547 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_3 *)profile)->ulMaxVddc) / 4; profile 1548 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *min_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_3 *)profile)->ulMinVddc) / 4; profile 1553 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_6 *)profile)->ulMaxVddc) / 100; profile 1554 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *min_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_6 *)profile)->ulMinVddc) / 100; profile 282 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c struct atom_asic_profiling_info_v4_1 *profile; profile 286 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c profile = (struct atom_asic_profiling_info_v4_1 *) profile 290 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c if (!profile) profile 293 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c format_revision = ((struct atom_common_table_header *)profile)->format_revision; profile 294 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c content_revision = ((struct atom_common_table_header *)profile)->content_revision; profile 297 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMaxVddc = le32_to_cpu(profile->maxvddc); profile 298 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMinVddc = le32_to_cpu(profile->minvddc); profile 300 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfs_meannsigma_acontant0); profile 302 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfs_meannsigma_acontant1); profile 304 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfs_meannsigma_acontant2); profile 306 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le16_to_cpu(profile->avfs_meannsigma_dc_tol_sigma); profile 308 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le16_to_cpu(profile->avfs_meannsigma_platform_mean); profile 310 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le16_to_cpu(profile->avfs_meannsigma_platform_sigma); profile 312 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_cksoff_a0); profile 314 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_cksoff_a1); profile 316 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_cksoff_a2); profile 318 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_ckson_a0); profile 320 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_ckson_a1); profile 322 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->gb_vdroop_table_ckson_a2); profile 324 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_cksoff_m1); profile 326 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_cksoff_m2); profile 328 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_cksoff_b); profile 330 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_ckson_m1); profile 332 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_ckson_m2); profile 334 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->avfsgb_fuse_table_ckson_b); profile 337 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c profile->enable_gb_vdroop_table_ckson; profile 339 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c profile->enable_gb_fuse_table_ckson; profile 341 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le16_to_cpu(profile->psm_age_comfactor); profile 344 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dispclk2gfxclk_a); profile 346 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dispclk2gfxclk_b); profile 348 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dispclk2gfxclk_c); profile 350 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dcefclk2gfxclk_a); profile 352 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dcefclk2gfxclk_b); profile 354 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->dcefclk2gfxclk_c); profile 356 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->pixclk2gfxclk_a); profile 358 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->pixclk2gfxclk_b); profile 360 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->pixclk2gfxclk_c); profile 362 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->phyclk2gfxclk_a); profile 364 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->phyclk2gfxclk_b); profile 366 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->phyclk2gfxclk_c); profile 376 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c profile_v4_2 = (struct atom_asic_profiling_info_v4_2 *)profile; profile 442 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c le32_to_cpu(profile->phyclk2gfxclk_a); profile 401 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_workload_type)(struct smu_context *smu, enum PP_SMC_POWER_PROFILE profile); profile 699 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_workload_get_type(smu, profile) \ profile 700 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs? ((smu)->ppt_funcs->get_workload_type? (smu)->ppt_funcs->get_workload_type((smu), (profile)) : -EINVAL) : -EINVAL) profile 63 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h #define WORKLOAD_MAP(profile, workload) \ profile 64 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h [profile] = {1, (workload)} profile 288 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER_PROFILE profile) profile 292 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (profile > PP_SMC_POWER_PROFILE_CUSTOM) profile 295 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_workload_map[profile]; profile 301 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER_PROFILE profile) profile 305 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (profile > PP_SMC_POWER_PROFILE_CUSTOM) profile 308 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_workload_map[profile]; profile 1635 drivers/gpu/drm/radeon/radeon.h enum radeon_pm_profile_type profile; profile 3228 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_ASIC_PROFILING_INFO_V2_1 *profile; profile 3238 drivers/gpu/drm/radeon/radeon_atombios.c profile = (ATOM_ASIC_PROFILING_INFO_V2_1 *) profile 3251 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(profile->usLeakageBinArrayOffset)); profile 3254 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(profile->usElbVDDC_IdArrayOffset)); profile 3257 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(profile->usElbVDDC_LevelArrayOffset)); profile 3260 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(profile->usElbVDDCI_IdArrayOffset)); profile 3263 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(profile->usElbVDDCI_LevelArrayOffset)); profile 3265 drivers/gpu/drm/radeon/radeon_atombios.c if (profile->ucElbVDDC_Num > 0) { profile 3266 drivers/gpu/drm/radeon/radeon_atombios.c for (i = 0; i < profile->ucElbVDDC_Num; i++) { profile 3268 drivers/gpu/drm/radeon/radeon_atombios.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 3270 drivers/gpu/drm/radeon/radeon_atombios.c *vddc = vddc_buf[j * profile->ucElbVDDC_Num + i]; profile 3278 drivers/gpu/drm/radeon/radeon_atombios.c if (profile->ucElbVDDCI_Num > 0) { profile 3279 drivers/gpu/drm/radeon/radeon_atombios.c for (i = 0; i < profile->ucElbVDDCI_Num; i++) { profile 3281 drivers/gpu/drm/radeon/radeon_atombios.c for (j = 0; j < profile->ucLeakageBinNum; j++) { profile 3283 drivers/gpu/drm/radeon/radeon_atombios.c *vddci = vddci_buf[j * profile->ucElbVDDCI_Num + i]; profile 88 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.profile == PM_PROFILE_AUTO) { profile 99 drivers/gpu/drm/radeon/radeon_pm.c switch (rdev->pm.profile) { profile 361 drivers/gpu/drm/radeon/radeon_pm.c int cp = rdev->pm.profile; profile 386 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; profile 388 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_AUTO; profile 390 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_LOW; profile 392 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_MID; profile 394 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_HIGH; profile 1304 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; profile 1597 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; profile 384 drivers/hid/hid-corsair.c int profile; profile 386 drivers/hid/hid-corsair.c if (kstrtoint(buf, 10, &profile)) profile 388 drivers/hid/hid-corsair.c if (profile < 1 || profile > 3) profile 394 drivers/hid/hid-corsair.c USB_RECIP_DEVICE, profile, 0, NULL, 0, profile 160 drivers/hid/hid-roccat-arvo.c unsigned long profile; profile 163 drivers/hid/hid-roccat-arvo.c retval = kstrtoul(buf, 10, &profile); profile 167 drivers/hid/hid-roccat-arvo.c if (profile < 1 || profile > 5) profile 171 drivers/hid/hid-roccat-arvo.c temp_buf.actual_profile = profile; profile 177 drivers/hid/hid-roccat-arvo.c arvo->actual_profile = profile; profile 387 drivers/hid/hid-roccat-arvo.c roccat_report.profile = arvo->actual_profile; profile 63 drivers/hid/hid-roccat-arvo.h uint8_t profile; profile 74 drivers/hid/hid-roccat-isku.c unsigned long profile; profile 82 drivers/hid/hid-roccat-isku.c retval = kstrtoul(buf, 10, &profile); profile 86 drivers/hid/hid-roccat-isku.c if (profile > 4) profile 91 drivers/hid/hid-roccat-isku.c retval = isku_set_actual_profile(usb_dev, profile); profile 97 drivers/hid/hid-roccat-isku.c isku_profile_activated(isku, profile); profile 100 drivers/hid/hid-roccat-isku.c roccat_report.data1 = profile + 1; profile 102 drivers/hid/hid-roccat-isku.c roccat_report.profile = profile + 1; profile 390 drivers/hid/hid-roccat-isku.c roccat_report.profile = isku->actual_profile + 1; profile 85 drivers/hid/hid-roccat-isku.h uint8_t profile; profile 205 drivers/hid/hid-roccat-kone.c struct kone_profile const *profile, int number) profile 215 drivers/hid/hid-roccat-kone.c kone_command_profile, number, (void *)profile, profile 353 drivers/hid/hid-roccat-kone.c struct kone_profile *profile; profile 360 drivers/hid/hid-roccat-kone.c profile = &kone->profiles[*(uint *)(attr->private)]; profile 363 drivers/hid/hid-roccat-kone.c difference = memcmp(buf, profile, sizeof(struct kone_profile)); profile 369 drivers/hid/hid-roccat-kone.c memcpy(profile, buf, sizeof(struct kone_profile)); profile 103 drivers/hid/hid-roccat-kone.h uint8_t profile; /* range 1-5 */ profile 255 drivers/hid/hid-roccat-koneplus.c unsigned long profile; profile 263 drivers/hid/hid-roccat-koneplus.c retval = kstrtoul(buf, 10, &profile); profile 267 drivers/hid/hid-roccat-koneplus.c if (profile > 4) profile 272 drivers/hid/hid-roccat-koneplus.c retval = koneplus_set_actual_profile(usb_dev, profile); profile 278 drivers/hid/hid-roccat-koneplus.c koneplus_profile_activated(koneplus, profile); profile 281 drivers/hid/hid-roccat-koneplus.c roccat_report.data1 = profile + 1; profile 283 drivers/hid/hid-roccat-koneplus.c roccat_report.profile = profile + 1; profile 502 drivers/hid/hid-roccat-koneplus.c roccat_report.profile = koneplus->actual_profile + 1; profile 110 drivers/hid/hid-roccat-koneplus.h uint8_t profile; profile 285 drivers/hid/hid-roccat-kovaplus.c unsigned long profile; profile 293 drivers/hid/hid-roccat-kovaplus.c retval = kstrtoul(buf, 10, &profile); profile 297 drivers/hid/hid-roccat-kovaplus.c if (profile >= 5) profile 301 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_set_actual_profile(usb_dev, profile); profile 307 drivers/hid/hid-roccat-kovaplus.c kovaplus_profile_activated(kovaplus, profile); profile 310 drivers/hid/hid-roccat-kovaplus.c roccat_report.profile = profile + 1; profile 312 drivers/hid/hid-roccat-kovaplus.c roccat_report.data1 = profile + 1; profile 577 drivers/hid/hid-roccat-kovaplus.c roccat_report.profile = kovaplus->actual_profile + 1; profile 112 drivers/hid/hid-roccat-kovaplus.h uint8_t profile; profile 34 drivers/hid/hid-roccat-ryos.c ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile, 0x05, 0x03); profile 28 drivers/hid/hid-roccat-savu.c ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile, 0x5, 0x03); profile 33 drivers/infiniband/hw/mlx5/ib_rep.c const struct mlx5_ib_profile *profile; profile 38 drivers/infiniband/hw/mlx5/ib_rep.c profile = &uplink_rep_profile; profile 61 drivers/infiniband/hw/mlx5/ib_rep.c if (!__mlx5_ib_add(ibdev, profile)) profile 83 drivers/infiniband/hw/mlx5/ib_rep.c __mlx5_ib_remove(dev, dev->profile, MLX5_IB_STAGE_MAX); profile 6710 drivers/infiniband/hw/mlx5/main.c const struct mlx5_ib_profile *profile, profile 6716 drivers/infiniband/hw/mlx5/main.c if (profile->stage[stage].cleanup) profile 6717 drivers/infiniband/hw/mlx5/main.c profile->stage[stage].cleanup(dev); profile 6725 drivers/infiniband/hw/mlx5/main.c const struct mlx5_ib_profile *profile) profile 6731 drivers/infiniband/hw/mlx5/main.c if (profile->stage[i].init) { profile 6732 drivers/infiniband/hw/mlx5/main.c err = profile->stage[i].init(dev); profile 6738 drivers/infiniband/hw/mlx5/main.c dev->profile = profile; profile 6744 drivers/infiniband/hw/mlx5/main.c __mlx5_ib_remove(dev, profile, i); profile 6957 drivers/infiniband/hw/mlx5/main.c __mlx5_ib_remove(dev, dev->profile, MLX5_IB_STAGE_MAX); profile 990 drivers/infiniband/hw/mlx5/mlx5_ib.h const struct mlx5_ib_profile *profile; profile 1293 drivers/infiniband/hw/mlx5/mlx5_ib.h const struct mlx5_ib_profile *profile, profile 1296 drivers/infiniband/hw/mlx5/mlx5_ib.h const struct mlx5_ib_profile *profile); profile 646 drivers/infiniband/hw/mlx5/mr.c if ((dev->mdev->profile->mask & MLX5_PROF_MASK_MR_CACHE) && profile 649 drivers/infiniband/hw/mlx5/mr.c ent->limit = dev->mdev->profile->mr_cache[i].limit; profile 292 drivers/infiniband/hw/mthca/mthca_main.c struct mthca_profile profile; profile 319 drivers/infiniband/hw/mthca/mthca_main.c profile = hca_profile; profile 320 drivers/infiniband/hw/mthca/mthca_main.c profile.num_uar = dev_lim.uar_size / PAGE_SIZE; profile 321 drivers/infiniband/hw/mthca/mthca_main.c profile.uarc_size = 0; profile 323 drivers/infiniband/hw/mthca/mthca_main.c profile.num_srq = dev_lim.max_srqs; profile 325 drivers/infiniband/hw/mthca/mthca_main.c size = mthca_make_profile(mdev, &profile, &dev_lim, &init_hca); profile 577 drivers/infiniband/hw/mthca/mthca_main.c struct mthca_profile profile; profile 609 drivers/infiniband/hw/mthca/mthca_main.c profile = hca_profile; profile 610 drivers/infiniband/hw/mthca/mthca_main.c profile.num_uar = dev_lim.uar_size / PAGE_SIZE; profile 611 drivers/infiniband/hw/mthca/mthca_main.c profile.num_udav = 0; profile 613 drivers/infiniband/hw/mthca/mthca_main.c profile.num_srq = dev_lim.max_srqs; profile 615 drivers/infiniband/hw/mthca/mthca_main.c icm_size = mthca_make_profile(mdev, &profile, &dev_lim, &init_hca); profile 79 drivers/infiniband/hw/mthca/mthca_profile.c struct mthca_resource *profile; profile 82 drivers/infiniband/hw/mthca/mthca_profile.c profile = kcalloc(MTHCA_RES_NUM, sizeof(*profile), GFP_KERNEL); profile 83 drivers/infiniband/hw/mthca/mthca_profile.c if (!profile) profile 86 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; profile 87 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; profile 88 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; profile 89 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; profile 90 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; profile 91 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; profile 92 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz; profile 93 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_RDB].size = MTHCA_RDB_ENTRY_SIZE; profile 94 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MCG].size = MTHCA_MGM_ENTRY_SIZE; profile 95 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MPT].size = dev_lim->mpt_entry_sz; profile 96 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; profile 97 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UAR].size = dev_lim->uar_scratch_entry_sz; profile 98 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UDAV].size = MTHCA_AV_SIZE; profile 99 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UARC].size = request->uarc_size; profile 101 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_QP].num = request->num_qp; profile 102 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_SRQ].num = request->num_srq; profile 103 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EQP].num = request->num_qp; profile 104 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_RDB].num = request->num_qp * request->rdb_per_qp; profile 105 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_CQ].num = request->num_cq; profile 106 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_EQ].num = MTHCA_NUM_EQS; profile 107 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MCG].num = request->num_mcg; profile 108 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MPT].num = request->num_mpt; profile 109 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_MTT].num = request->num_mtt; profile 110 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UAR].num = request->num_uar; profile 111 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UARC].num = request->num_uar; profile 112 drivers/infiniband/hw/mthca/mthca_profile.c profile[MTHCA_RES_UDAV].num = request->num_udav; profile 115 drivers/infiniband/hw/mthca/mthca_profile.c profile[i].type = i; profile 116 drivers/infiniband/hw/mthca/mthca_profile.c profile[i].log_num = max(ffs(profile[i].num) - 1, 0); profile 117 drivers/infiniband/hw/mthca/mthca_profile.c profile[i].size *= profile[i].num; profile 119 drivers/infiniband/hw/mthca/mthca_profile.c profile[i].size = max(profile[i].size, (u64) PAGE_SIZE); profile 138 drivers/infiniband/hw/mthca/mthca_profile.c if (profile[j].size > profile[j - 1].size) profile 139 drivers/infiniband/hw/mthca/mthca_profile.c swap(profile[j], profile[j - 1]); profile 143 drivers/infiniband/hw/mthca/mthca_profile.c if (profile[i].size) { profile 144 drivers/infiniband/hw/mthca/mthca_profile.c profile[i].start = mem_base + total_size; profile 145 drivers/infiniband/hw/mthca/mthca_profile.c total_size += profile[i].size; profile 152 drivers/infiniband/hw/mthca/mthca_profile.c kfree(profile); profile 156 drivers/infiniband/hw/mthca/mthca_profile.c if (profile[i].size) profile 159 drivers/infiniband/hw/mthca/mthca_profile.c i, profile[i].type, profile[i].log_num, profile 160 drivers/infiniband/hw/mthca/mthca_profile.c (unsigned long long) profile[i].start, profile 161 drivers/infiniband/hw/mthca/mthca_profile.c (unsigned long long) profile[i].size); profile 173 drivers/infiniband/hw/mthca/mthca_profile.c switch (profile[i].type) { profile 175 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_qps = profile[i].num; profile 176 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->qpc_base = profile[i].start; profile 177 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_num_qps = profile[i].log_num; profile 180 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_eecs = profile[i].num; profile 181 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->eec_base = profile[i].start; profile 182 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_num_eecs = profile[i].log_num; profile 185 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_srqs = profile[i].num; profile 186 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->srqc_base = profile[i].start; profile 187 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_num_srqs = profile[i].log_num; profile 190 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_cqs = profile[i].num; profile 191 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->cqc_base = profile[i].start; profile 192 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_num_cqs = profile[i].log_num; profile 195 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->eqpc_base = profile[i].start; profile 198 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->eeec_base = profile[i].start; profile 201 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_eqs = profile[i].num; profile 202 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->eqc_base = profile[i].start; profile 203 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_num_eqs = profile[i].log_num; profile 207 drivers/infiniband/hw/mthca/mthca_profile.c request->num_qp << dev->qp_table.rdb_shift < profile[i].num; profile 210 drivers/infiniband/hw/mthca/mthca_profile.c dev->qp_table.rdb_base = (u32) profile[i].start; profile 211 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->rdb_base = profile[i].start; profile 214 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_mgms = profile[i].num >> 1; profile 215 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_amgms = profile[i].num >> 1; profile 216 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->mc_base = profile[i].start; profile 218 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_mc_table_sz = profile[i].log_num; profile 219 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); profile 222 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_mpts = profile[i].num; profile 223 drivers/infiniband/hw/mthca/mthca_profile.c dev->mr_table.mpt_base = profile[i].start; profile 224 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->mpt_base = profile[i].start; profile 225 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->log_mpt_sz = profile[i].log_num; profile 228 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_mtt_segs = profile[i].num; profile 229 drivers/infiniband/hw/mthca/mthca_profile.c dev->mr_table.mtt_base = profile[i].start; profile 230 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->mtt_base = profile[i].start; profile 234 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_uars = profile[i].num; profile 235 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->uar_scratch_base = profile[i].start; profile 238 drivers/infiniband/hw/mthca/mthca_profile.c dev->av_table.ddr_av_base = profile[i].start; profile 239 drivers/infiniband/hw/mthca/mthca_profile.c dev->av_table.num_ddr_avs = profile[i].num; profile 243 drivers/infiniband/hw/mthca/mthca_profile.c dev->uar_table.uarc_base = profile[i].start; profile 244 drivers/infiniband/hw/mthca/mthca_profile.c init_hca->uarc_base = profile[i].start; profile 279 drivers/infiniband/hw/mthca/mthca_profile.c kfree(profile); profile 816 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_profile(data.contr, &data.profile); profile 821 drivers/isdn/capi/capi.c &data.profile.ncontroller, profile 822 drivers/isdn/capi/capi.c sizeof(data.profile.ncontroller)); profile 825 drivers/isdn/capi/capi.c cdev->errcode = capi20_get_profile(data.contr, &data.profile); profile 829 drivers/isdn/capi/capi.c retval = copy_to_user(argp, &data.profile, profile 830 drivers/isdn/capi/capi.c sizeof(data.profile)); profile 224 drivers/isdn/capi/kcapi.c memset(&ctr->profile, 0, sizeof(ctr->profile)); profile 968 drivers/isdn/capi/kcapi.c memcpy(profp, &ctr->profile, sizeof(struct capi_profile)); profile 117 drivers/leds/leds-mlxcpld.c struct mlxcpld_led_profile *profile; profile 340 drivers/leds/leds-mlxcpld.c cpld->pled[i].cdev.name = cpld->profile[i].name; profile 341 drivers/leds/leds-mlxcpld.c cpld->pled[i].cdev.brightness = cpld->profile[i].brightness; profile 350 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.offset = mlxcpld_led->profile[i].offset; profile 351 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.mask = mlxcpld_led->profile[i].mask; profile 353 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile[i].base_color; profile 355 drivers/leds/leds-mlxcpld.c if (mlxcpld_led->profile[i].brightness) profile 357 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile[i].brightness); profile 377 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile = mlxcpld_led_msn2100_profile; profile 383 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile = mlxcpld_led_default_profile; profile 852 drivers/md/dm-crypt.c if (!bi || strcasecmp(bi->profile->name, "DM-DIF-EXT-TAG")) { profile 3136 drivers/md/dm-integrity.c bi.profile = &dm_integrity_profile; profile 2111 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv, enum cxd2841er_dvbt2_profile_t profile) profile 2117 drivers/media/dvb-frontends/cxd2841er.c switch (profile) { profile 678 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c enum cxd2880_dvbt_profile profile) profile 694 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c (profile == CXD2880_DVBT_PROFILE_HP) profile 736 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c return dvbt_set_profile(tnr_dmd, tune_param->profile); profile 19 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.h enum cxd2880_dvbt_profile profile; profile 775 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c enum cxd2880_dvbt2_profile profile) profile 803 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c switch (profile) { profile 863 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c tune_param->profile == CXD2880_DVBT2_PROFILE_ANY) profile 888 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c ret = dvbt2_set_profile(tnr_dmd, tune_param->profile); profile 894 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c dvbt2_set_profile(tnr_dmd->diver_sub, tune_param->profile); profile 926 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c switch (tune_param->profile) { profile 25 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.h enum cxd2880_dvbt2_profile profile; profile 182 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c enum cxd2880_dvbt2_profile profile; profile 231 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c ret = cxd2880_tnrdmd_dvbt2_mon_profile(tnr_dmd, &profile); profile 297 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c if (profile == CXD2880_DVBT2_PROFILE_BASE) { profile 322 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c } else if (profile == CXD2880_DVBT2_PROFILE_LITE) { profile 1741 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *profile) profile 1746 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c if (!tnr_dmd || !profile) profile 1769 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *profile = CXD2880_DVBT2_PROFILE_LITE; profile 1771 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *profile = CXD2880_DVBT2_PROFILE_BASE; profile 1778 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c profile); profile 127 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.h *profile); profile 1020 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tune_param->profile != CXD2880_DVBT2_PROFILE_BASE && profile 1021 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c tune_param->profile != CXD2880_DVBT2_PROFILE_LITE) profile 1097 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv->dvbt_tune_param.profile = CXD2880_DVBT_PROFILE_HP; profile 1105 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv->dvbt2_tune_param.profile = CXD2880_DVBT2_PROFILE_BASE; profile 1810 drivers/media/platform/coda/coda-bit.c int profile; profile 1823 drivers/media/platform/coda/coda-bit.c profile = coda_h264_profile(ctx->params.h264_profile_idc); profile 1824 drivers/media/platform/coda/coda-bit.c if (profile < 0) profile 1829 drivers/media/platform/coda/coda-bit.c return profile > V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; profile 1982 drivers/media/platform/coda/coda-bit.c u8 profile, level; profile 1985 drivers/media/platform/coda/coda-bit.c profile = val & 0xff; profile 1988 drivers/media/platform/coda/coda-bit.c if (profile || level) profile 1989 drivers/media/platform/coda/coda-bit.c coda_update_profile_level_ctrls(ctx, profile, level); profile 1662 drivers/media/platform/coda/coda-common.c int profile; profile 1672 drivers/media/platform/coda/coda-common.c profile = coda_h264_profile(profile_idc); profile 1681 drivers/media/platform/coda/coda-common.c profile = coda_mpeg2_profile(profile_idc); profile 1690 drivers/media/platform/coda/coda-common.c profile = coda_mpeg4_profile(profile_idc); profile 1700 drivers/media/platform/coda/coda-common.c if (profile < 0) { profile 1705 drivers/media/platform/coda/coda-common.c profile_names[profile]); profile 1706 drivers/media/platform/coda/coda-common.c coda_update_menu_ctrl(profile_ctrl, profile); profile 150 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c unsigned int profile; profile 83 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c u32 profile; profile 154 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c unsigned int profile) profile 156 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c switch (profile) { profile 170 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c mtk_vcodec_debug(inst, "unsupported profile %d", profile); profile 607 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c inst->vsi->config.profile = profile 156 drivers/media/platform/qcom/venus/core.h u32 profile; profile 193 drivers/media/platform/qcom/venus/core.h } profile; profile 66 drivers/media/platform/qcom/venus/hfi.h u32 profile; profile 613 drivers/media/platform/qcom/venus/hfi_cmds.c pl->profile = in->profile; profile 614 drivers/media/platform/qcom/venus/hfi_cmds.c if (pl->profile <= 0) profile 616 drivers/media/platform/qcom/venus/hfi_cmds.c pl->profile = HFI_H264_PROFILE_HIGH; profile 712 drivers/media/platform/qcom/venus/hfi_helper.h u32 profile; profile 66 drivers/media/platform/qcom/venus/hfi_msgs.c event.profile = profile_level->profile; profile 325 drivers/media/platform/qcom/venus/hfi_msgs.c profile_level->profile = hfi->profile; profile 25 drivers/media/platform/qcom/venus/vdec_ctrls.c ctr->profile = ctrl->val; profile 54 drivers/media/platform/qcom/venus/vdec_ctrls.c ctr->profile = hprop.profile_level.profile; profile 55 drivers/media/platform/qcom/venus/vdec_ctrls.c ctrl->val = ctr->profile; profile 651 drivers/media/platform/qcom/venus/venc.c u32 ptype, rate_control, bitrate, profile = 0, level = 0; profile 788 drivers/media/platform/qcom/venus/venc.c profile = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_H264_PROFILE, profile 789 drivers/media/platform/qcom/venus/venc.c ctr->profile.h264); profile 793 drivers/media/platform/qcom/venus/venc.c profile = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_VP8_PROFILE, profile 794 drivers/media/platform/qcom/venus/venc.c ctr->profile.vpx); profile 797 drivers/media/platform/qcom/venus/venc.c profile = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE, profile 798 drivers/media/platform/qcom/venus/venc.c ctr->profile.mpeg4); profile 802 drivers/media/platform/qcom/venus/venc.c profile = 0; profile 805 drivers/media/platform/qcom/venus/venc.c profile = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_HEVC_PROFILE, profile 806 drivers/media/platform/qcom/venus/venc.c ctr->profile.hevc); profile 812 drivers/media/platform/qcom/venus/venc.c pl.profile = profile; profile 106 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->profile.mpeg4 = ctrl->val; profile 109 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->profile.h264 = ctrl->val; profile 112 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->profile.hevc = ctrl->val; profile 115 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->profile.vpx = ctrl->val; profile 349 drivers/media/platform/s5p-mfc/s5p_mfc_common.h enum v4l2_mpeg_video_h264_profile profile; profile 399 drivers/media/platform/s5p-mfc/s5p_mfc_common.h enum v4l2_mpeg_video_mpeg4_profile profile; profile 430 drivers/media/platform/s5p-mfc/s5p_mfc_common.h u8 profile; profile 434 drivers/media/platform/s5p-mfc/s5p_mfc_common.h enum v4l2_mpeg_video_hevc_profile profile; profile 1863 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.h264.profile = profile 1867 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.h264.profile = profile 1871 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.h264.profile = profile 1876 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.h264.profile = profile 1990 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.mpeg4.profile = profile 1994 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.mpeg4.profile = profile 2038 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.vp8.profile = ctrl->val; profile 2069 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.hevc.profile = profile 2073 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.hevc.profile = profile 779 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c reg |= p_264->profile; profile 937 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c reg |= p_mpeg4->profile; profile 938 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= p_h264->profile & 0x3F; profile 1218 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= p_mpeg4->profile & 0x3F; profile 1367 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = p_vp8->profile & 0x3; profile 1470 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= p_hevc->profile & 0x3; profile 21 drivers/media/platform/sti/delta/delta-debug.c s->profile, s->level, s->dpb, profile 75 drivers/media/platform/sti/delta/delta.h u8 profile[32]; profile 42 drivers/media/platform/sti/hva/hva-debugfs.c stream->profile, stream->level); profile 675 drivers/media/platform/sti/hva/hva-h264.c if (ctrls->profile >= V4L2_MPEG_VIDEO_H264_PROFILE_HIGH) profile 694 drivers/media/platform/sti/hva/hva-h264.c if (ctrls->profile >= V4L2_MPEG_VIDEO_H264_PROFILE_HIGH) profile 243 drivers/media/platform/sti/hva/hva-v4l2.c stream->profile, stream->level, profile 639 drivers/media/platform/sti/hva/hva-v4l2.c ctx->ctrls.profile = ctrl->val; profile 640 drivers/media/platform/sti/hva/hva-v4l2.c snprintf(ctx->streaminfo.profile, profile 641 drivers/media/platform/sti/hva/hva-v4l2.c sizeof(ctx->streaminfo.profile), profile 62 drivers/media/platform/sti/hva/hva.h u8 profile[32]; profile 92 drivers/media/platform/sti/hva/hva.h enum v4l2_mpeg_video_h264_profile profile; profile 601 drivers/misc/ocxl/config.c afu->profile = EXTRACT_BITS(val32, 0, 7); profile 6258 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 profile; profile 2499 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_get_active_profile(struct be_adapter *adapter, u16 *profile); profile 5508 drivers/net/ethernet/intel/i40e/i40e_common.c #define I40E_SECTION_TABLE(profile, sec_tbl) \ profile 5510 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_profile_segment *p = (profile); \ profile 5519 drivers/net/ethernet/intel/i40e/i40e_common.c #define I40E_SECTION_HEADER(profile, offset) \ profile 5520 drivers/net/ethernet/intel/i40e/i40e_common.c (struct i40e_profile_section_header *)((u8 *)(profile) + (offset)) profile 5533 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_profile_segment *profile) profile 5540 drivers/net/ethernet/intel/i40e/i40e_common.c if (profile->header.type != SEGMENT_TYPE_I40E) profile 5543 drivers/net/ethernet/intel/i40e/i40e_common.c I40E_SECTION_TABLE(profile, sec_tbl); profile 5547 drivers/net/ethernet/intel/i40e/i40e_common.c sec = I40E_SECTION_HEADER(profile, sec_off); profile 5608 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, profile 5624 drivers/net/ethernet/intel/i40e/i40e_common.c dev_cnt = profile->device_table_count; profile 5626 drivers/net/ethernet/intel/i40e/i40e_common.c vendor_dev_id = profile->device_table[i].vendor_dev_id; profile 5637 drivers/net/ethernet/intel/i40e/i40e_common.c I40E_SECTION_TABLE(profile, sec_tbl); profile 5642 drivers/net/ethernet/intel/i40e/i40e_common.c sec = I40E_SECTION_HEADER(profile, sec_off); profile 5673 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_write_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, profile 5685 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_validate_profile(hw, profile, track_id, false); profile 5689 drivers/net/ethernet/intel/i40e/i40e_common.c I40E_SECTION_TABLE(profile, sec_tbl); profile 5693 drivers/net/ethernet/intel/i40e/i40e_common.c sec = I40E_SECTION_HEADER(profile, sec_off); profile 5736 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_rollback_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, profile 5747 drivers/net/ethernet/intel/i40e/i40e_common.c status = i40e_validate_profile(hw, profile, track_id, true); profile 5751 drivers/net/ethernet/intel/i40e/i40e_common.c I40E_SECTION_TABLE(profile, sec_tbl); profile 5756 drivers/net/ethernet/intel/i40e/i40e_common.c sec = I40E_SECTION_HEADER(profile, sec_off); profile 5789 drivers/net/ethernet/intel/i40e/i40e_common.c struct i40e_profile_segment *profile, profile 5807 drivers/net/ethernet/intel/i40e/i40e_common.c pinfo->version = profile->version; profile 5809 drivers/net/ethernet/intel/i40e/i40e_common.c memcpy(pinfo->name, profile->name, I40E_DDP_NAME_SIZE); profile 121 drivers/net/ethernet/intel/i40e/i40e_ddp.c i40e_add_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, profile 139 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo->version = profile->version; profile 144 drivers/net/ethernet/intel/i40e/i40e_ddp.c memcpy(pinfo->name, profile->name, I40E_DDP_NAME_SIZE); profile 161 drivers/net/ethernet/intel/i40e/i40e_ddp.c i40e_del_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, profile 179 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo->version = profile->version; profile 184 drivers/net/ethernet/intel/i40e/i40e_ddp.c memcpy(pinfo->name, profile->name, I40E_DDP_NAME_SIZE); profile 450 drivers/net/ethernet/intel/i40e/i40e_prototype.h struct i40e_profile_segment *profile); profile 459 drivers/net/ethernet/intel/i40e/i40e_prototype.h struct i40e_profile_segment *profile, profile 911 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c struct npc_kpu_profile *profile) profile 915 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (profile->cam_entries != profile->action_entries) { profile 918 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c kpu, profile->cam_entries, profile->action_entries); profile 924 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c num_entries = min_t(int, profile->cam_entries, max_entries); profile 927 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c &profile->cam[entry], kpu, entry); profile 930 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c num_entries = min_t(int, profile->action_entries, max_entries); profile 932 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_config_kpuaction(rvu, blkaddr, &profile->action[entry], profile 936 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c num_entries = min_t(int, profile->action_entries, profile->cam_entries); profile 1801 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c channel->max_tx = priv->mdev->profile.max_num_tx_rings_p_up; profile 152 drivers/net/ethernet/mellanox/mlx4/en_main.c struct mlx4_en_profile *params = &mdev->profile; profile 259 drivers/net/ethernet/mellanox/mlx4/en_main.c if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) profile 3287 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->num_tx_rings_p_up = mdev->profile.max_num_tx_rings_p_up; profile 3549 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mdev->profile.prof[priv->port].rx_ppp, profile 3550 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mdev->profile.prof[priv->port].rx_pause, profile 3551 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mdev->profile.prof[priv->port].tx_ppp, profile 3552 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mdev->profile.prof[priv->port].tx_pause); profile 258 drivers/net/ethernet/mellanox/mlx4/en_rx.c mdev->profile.prof[i].rx_ring_num = profile 1208 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (priv->mdev->profile.udp_rss) { profile 2297 drivers/net/ethernet/mellanox/mlx4/main.c struct mlx4_profile profile; profile 2333 drivers/net/ethernet/mellanox/mlx4/main.c profile = low_mem_profile; profile 2335 drivers/net/ethernet/mellanox/mlx4/main.c profile = default_profile; profile 2339 drivers/net/ethernet/mellanox/mlx4/main.c profile.num_mcg = MLX4_FS_NUM_MCG; profile 2341 drivers/net/ethernet/mellanox/mlx4/main.c icm_size = mlx4_make_profile(dev, &profile, dev_cap, profile 421 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct mlx4_en_profile profile; profile 84 drivers/net/ethernet/mellanox/mlx4/profile.c struct mlx4_resource *profile; profile 88 drivers/net/ethernet/mellanox/mlx4/profile.c profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); profile 89 drivers/net/ethernet/mellanox/mlx4/profile.c if (!profile) profile 111 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; profile 112 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; profile 113 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; profile 114 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; profile 115 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; profile 116 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; profile 117 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; profile 118 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_DMPT].size = dev_cap->dmpt_entry_sz; profile 119 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_CMPT].size = dev_cap->cmpt_entry_sz; profile 120 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_MTT].size = dev_cap->mtt_entry_sz; profile 121 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_MCG].size = mlx4_get_mgm_entry_size(dev); profile 123 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_QP].num = request->num_qp; profile 124 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_RDMARC].num = request->num_qp * request->rdmarc_per_qp; profile 125 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_ALTC].num = request->num_qp; profile 126 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_AUXC].num = request->num_qp; profile 127 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_SRQ].num = request->num_srq; profile 128 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_CQ].num = request->num_cq; profile 129 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_EQ].num = mlx4_is_mfunc(dev) ? dev->phys_caps.num_phys_eqs : profile 131 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_DMPT].num = request->num_mpt; profile 132 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_CMPT].num = MLX4_NUM_CMPTS; profile 133 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_MTT].num = request->num_mtt * (1 << log_mtts_per_seg); profile 134 drivers/net/ethernet/mellanox/mlx4/profile.c profile[MLX4_RES_MCG].num = request->num_mcg; profile 137 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].type = i; profile 138 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].num = roundup_pow_of_two(profile[i].num); profile 139 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].log_num = ilog2(profile[i].num); profile 140 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].size *= profile[i].num; profile 141 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].size = max(profile[i].size, (u64) PAGE_SIZE); profile 152 drivers/net/ethernet/mellanox/mlx4/profile.c if (profile[j].size > profile[j - 1].size) profile 153 drivers/net/ethernet/mellanox/mlx4/profile.c swap(profile[j], profile[j - 1]); profile 157 drivers/net/ethernet/mellanox/mlx4/profile.c if (profile[i].size) { profile 158 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].start = total_size; profile 159 drivers/net/ethernet/mellanox/mlx4/profile.c total_size += profile[i].size; profile 166 drivers/net/ethernet/mellanox/mlx4/profile.c kfree(profile); profile 170 drivers/net/ethernet/mellanox/mlx4/profile.c if (profile[i].size) profile 172 drivers/net/ethernet/mellanox/mlx4/profile.c i, res_name[profile[i].type], profile 173 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].log_num, profile 174 drivers/net/ethernet/mellanox/mlx4/profile.c (unsigned long long) profile[i].start, profile 175 drivers/net/ethernet/mellanox/mlx4/profile.c (unsigned long long) profile[i].size); profile 182 drivers/net/ethernet/mellanox/mlx4/profile.c switch (profile[i].type) { profile 184 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_qps = profile[i].num; profile 185 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->qpc_base = profile[i].start; profile 186 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->log_num_qps = profile[i].log_num; profile 190 drivers/net/ethernet/mellanox/mlx4/profile.c request->num_qp << priv->qp_table.rdmarc_shift < profile[i].num; profile 194 drivers/net/ethernet/mellanox/mlx4/profile.c priv->qp_table.rdmarc_base = (u32) profile[i].start; profile 195 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->rdmarc_base = profile[i].start; profile 199 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->altc_base = profile[i].start; profile 202 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->auxc_base = profile[i].start; profile 205 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_srqs = profile[i].num; profile 206 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->srqc_base = profile[i].start; profile 207 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->log_num_srqs = profile[i].log_num; profile 210 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_cqs = profile[i].num; profile 211 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->cqc_base = profile[i].start; profile 212 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->log_num_cqs = profile[i].log_num; profile 217 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->eqc_base = profile[i].start; profile 224 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->eqc_base = profile[i].start; profile 229 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_mpts = profile[i].num; profile 230 drivers/net/ethernet/mellanox/mlx4/profile.c priv->mr_table.mpt_base = profile[i].start; profile 231 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->dmpt_base = profile[i].start; profile 232 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->log_mpt_sz = profile[i].log_num; profile 235 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->cmpt_base = profile[i].start; profile 238 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_mtts = profile[i].num; profile 239 drivers/net/ethernet/mellanox/mlx4/profile.c priv->mr_table.mtt_base = profile[i].start; profile 240 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->mtt_base = profile[i].start; profile 243 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->mc_base = profile[i].start; profile 246 drivers/net/ethernet/mellanox/mlx4/profile.c init_hca->log_mc_table_sz = profile[i].log_num; profile 249 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_mgms = profile[i].num; profile 252 drivers/net/ethernet/mellanox/mlx4/profile.c profile[i].log_num - 1; profile 253 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_mgms = profile[i].num >> 1; profile 254 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_amgms = profile[i].num >> 1; profile 268 drivers/net/ethernet/mellanox/mlx4/profile.c kfree(profile); profile 867 drivers/net/ethernet/mellanox/mlx5/core/en.h const struct mlx5e_profile *profile; profile 886 drivers/net/ethernet/mellanox/mlx5/core/en.h const struct mlx5e_profile *profile, void *ppriv); profile 1172 drivers/net/ethernet/mellanox/mlx5/core/en.h const struct mlx5e_profile *profile, profile 1176 drivers/net/ethernet/mellanox/mlx5/core/en.h mlx5e_create_netdev(struct mlx5_core_dev *mdev, const struct mlx5e_profile *profile, profile 69 drivers/net/ethernet/mellanox/mlx5/core/en/params.h static inline bool mlx5e_qid_validate(const struct mlx5e_profile *profile, profile 72 drivers/net/ethernet/mellanox/mlx5/core/en/params.h return qid < params->num_channels * profile->rq_groups; profile 614 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!mlx5e_qid_validate(priv->profile, &priv->channels.params, profile 156 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (priv->profile->update_carrier) profile 157 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile->update_carrier(priv); profile 186 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile->update_stats(priv); profile 192 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!priv->profile->update_stats) profile 451 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->handle_rx_cqe = c->priv->profile->rx_handlers.handle_rx_cqe_mpwqe; profile 519 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->handle_rx_cqe = c->priv->profile->rx_handlers.handle_rx_cqe; profile 2904 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int num_rxqs = priv->channels.num * priv->profile->rq_groups; profile 3005 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile->update_rx(priv); profile 3052 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile->update_rx(priv); profile 3054 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (priv->profile->update_carrier) profile 3055 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile->update_carrier(priv); profile 3228 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (tc = 0; tc < priv->profile->max_tc; tc++) profile 3243 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (tc = 0; tc < priv->profile->max_tc; tc++) { profile 3266 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tc = priv->profile->max_tc; profile 5030 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile, profile 5037 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); profile 5256 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile, profile 5262 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->profile = profile; profile 5265 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->max_nch = netdev->num_rx_queues / max_t(u8, profile->rq_groups, 1); profile 5294 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile, profile 5302 drivers/net/ethernet/mellanox/mlx5/core/en_main.c nch * profile->max_tc, profile 5303 drivers/net/ethernet/mellanox/mlx5/core/en_main.c nch * profile->rq_groups); profile 5309 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = profile->init(mdev, netdev, profile, ppriv); profile 5325 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile; profile 5329 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile = priv->profile; profile 5342 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = profile->init_tx(priv); profile 5346 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = profile->init_rx(priv); profile 5350 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (profile->enable) profile 5351 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->enable(priv); profile 5356 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->cleanup_tx(priv); profile 5364 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile = priv->profile; profile 5368 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (profile->disable) profile 5369 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->disable(priv); profile 5372 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->cleanup_rx(priv); profile 5373 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->cleanup_tx(priv); profile 5379 drivers/net/ethernet/mellanox/mlx5/core/en_main.c const struct mlx5e_profile *profile = priv->profile; profile 5382 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (profile->cleanup) profile 5383 drivers/net/ethernet/mellanox/mlx5/core/en_main.c profile->cleanup(priv); profile 199 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c priv->profile->update_stats(priv); profile 1490 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c const struct mlx5e_profile *profile, profile 1496 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); profile 1858 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c const struct mlx5e_profile *profile; profile 1871 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c profile = (rep->vport == MLX5_VPORT_UPLINK) ? profile 1873 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev = mlx5e_create_netdev(dev, profile, nch, rpriv); profile 290 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, profile, MLX5_TEARDOWN_HCA_IN_PROFILE_FORCE_CLOSE); profile 320 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, profile, profile 77 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c const struct mlx5e_profile *profile, profile 83 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); profile 541 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c epriv->profile->update_rx(epriv); profile 661 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c const struct mlx5e_profile *profile = priv->profile; profile 664 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c profile->cleanup(priv); profile 91 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h const struct mlx5e_profile *profile, profile 224 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c epriv->profile->update_rx(epriv); profile 280 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c const struct mlx5e_profile *profile, profile 286 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c err = mlx5i_init(mdev, netdev, profile, ppriv); profile 95 drivers/net/ethernet/mellanox/mlx5/core/main.c static struct mlx5_profile profile[] = { profile 518 drivers/net/ethernet/mellanox/mlx5/core/main.c struct mlx5_profile *prof = dev->profile; profile 544 drivers/net/ethernet/mellanox/mlx5/core/main.c if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < profile[prof_sel].log_max_qp) { profile 546 drivers/net/ethernet/mellanox/mlx5/core/main.c profile[prof_sel].log_max_qp, profile 548 drivers/net/ethernet/mellanox/mlx5/core/main.c profile[prof_sel].log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); profile 1283 drivers/net/ethernet/mellanox/mlx5/core/main.c dev->profile = &profile[profile_idx]; profile 1630 drivers/net/ethernet/mellanox/mlx5/core/main.c if (prof_sel >= ARRAY_SIZE(profile)) { profile 1633 drivers/net/ethernet/mellanox/mlx5/core/main.c ARRAY_SIZE(profile) - 1, profile 1132 drivers/net/ethernet/mellanox/mlxsw/core.c err = mlxsw_bus->init(bus_priv, mlxsw_core, mlxsw_driver->profile, res); profile 2094 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_config_profile *profile, profile 2103 drivers/net/ethernet/mellanox/mlxsw/core.c return driver->kvd_sizes_get(mlxsw_core, profile, profile 313 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_config_profile *profile, profile 326 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_config_profile *profile; profile 331 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_config_profile *profile, profile 359 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_config_profile *profile, profile 510 drivers/net/ethernet/mellanox/mlxsw/i2c.c const struct mlxsw_config_profile *profile, profile 366 drivers/net/ethernet/mellanox/mlxsw/minimal.c .profile = &mlxsw_m_config_profile, profile 1055 drivers/net/ethernet/mellanox/mlxsw/pci.c const struct mlxsw_config_profile *profile, profile 1061 drivers/net/ethernet/mellanox/mlxsw/pci.c err = mlxsw_core_kvd_sizes_get(mlxsw_pci->core, profile, profile 1075 drivers/net/ethernet/mellanox/mlxsw/pci.c const struct mlxsw_config_profile *profile, profile 1083 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_vepa_channels) { profile 1087 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_vepa_channels); profile 1089 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_mid) { profile 1093 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_mid); profile 1095 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_pgt) { profile 1099 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_pgt); profile 1101 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_system_port) { profile 1105 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_system_port); profile 1107 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_vlan_groups) { profile 1111 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_vlan_groups); profile 1113 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_regions) { profile 1117 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_regions); profile 1119 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_flood_tables) { profile 1123 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_flood_tables); profile 1125 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_vid_flood_tables); profile 1127 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_fid_offset_flood_tables); profile 1129 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->fid_offset_flood_table_size); profile 1131 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_fid_flood_tables); profile 1133 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->fid_flood_table_size); profile 1135 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_flood_mode) { profile 1139 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->flood_mode); profile 1141 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_ib_mc) { profile 1145 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_ib_mc); profile 1147 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_max_pkey) { profile 1151 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->max_pkey); profile 1153 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_ar_sec) { profile 1157 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->ar_sec); profile 1159 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_adaptive_routing_group_cap) { profile 1163 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, profile->adaptive_routing_group_cap); profile 1165 drivers/net/ethernet/mellanox/mlxsw/pci.c if (profile->used_kvd_sizes && MLXSW_RES_VALID(res, KVD_SIZE)) { profile 1166 drivers/net/ethernet/mellanox/mlxsw/pci.c err = mlxsw_pci_profile_get_kvd_sizes(mlxsw_pci, profile, res); profile 1185 drivers/net/ethernet/mellanox/mlxsw/pci.c &profile->swid_config[i]); profile 1395 drivers/net/ethernet/mellanox/mlxsw/pci.c const struct mlxsw_config_profile *profile, profile 1493 drivers/net/ethernet/mellanox/mlxsw/pci.c err = mlxsw_pci_config_profile(mlxsw_pci, mbox, profile, res); profile 1927 drivers/net/ethernet/mellanox/mlxsw/reg.h #define MLXSW_REG_CWTP_PROFILE_TO_INDEX(profile) (profile - 1) profile 1930 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_pack(char *payload, u8 profile, u32 min, u32 max, profile 1933 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 index = MLXSW_REG_CWTP_PROFILE_TO_INDEX(profile); profile 2029 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 traffic_class, u8 profile, profile 2037 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_tcp_g_set(payload, profile); profile 2038 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_tcp_y_set(payload, profile); profile 2039 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_tcp_r_set(payload, profile); profile 2040 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_ntcp_g_set(payload, profile); profile 2041 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_ntcp_y_set(payload, profile); profile 2042 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_ntcp_r_set(payload, profile); profile 5112 drivers/net/ethernet/mellanox/mlxsw/spectrum.c const struct mlxsw_config_profile *profile; profile 5115 drivers/net/ethernet/mellanox/mlxsw/spectrum.c profile = &mlxsw_sp1_config_profile; profile 5132 drivers/net/ethernet/mellanox/mlxsw/spectrum.c linear_size = profile->kvd_linear_size; profile 5146 drivers/net/ethernet/mellanox/mlxsw/spectrum.c double_size *= profile->kvd_hash_double_parts; profile 5147 drivers/net/ethernet/mellanox/mlxsw/spectrum.c double_size /= profile->kvd_hash_double_parts + profile 5148 drivers/net/ethernet/mellanox/mlxsw/spectrum.c profile->kvd_hash_single_parts; profile 5201 drivers/net/ethernet/mellanox/mlxsw/spectrum.c const struct mlxsw_config_profile *profile, profile 5224 drivers/net/ethernet/mellanox/mlxsw/spectrum.c *p_linear_size = profile->kvd_linear_size; profile 5232 drivers/net/ethernet/mellanox/mlxsw/spectrum.c double_size *= profile->kvd_hash_double_parts; profile 5233 drivers/net/ethernet/mellanox/mlxsw/spectrum.c double_size /= profile->kvd_hash_double_parts + profile 5234 drivers/net/ethernet/mellanox/mlxsw/spectrum.c profile->kvd_hash_single_parts; profile 5405 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .profile = &mlxsw_sp1_config_profile, profile 5438 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .profile = &mlxsw_sp2_config_profile, profile 5471 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .profile = &mlxsw_sp2_config_profile, profile 683 drivers/net/ethernet/mellanox/mlxsw/spectrum.h enum mlxsw_sp_acl_profile profile); profile 687 drivers/net/ethernet/mellanox/mlxsw/spectrum.h enum mlxsw_sp_acl_profile profile, profile 387 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c enum mlxsw_sp_acl_profile profile) profile 393 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c ops = mlxsw_sp_acl_tcam_profile_ops(mlxsw_sp, profile); profile 405 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c enum mlxsw_sp_acl_profile profile, profile 412 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c ops = mlxsw_sp_acl_tcam_profile_ops(mlxsw_sp, profile); profile 1831 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c enum mlxsw_sp_acl_profile profile) profile 1835 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (WARN_ON(profile >= ARRAY_SIZE(mlxsw_sp_acl_tcam_profile_ops_arr))) profile 1837 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c ops = mlxsw_sp_acl_tcam_profile_ops_arr[profile]; profile 67 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h enum mlxsw_sp_acl_profile profile); profile 513 drivers/net/ethernet/mellanox/mlxsw/switchib.c .profile = &mlxsw_sib_config_profile, profile 524 drivers/net/ethernet/mellanox/mlxsw/switchib.c .profile = &mlxsw_sib_config_profile, profile 1660 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .profile = &mlxsw_sx_config_profile, profile 2948 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(&vif->profile, &p, sizeof(p)); profile 645 drivers/net/wireless/ath/ath6kl/core.h struct wmi_connect_cmd profile; profile 578 drivers/net/wireless/ath/ath6kl/main.c vif->profile.ch = cpu_to_le16(channel); profile 595 drivers/net/wireless/ath/ath6kl/main.c &vif->profile); profile 977 drivers/net/wireless/ath/ath6kl/main.c ar->last_ch = le16_to_cpu(vif->profile.ch); profile 1312 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_NONE) { profile 1315 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->profile.use_fwsup = BRCMF_PROFILE_FWSUP_NONE; profile 1326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 1421 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(profile->bssid, params->bssid, ETH_ALEN); profile 1424 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c eth_zero_addr(profile->bssid); profile 1498 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); profile 1516 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec = &profile->sec; profile 1525 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); profile 1551 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec = &profile->sec; profile 1561 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); profile 1626 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec = &profile->sec; profile 1637 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 1649 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_NONE; profile 1664 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X; profile 1679 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X; profile 1684 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X; profile 1695 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X; profile 1707 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (profile->use_fwsup == BRCMF_PROFILE_FWSUP_1X) profile 1761 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); profile 1772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec = &profile->sec; profile 1885 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 1984 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(profile->use_fwsup != BRCMF_PROFILE_FWSUP_NONE)) { profile 1989 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c profile->use_fwsup = BRCMF_PROFILE_FWSUP_PSK; profile 1992 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (profile->use_fwsup != BRCMF_PROFILE_FWSUP_NONE) { profile 2001 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (profile->use_fwsup == BRCMF_PROFILE_FWSUP_PSK) { profile 2106 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 2119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(&scbval.ea, &profile->bssid, ETH_ALEN); profile 2260 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; profile 2320 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; profile 2398 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 2419 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec = &profile->sec; profile 2471 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; profile 5216 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(ifp->vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_1X)) profile 5232 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(ifp->vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_1X)) profile 5314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_init_prof(&vif->profile); profile 5355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup == BRCMF_PROFILE_FWSUP_PSK && profile 5361 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(vif->profile.bssid, e->addr, ETH_ALEN); profile 5362 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_PSK) profile 5500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 5515 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(profile->bssid, e->addr, ETH_ALEN); profile 5548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c roam_info.bssid = profile->bssid; profile 5568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 5586 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c conn_params.bssid = profile->bssid; profile 5651 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; profile 5669 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(profile->bssid, e->addr, ETH_ALEN); profile 183 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct brcmf_cfg80211_profile profile; profile 374 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h return &ifp->vif->profile; profile 682 drivers/net/wireless/intel/iwlwifi/mvm/fw.c struct iwl_mvm_sar_profile *profile, profile 687 drivers/net/wireless/intel/iwlwifi/mvm/fw.c profile->enabled = enabled; profile 694 drivers/net/wireless/intel/iwlwifi/mvm/fw.c profile->table[i] = table[i].integer.value; profile 595 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct iwl_scan_offload_profile *profile; profile 640 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile = &profile_cfg->profiles[i]; profile 641 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->ssid_index = i; profile 643 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->unicast_cipher = 0xff; profile 644 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->auth_alg = 0xff; profile 645 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->network_type = IWL_NETWORK_TYPE_ANY; profile 646 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->band_selection = IWL_SCAN_OFFLOAD_SELECT_ANY; profile 647 drivers/net/wireless/intel/iwlwifi/mvm/scan.c profile->client_bitmap = SCAN_CLIENT_SCHED_SCAN; profile 833 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 rate, profile; profile 840 drivers/net/wireless/intersil/prism54/isl_ioctl.c profile = 1; profile 841 drivers/net/wireless/intersil/prism54/isl_ioctl.c return mgt_set_request(priv, DOT11_OID_PROFILES, 0, &profile); profile 888 drivers/net/wireless/intersil/prism54/isl_ioctl.c profile = -1; profile 889 drivers/net/wireless/intersil/prism54/isl_ioctl.c ret = mgt_set_request(priv, DOT11_OID_PROFILES, 0, &profile); profile 1652 drivers/nvme/host/core.c integrity.profile = &t10_pi_type3_crc; profile 1658 drivers/nvme/host/core.c integrity.profile = &t10_pi_type1_crc; profile 1663 drivers/nvme/host/core.c integrity.profile = NULL; profile 147 drivers/s390/block/dasd.c spin_lock_init(&device->profile.lock); profile 184 drivers/s390/block/dasd.c spin_lock_init(&block->profile.lock); profile 269 drivers/s390/block/dasd.c dasd_profile_init(&block->profile, block->debugfs_dentry); profile 271 drivers/s390/block/dasd.c dasd_profile_on(&device->block->profile); profile 276 drivers/s390/block/dasd.c dasd_profile_init(&device->profile, device->debugfs_dentry); profile 305 drivers/s390/block/dasd.c dasd_profile_exit(&device->block->profile); profile 314 drivers/s390/block/dasd.c dasd_profile_exit(&device->profile); profile 713 drivers/s390/block/dasd.c if (dasd_global_profile_level || block->profile.data) profile 726 drivers/s390/block/dasd.c spin_lock(&block->profile.lock); profile 727 drivers/s390/block/dasd.c if (block->profile.data) { profile 728 drivers/s390/block/dasd.c block->profile.data->dasd_io_nr_req[counter]++; profile 730 drivers/s390/block/dasd.c block->profile.data->dasd_read_nr_req[counter]++; profile 732 drivers/s390/block/dasd.c spin_unlock(&block->profile.lock); profile 740 drivers/s390/block/dasd.c if (device->profile.data) { profile 746 drivers/s390/block/dasd.c spin_lock(&device->profile.lock); profile 747 drivers/s390/block/dasd.c if (device->profile.data) { profile 748 drivers/s390/block/dasd.c device->profile.data->dasd_io_nr_req[counter]++; profile 750 drivers/s390/block/dasd.c device->profile.data->dasd_read_nr_req[counter]++; profile 752 drivers/s390/block/dasd.c spin_unlock(&device->profile.lock); profile 826 drivers/s390/block/dasd.c block->profile.data || profile 827 drivers/s390/block/dasd.c device->profile.data)) profile 868 drivers/s390/block/dasd.c spin_lock(&block->profile.lock); profile 869 drivers/s390/block/dasd.c if (block->profile.data) { profile 870 drivers/s390/block/dasd.c data = block->profile.data; profile 875 drivers/s390/block/dasd.c dasd_profile_end_add_data(block->profile.data, profile 884 drivers/s390/block/dasd.c spin_unlock(&block->profile.lock); profile 886 drivers/s390/block/dasd.c spin_lock(&device->profile.lock); profile 887 drivers/s390/block/dasd.c if (device->profile.data) { profile 888 drivers/s390/block/dasd.c data = device->profile.data; profile 893 drivers/s390/block/dasd.c dasd_profile_end_add_data(device->profile.data, profile 902 drivers/s390/block/dasd.c spin_unlock(&device->profile.lock); profile 905 drivers/s390/block/dasd.c void dasd_profile_reset(struct dasd_profile *profile) profile 909 drivers/s390/block/dasd.c spin_lock_bh(&profile->lock); profile 910 drivers/s390/block/dasd.c data = profile->data; profile 912 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 917 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 920 drivers/s390/block/dasd.c int dasd_profile_on(struct dasd_profile *profile) profile 927 drivers/s390/block/dasd.c spin_lock_bh(&profile->lock); profile 928 drivers/s390/block/dasd.c if (profile->data) { profile 929 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 934 drivers/s390/block/dasd.c profile->data = data; profile 935 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 939 drivers/s390/block/dasd.c void dasd_profile_off(struct dasd_profile *profile) profile 941 drivers/s390/block/dasd.c spin_lock_bh(&profile->lock); profile 942 drivers/s390/block/dasd.c kfree(profile->data); profile 943 drivers/s390/block/dasd.c profile->data = NULL; profile 944 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 1067 drivers/s390/block/dasd.c struct dasd_profile *profile; profile 1070 drivers/s390/block/dasd.c profile = m->private; profile 1071 drivers/s390/block/dasd.c spin_lock_bh(&profile->lock); profile 1072 drivers/s390/block/dasd.c data = profile->data; profile 1074 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 1079 drivers/s390/block/dasd.c spin_unlock_bh(&profile->lock); profile 1085 drivers/s390/block/dasd.c struct dasd_profile *profile = inode->i_private; profile 1086 drivers/s390/block/dasd.c return single_open(file, dasd_stats_show, profile); profile 1098 drivers/s390/block/dasd.c static void dasd_profile_init(struct dasd_profile *profile, profile 1106 drivers/s390/block/dasd.c profile->dentry = NULL; profile 1107 drivers/s390/block/dasd.c profile->data = NULL; profile 1110 drivers/s390/block/dasd.c profile, &dasd_stats_raw_fops); profile 1112 drivers/s390/block/dasd.c profile->dentry = pde; profile 1116 drivers/s390/block/dasd.c static void dasd_profile_exit(struct dasd_profile *profile) profile 1118 drivers/s390/block/dasd.c dasd_profile_off(profile); profile 1119 drivers/s390/block/dasd.c debugfs_remove(profile->dentry); profile 1120 drivers/s390/block/dasd.c profile->dentry = NULL; profile 1174 drivers/s390/block/dasd.c static void dasd_profile_init(struct dasd_profile *profile, profile 1180 drivers/s390/block/dasd.c static void dasd_profile_exit(struct dasd_profile *profile) profile 1185 drivers/s390/block/dasd.c int dasd_profile_on(struct dasd_profile *profile) profile 548 drivers/s390/block/dasd_int.h struct dasd_profile profile; profile 574 drivers/s390/block/dasd_int.h struct dasd_profile profile; profile 395 drivers/s390/block/dasd_ioctl.c dasd_profile_reset(&block->profile); profile 411 drivers/s390/block/dasd_ioctl.c spin_lock_bh(&block->profile.lock); profile 412 drivers/s390/block/dasd_ioctl.c if (block->profile.data) { profile 413 drivers/s390/block/dasd_ioctl.c data->dasd_io_reqs = block->profile.data->dasd_io_reqs; profile 414 drivers/s390/block/dasd_ioctl.c data->dasd_io_sects = block->profile.data->dasd_io_sects; profile 415 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_secs, block->profile.data->dasd_io_secs, profile 417 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_times, block->profile.data->dasd_io_times, profile 419 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_timps, block->profile.data->dasd_io_timps, profile 421 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_time1, block->profile.data->dasd_io_time1, profile 423 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_time2, block->profile.data->dasd_io_time2, profile 426 drivers/s390/block/dasd_ioctl.c block->profile.data->dasd_io_time2ps, profile 428 drivers/s390/block/dasd_ioctl.c memcpy(data->dasd_io_time3, block->profile.data->dasd_io_time3, profile 431 drivers/s390/block/dasd_ioctl.c block->profile.data->dasd_io_nr_req, profile 433 drivers/s390/block/dasd_ioctl.c spin_unlock_bh(&block->profile.lock); profile 435 drivers/s390/block/dasd_ioctl.c spin_unlock_bh(&block->profile.lock); profile 146 drivers/s390/block/dasd_proc.c rc = dasd_profile_on(&device->block->profile); profile 164 drivers/s390/block/dasd_proc.c dasd_profile_off(&device->block->profile); profile 179 drivers/s390/block/dasd_proc.c dasd_profile_reset(&device->block->profile); profile 320 drivers/scsi/lpfc/lpfc_debugfs.c hip->hbq_index, hip->profile, hip->rn, profile 2378 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile:8; profile 2384 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile:8; profile 2486 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile:8; profile 2492 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile:8; profile 3136 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile :8; /* Selection Profile */ profile 3140 drivers/scsi/lpfc/lpfc_hw.h uint32_t profile :8; /* Selection Profile */ profile 1154 drivers/scsi/lpfc/lpfc_mbox.c hbqmb->profile = hbq_desc->profile; /* Selection profile: profile 1176 drivers/scsi/lpfc/lpfc_mbox.c if (hbq_desc->profile == 2) profile 1178 drivers/scsi/lpfc/lpfc_mbox.c else if (hbq_desc->profile == 3) profile 1180 drivers/scsi/lpfc/lpfc_mbox.c else if (hbq_desc->profile == 5) profile 1237 drivers/scsi/lpfc/lpfc_mbox.c if (pring->prt[0].profile) { profile 1238 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.profile = pring->prt[0].profile; profile 2105 drivers/scsi/lpfc/lpfc_sli.c .profile = 0, profile 2802 drivers/scsi/lpfc/lpfc_sli.c if (pring->prt[0].profile) { profile 10130 drivers/scsi/lpfc/lpfc_sli.c pring->prt[0].profile = 0; /* Mask 0 */ profile 10322 drivers/scsi/lpfc/lpfc_sli.c pring->prt[0].profile = 0; /* Mask 0 */ profile 10327 drivers/scsi/lpfc/lpfc_sli.c pring->prt[1].profile = 0; /* Mask 1 */ profile 10332 drivers/scsi/lpfc/lpfc_sli.c pring->prt[2].profile = 0; /* Mask 2 */ profile 10339 drivers/scsi/lpfc/lpfc_sli.c pring->prt[3].profile = 0; /* Mask 3 */ profile 10430 drivers/scsi/lpfc/lpfc_sli.c pring->prt[0].profile = 0; /* Mask 0 */ profile 10435 drivers/scsi/lpfc/lpfc_sli.c pring->prt[1].profile = 0; /* Mask 1 */ profile 10440 drivers/scsi/lpfc/lpfc_sli.c pring->prt[2].profile = 0; /* Mask 2 */ profile 10447 drivers/scsi/lpfc/lpfc_sli.c pring->prt[3].profile = 0; /* Mask 3 */ profile 179 drivers/scsi/lpfc/lpfc_sli.h uint8_t profile; /* profile associated with ring */ profile 272 drivers/scsi/lpfc/lpfc_sli.h uint32_t profile; /* Selection profile 0=all, 7=logentry */ profile 982 drivers/scsi/pm8001/pm80xx_hwi.h __le32 profile[29]; profile 50 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type3_ip; profile 52 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type1_ip; profile 57 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type3_crc; profile 59 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type1_crc; profile 63 drivers/scsi/sd_dif.c "Enabling DIX %s protection\n", bi.profile->name); profile 131 drivers/spi/spi-bcm63xx-hsspi.c unsigned int profile = spi->chip_select; profile 136 drivers/spi/spi-bcm63xx-hsspi.c bs->regs + HSSPI_PROFILE_CLK_CTRL_REG(profile)); profile 138 drivers/spi/spi-bcm63xx-hsspi.c reg = __raw_readl(bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile)); profile 143 drivers/spi/spi-bcm63xx-hsspi.c __raw_writel(reg, bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile)); profile 350 drivers/staging/isdn/avm/b1.c else nconn = ctrl->profile.nbchannel * -want; profile 351 drivers/staging/isdn/avm/b1.c if (nconn == 0) nconn = ctrl->profile.nbchannel; profile 433 drivers/staging/isdn/avm/b1.c memcpy(&ctrl->profile, cinfo->version[VER_PROFILE], sizeof(capi_profile)); profile 444 drivers/staging/isdn/avm/b1.c profp = &ctrl->profile; profile 674 drivers/staging/isdn/avm/b1.c flag = ((u8 *)(ctrl->profile.manu))[3]; profile 688 drivers/staging/isdn/avm/b1.c flag = ((u8 *)(ctrl->profile.manu))[5]; profile 782 drivers/staging/isdn/avm/b1dma.c else nconn = ctrl->profile.nbchannel * -want; profile 783 drivers/staging/isdn/avm/b1dma.c if (nconn == 0) nconn = ctrl->profile.nbchannel; profile 896 drivers/staging/isdn/avm/b1dma.c flag = ((u8 *)(ctrl->profile.manu))[3]; profile 910 drivers/staging/isdn/avm/b1dma.c flag = ((u8 *)(ctrl->profile.manu))[5]; profile 962 drivers/staging/isdn/avm/c4.c else nconn = ctrl->profile.nbchannel * 4 * -want; profile 963 drivers/staging/isdn/avm/c4.c if (nconn == 0) nconn = ctrl->profile.nbchannel * 4; profile 1101 drivers/staging/isdn/avm/c4.c flag = ((u8 *)(ctrl->profile.manu))[3]; profile 1115 drivers/staging/isdn/avm/c4.c flag = ((u8 *)(ctrl->profile.manu))[5]; profile 958 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.nbchannel = cs->channels; profile 960 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.goptions = 0x11; profile 962 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support1 = 0x03; profile 965 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support2 = 0x02; profile 967 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support3 = 0x01; profile 706 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.ncontroller = card->myid; profile 707 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.nbchannel = card->bchans; profile 708 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.goptions = GLOBAL_OPTION_INTERNAL_CONTROLLER | profile 710 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.support1 = B1_PROT_64KBIT_HDLC | profile 713 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.support2 = B2_PROT_ISO7776 | profile 716 drivers/staging/isdn/hysdn/hycapi.c ctrl->profile.support3 = B3_PROT_TRANSPARENT | profile 190 drivers/staging/media/allegro-dvt/allegro-core.c enum v4l2_mpeg_video_h264_profile profile; profile 322 drivers/staging/media/allegro-dvt/allegro-core.c u8 profile; profile 949 drivers/staging/media/allegro-dvt/allegro-core.c static u8 v4l2_profile_to_mcu_profile(enum v4l2_mpeg_video_h264_profile profile) profile 951 drivers/staging/media/allegro-dvt/allegro-core.c switch (profile) { profile 1023 drivers/staging/media/allegro-dvt/allegro-core.c msg.profile = v4l2_profile_to_mcu_profile(channel->profile); profile 1324 drivers/staging/media/allegro-dvt/allegro-core.c sps->profile_idc = nal_h264_profile_from_v4l2(channel->profile); profile 2062 drivers/staging/media/allegro-dvt/allegro-core.c channel->profile = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; profile 93 drivers/staging/media/allegro-dvt/nal-h264.c int nal_h264_profile_from_v4l2(enum v4l2_mpeg_video_h264_profile profile) profile 95 drivers/staging/media/allegro-dvt/nal-h264.c switch (profile) { profile 190 drivers/staging/media/allegro-dvt/nal-h264.h int nal_h264_profile_from_v4l2(enum v4l2_mpeg_video_h264_profile profile); profile 723 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_BASELINE; profile 726 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = profile 730 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_MAIN; profile 733 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_HIGH; profile 441 drivers/staging/vc04_services/bcm2835-camera/mmal-parameters.h enum mmal_video_profile profile; profile 133 drivers/target/target_core_iblock.c if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-IP") || profile 134 drivers/target/target_core_iblock.c !strcmp(bi->profile->name, "T10-DIF-TYPE1-IP")) { profile 136 drivers/target/target_core_iblock.c " supported\n", bi->profile->name); profile 141 drivers/target/target_core_iblock.c if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-CRC")) { profile 143 drivers/target/target_core_iblock.c } else if (!strcmp(bi->profile->name, "T10-DIF-TYPE1-CRC")) { profile 168 fs/btrfs/space-info.c u64 profile; profile 178 fs/btrfs/space-info.c profile = btrfs_system_alloc_profile(fs_info); profile 180 fs/btrfs/space-info.c profile = btrfs_metadata_alloc_profile(fs_info); profile 191 fs/btrfs/space-info.c factor = btrfs_bg_type_to_factor(profile); profile 1553 include/linux/blkdev.h if (!bi->profile) profile 153 include/linux/devfreq.h struct devfreq_dev_profile *profile; profile 190 include/linux/devfreq.h struct devfreq_dev_profile *profile, profile 195 include/linux/devfreq.h struct devfreq_dev_profile *profile, profile 299 include/linux/devfreq.h struct devfreq_dev_profile *profile, profile 312 include/linux/devfreq.h struct devfreq_dev_profile *profile, profile 173 include/linux/genhd.h const struct blk_integrity_profile *profile; profile 58 include/linux/isdn/capilli.h capi_profile profile; /* CAPI_GET_PROFILE */ profile 703 include/linux/mlx5/driver.h struct mlx5_profile *profile; profile 3777 include/linux/mlx5/mlx5_ifc.h u8 profile[0x10]; profile 28 include/misc/ocxl.h u8 profile; profile 28 include/trace/events/devfreq.h __entry->polling_ms = devfreq->profile->polling_ms; profile 137 include/uapi/linux/can/gw.h __u8 profile; profile 115 include/uapi/linux/capi.h capi_profile profile; profile 397 include/uapi/sound/compress_params.h __u32 profile; profile 241 net/bluetooth/cmtp/capi.c memcpy(&ctrl->profile, profile 398 net/bluetooth/cmtp/capi.c nconn = ctrl->profile.nbchannel * -want; profile 403 net/bluetooth/cmtp/capi.c nconn = ctrl->profile.nbchannel; profile 323 net/can/gw.c switch (crc8->profile) { profile 350 net/can/gw.c switch (crc8->profile) { profile 377 net/can/gw.c switch (crc8->profile) { profile 1554 net/wireless/scan.c u8 *new_ie, *profile; profile 1573 net/wireless/scan.c profile = kmalloc(ielen, gfp); profile 1574 net/wireless/scan.c if (!profile) profile 1597 net/wireless/scan.c memset(profile, 0, ielen); profile 1601 net/wireless/scan.c profile, profile 1607 net/wireless/scan.c profile, profile_len); profile 1631 net/wireless/scan.c profile, profile 1637 net/wireless/scan.c capability = get_unaligned_le16(profile + 2); profile 1655 net/wireless/scan.c kfree(profile); profile 610 security/apparmor/apparmorfs.c static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, profile 617 security/apparmor/apparmorfs.c if (profile_unconfined(profile)) profile 619 security/apparmor/apparmorfs.c if (profile->file.dfa && *match_str == AA_CLASS_FILE) { profile 620 security/apparmor/apparmorfs.c dfa = profile->file.dfa; profile 621 security/apparmor/apparmorfs.c state = aa_dfa_match_len(dfa, profile->file.start, profile 628 security/apparmor/apparmorfs.c } else if (profile->policy.dfa) { profile 629 security/apparmor/apparmorfs.c if (!PROFILE_MEDIATES(profile, *match_str)) profile 631 security/apparmor/apparmorfs.c dfa = profile->policy.dfa; profile 632 security/apparmor/apparmorfs.c state = aa_dfa_match_len(dfa, profile->policy.start[0], profile 637 security/apparmor/apparmorfs.c aa_apply_modes_to_perms(profile, &tmp); profile 667 security/apparmor/apparmorfs.c struct aa_profile *profile; profile 702 security/apparmor/apparmorfs.c label_for_each_confined(i, label, profile) { profile 703 security/apparmor/apparmorfs.c if (!profile->data) profile 706 security/apparmor/apparmorfs.c data = rhashtable_lookup_fast(profile->data, &key, profile 707 security/apparmor/apparmorfs.c profile->data->p); profile 756 security/apparmor/apparmorfs.c struct aa_profile *profile; profile 788 security/apparmor/apparmorfs.c label_for_each_in_ns(i, labels_ns(label), label, profile) { profile 789 security/apparmor/apparmorfs.c profile_query_cb(profile, &perms, match_str, match_len); profile 792 security/apparmor/apparmorfs.c label_for_each(i, label, profile) { profile 793 security/apparmor/apparmorfs.c profile_query_cb(profile, &perms, match_str, match_len); profile 1070 security/apparmor/apparmorfs.c struct aa_profile *profile = labels_profile(label); profile 1071 security/apparmor/apparmorfs.c seq_printf(seq, "%s\n", profile->base.name); profile 1081 security/apparmor/apparmorfs.c struct aa_profile *profile = labels_profile(label); profile 1082 security/apparmor/apparmorfs.c seq_printf(seq, "%s\n", aa_profile_mode_names[profile->mode]); profile 1092 security/apparmor/apparmorfs.c struct aa_profile *profile = labels_profile(label); profile 1093 security/apparmor/apparmorfs.c if (profile->attach) profile 1094 security/apparmor/apparmorfs.c seq_printf(seq, "%s\n", profile->attach); profile 1095 security/apparmor/apparmorfs.c else if (profile->xmatch) profile 1098 security/apparmor/apparmorfs.c seq_printf(seq, "%s\n", profile->base.name); profile 1108 security/apparmor/apparmorfs.c struct aa_profile *profile = labels_profile(label); profile 1111 security/apparmor/apparmorfs.c if (profile->hash) { profile 1113 security/apparmor/apparmorfs.c seq_printf(seq, "%.2x", profile->hash[i]); profile 1160 security/apparmor/apparmorfs.c struct aa_profile *profile; profile 1167 security/apparmor/apparmorfs.c label_for_each(it, label, profile) profile 1168 security/apparmor/apparmorfs.c if (profile->ns != labels_ns(label)) { profile 1417 security/apparmor/apparmorfs.c void __aafs_profile_rmdir(struct aa_profile *profile) profile 1422 security/apparmor/apparmorfs.c if (!profile) profile 1425 security/apparmor/apparmorfs.c list_for_each_entry(child, &profile->base.profiles, base.list) profile 1430 security/apparmor/apparmorfs.c if (!profile->dents[i]) profile 1433 security/apparmor/apparmorfs.c proxy = d_inode(profile->dents[i])->i_private; profile 1434 security/apparmor/apparmorfs.c aafs_remove(profile->dents[i]); profile 1436 security/apparmor/apparmorfs.c profile->dents[i] = NULL; profile 1462 security/apparmor/apparmorfs.c struct aa_profile *profile, profile 1465 security/apparmor/apparmorfs.c struct aa_proxy *proxy = aa_get_proxy(profile->label.proxy); profile 1475 security/apparmor/apparmorfs.c static int profile_depth(struct aa_profile *profile) profile 1480 security/apparmor/apparmorfs.c for (depth = 0; profile; profile = rcu_access_pointer(profile->parent)) profile 1524 security/apparmor/apparmorfs.c struct aa_profile *profile; profile 1532 security/apparmor/apparmorfs.c profile = labels_profile(label); profile 1533 security/apparmor/apparmorfs.c depth = profile_depth(profile); profile 1534 security/apparmor/apparmorfs.c target = gen_symlink_name(depth, profile->rawdata->name, name); profile 1581 security/apparmor/apparmorfs.c int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent) profile 1587 security/apparmor/apparmorfs.c AA_BUG(!profile); profile 1588 security/apparmor/apparmorfs.c AA_BUG(!mutex_is_locked(&profiles_ns(profile)->lock)); profile 1592 security/apparmor/apparmorfs.c p = aa_deref_parent(profile); profile 1601 security/apparmor/apparmorfs.c if (!profile->dirname) { profile 1603 security/apparmor/apparmorfs.c len = mangle_name(profile->base.name, NULL); profile 1604 security/apparmor/apparmorfs.c id_len = snprintf(NULL, 0, ".%ld", profile->ns->uniq_id); profile 1606 security/apparmor/apparmorfs.c profile->dirname = kmalloc(len + id_len + 1, GFP_KERNEL); profile 1607 security/apparmor/apparmorfs.c if (!profile->dirname) { profile 1612 security/apparmor/apparmorfs.c mangle_name(profile->base.name, profile->dirname); profile 1613 security/apparmor/apparmorfs.c sprintf(profile->dirname + len, ".%ld", profile->ns->uniq_id++); profile 1616 security/apparmor/apparmorfs.c dent = aafs_create_dir(profile->dirname, parent); profile 1619 security/apparmor/apparmorfs.c prof_dir(profile) = dir = dent; profile 1621 security/apparmor/apparmorfs.c dent = create_profile_file(dir, "name", profile, profile 1625 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_NAME] = dent; profile 1627 security/apparmor/apparmorfs.c dent = create_profile_file(dir, "mode", profile, profile 1631 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_MODE] = dent; profile 1633 security/apparmor/apparmorfs.c dent = create_profile_file(dir, "attach", profile, profile 1637 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_ATTACH] = dent; profile 1639 security/apparmor/apparmorfs.c if (profile->hash) { profile 1640 security/apparmor/apparmorfs.c dent = create_profile_file(dir, "sha1", profile, profile 1644 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_HASH] = dent; profile 1647 security/apparmor/apparmorfs.c if (profile->rawdata) { profile 1649 security/apparmor/apparmorfs.c profile->label.proxy, profile 1653 security/apparmor/apparmorfs.c aa_get_proxy(profile->label.proxy); profile 1654 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_RAW_HASH] = dent; profile 1657 security/apparmor/apparmorfs.c profile->label.proxy, profile 1661 security/apparmor/apparmorfs.c aa_get_proxy(profile->label.proxy); profile 1662 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_RAW_ABI] = dent; profile 1665 security/apparmor/apparmorfs.c profile->label.proxy, profile 1669 security/apparmor/apparmorfs.c aa_get_proxy(profile->label.proxy); profile 1670 security/apparmor/apparmorfs.c profile->dents[AAFS_PROF_RAW_DATA] = dent; profile 1673 security/apparmor/apparmorfs.c list_for_each_entry(child, &profile->base.profiles, base.list) { profile 1674 security/apparmor/apparmorfs.c error = __aafs_profile_mkdir(child, prof_child_dir(profile)); profile 1685 security/apparmor/apparmorfs.c __aafs_profile_rmdir(profile); profile 2080 security/apparmor/apparmorfs.c struct aa_profile *profile) profile 2082 security/apparmor/apparmorfs.c struct aa_profile *next = __next_profile(profile); profile 2087 security/apparmor/apparmorfs.c return __first_profile(root, __next_ns(root, profile->ns)); profile 2101 security/apparmor/apparmorfs.c struct aa_profile *profile = NULL; profile 2108 security/apparmor/apparmorfs.c profile = __first_profile(root, root); profile 2111 security/apparmor/apparmorfs.c for (; profile && l > 0; l--) profile 2112 security/apparmor/apparmorfs.c profile = next_profile(root, profile); profile 2114 security/apparmor/apparmorfs.c return profile; profile 2129 security/apparmor/apparmorfs.c struct aa_profile *profile = p; profile 2133 security/apparmor/apparmorfs.c return next_profile(ns, profile); profile 2145 security/apparmor/apparmorfs.c struct aa_profile *profile = p; profile 2148 security/apparmor/apparmorfs.c if (profile) { profile 2149 security/apparmor/apparmorfs.c for (ns = profile->ns; ns && ns != root; ns = ns->parent) profile 2165 security/apparmor/apparmorfs.c struct aa_profile *profile = (struct aa_profile *)p; profile 2168 security/apparmor/apparmorfs.c aa_label_seq_xprint(f, root, &profile->label, profile 80 security/apparmor/audit.c struct aa_profile *profile = labels_profile(label); profile 82 security/apparmor/audit.c if (profile->ns != root_ns) { profile 85 security/apparmor/audit.c profile->ns->base.hname); profile 88 security/apparmor/audit.c audit_log_untrustedstring(ab, profile->base.hname); profile 125 security/apparmor/audit.c int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, profile 128 security/apparmor/audit.c AA_BUG(!profile); profile 132 security/apparmor/audit.c if (AUDIT_MODE(profile) != AUDIT_ALL) profile 135 security/apparmor/audit.c } else if (COMPLAIN_MODE(profile)) profile 140 security/apparmor/audit.c if (AUDIT_MODE(profile) == AUDIT_QUIET || profile 142 security/apparmor/audit.c AUDIT_MODE(profile) == AUDIT_QUIET)) profile 145 security/apparmor/audit.c if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) profile 148 security/apparmor/audit.c aad(sa)->label = &profile->label; profile 33 security/apparmor/capability.c struct aa_profile *profile; profile 64 security/apparmor/capability.c static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, profile 74 security/apparmor/capability.c if (likely((AUDIT_MODE(profile) != AUDIT_ALL) && profile 75 security/apparmor/capability.c !cap_raised(profile->caps.audit, cap))) profile 78 security/apparmor/capability.c } else if (KILL_MODE(profile) || profile 79 security/apparmor/capability.c cap_raised(profile->caps.kill, cap)) { profile 81 security/apparmor/capability.c } else if (cap_raised(profile->caps.quiet, cap) && profile 82 security/apparmor/capability.c AUDIT_MODE(profile) != AUDIT_NOQUIET && profile 83 security/apparmor/capability.c AUDIT_MODE(profile) != AUDIT_ALL) { profile 90 security/apparmor/capability.c if (profile == ent->profile && cap_raised(ent->caps, cap)) { profile 92 security/apparmor/capability.c if (COMPLAIN_MODE(profile)) profile 96 security/apparmor/capability.c aa_put_profile(ent->profile); profile 97 security/apparmor/capability.c ent->profile = aa_get_profile(profile); profile 102 security/apparmor/capability.c return aa_audit(type, profile, sa, audit_cb); profile 114 security/apparmor/capability.c static int profile_capable(struct aa_profile *profile, int cap, profile 119 security/apparmor/capability.c if (cap_raised(profile->caps.allow, cap) && profile 120 security/apparmor/capability.c !cap_raised(profile->caps.denied, cap)) profile 126 security/apparmor/capability.c if (!COMPLAIN_MODE(profile)) profile 134 security/apparmor/capability.c return audit_caps(sa, profile, cap, error); profile 149 security/apparmor/capability.c struct aa_profile *profile; profile 154 security/apparmor/capability.c error = fn_for_each_confined(label, profile, profile 155 security/apparmor/capability.c profile_capable(profile, cap, opts, &sa)); profile 61 security/apparmor/crypto.c int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, profile 74 security/apparmor/crypto.c profile->hash = kzalloc(apparmor_hash_size, GFP_KERNEL); profile 75 security/apparmor/crypto.c if (!profile->hash) profile 89 security/apparmor/crypto.c error = crypto_shash_final(desc, profile->hash); profile 96 security/apparmor/crypto.c kfree(profile->hash); profile 97 security/apparmor/crypto.c profile->hash = NULL; profile 97 security/apparmor/domain.c static inline unsigned int match_component(struct aa_profile *profile, profile 104 security/apparmor/domain.c state = aa_dfa_match(profile->file.dfa, state, "&"); profile 105 security/apparmor/domain.c if (profile->ns == tp->ns) profile 106 security/apparmor/domain.c return aa_dfa_match(profile->file.dfa, state, tp->base.hname); profile 109 security/apparmor/domain.c ns_name = aa_ns_name(profile->ns, tp->ns, true); profile 110 security/apparmor/domain.c state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); profile 111 security/apparmor/domain.c state = aa_dfa_match(profile->file.dfa, state, ns_name); profile 112 security/apparmor/domain.c state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); profile 113 security/apparmor/domain.c return aa_dfa_match(profile->file.dfa, state, tp->base.hname); profile 132 security/apparmor/domain.c static int label_compound_match(struct aa_profile *profile, profile 143 security/apparmor/domain.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 145 security/apparmor/domain.c state = match_component(profile, tp, stack, state); profile 157 security/apparmor/domain.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 159 security/apparmor/domain.c state = aa_dfa_match(profile->file.dfa, state, "//&"); profile 160 security/apparmor/domain.c state = match_component(profile, tp, false, state); profile 164 security/apparmor/domain.c *perms = aa_compute_fperms(profile->file.dfa, state, &cond); profile 165 security/apparmor/domain.c aa_apply_modes_to_perms(profile, perms); profile 192 security/apparmor/domain.c static int label_components_match(struct aa_profile *profile, profile 205 security/apparmor/domain.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 207 security/apparmor/domain.c state = match_component(profile, tp, stack, start); profile 217 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); profile 218 security/apparmor/domain.c aa_apply_modes_to_perms(profile, &tmp); profile 221 security/apparmor/domain.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 223 security/apparmor/domain.c state = match_component(profile, tp, stack, start); profile 226 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); profile 227 security/apparmor/domain.c aa_apply_modes_to_perms(profile, &tmp); profile 253 security/apparmor/domain.c static int label_match(struct aa_profile *profile, struct aa_label *label, profile 260 security/apparmor/domain.c error = label_compound_match(profile, label, stack, state, subns, profile 266 security/apparmor/domain.c return label_components_match(profile, label, stack, state, subns, profile 286 security/apparmor/domain.c static int change_profile_perms(struct aa_profile *profile, profile 291 security/apparmor/domain.c if (profile_unconfined(profile)) { profile 298 security/apparmor/domain.c return label_match(profile, target, stack, start, true, request, perms); profile 310 security/apparmor/domain.c struct aa_profile *profile, unsigned int state) profile 316 security/apparmor/domain.c int value_size = 0, ret = profile->xattr_count; profile 318 security/apparmor/domain.c if (!bprm || !profile->xattr_count) profile 323 security/apparmor/domain.c state = aa_dfa_null_transition(profile->xmatch, state); profile 327 security/apparmor/domain.c for (i = 0; i < profile->xattr_count; i++) { profile 328 security/apparmor/domain.c size = vfs_getxattr_alloc(d, profile->xattrs[i], &value, profile 334 security/apparmor/domain.c state = aa_dfa_match_len(profile->xmatch, state, value, profile 336 security/apparmor/domain.c perm = dfa_user_allow(profile->xmatch, state); profile 343 security/apparmor/domain.c state = aa_dfa_null_transition(profile->xmatch, state); profile 387 security/apparmor/domain.c struct aa_profile *profile, *candidate = NULL; profile 394 security/apparmor/domain.c list_for_each_entry_rcu(profile, head, base.list) { profile 395 security/apparmor/domain.c if (profile->label.flags & FLAG_NULL && profile 396 security/apparmor/domain.c &profile->label == ns_unconfined(profile->ns)) profile 410 security/apparmor/domain.c if (profile->xmatch) { profile 414 security/apparmor/domain.c state = aa_dfa_leftmatch(profile->xmatch, DFA_START, profile 416 security/apparmor/domain.c perm = dfa_user_allow(profile->xmatch, state); profile 424 security/apparmor/domain.c if (bprm && profile->xattr_count) { profile 427 security/apparmor/domain.c if (!aa_get_profile_not0(profile)) profile 430 security/apparmor/domain.c ret = aa_xattrs_match(bprm, profile, profile 433 security/apparmor/domain.c aa_put_profile(profile); profile 462 security/apparmor/domain.c candidate = profile; profile 463 security/apparmor/domain.c candidate_len = profile->xmatch_len; profile 467 security/apparmor/domain.c } else if (!strcmp(profile->base.name, name)) { profile 472 security/apparmor/domain.c candidate = profile; profile 504 security/apparmor/domain.c struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, profile 517 security/apparmor/domain.c for (*name = profile->file.trans.table[index]; !label && *name; profile 522 security/apparmor/domain.c new_profile = aa_find_child(profile, *name); profile 527 security/apparmor/domain.c label = aa_label_parse(&profile->label, *name, GFP_ATOMIC, profile 550 security/apparmor/domain.c static struct aa_label *x_to_label(struct aa_profile *profile, profile 557 security/apparmor/domain.c struct aa_ns *ns = profile->ns; profile 568 security/apparmor/domain.c stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; profile 571 security/apparmor/domain.c new = x_table_lookup(profile, xindex, lookupname); profile 579 security/apparmor/domain.c new = find_attach(bprm, ns, &profile->base.profiles, profile 596 security/apparmor/domain.c new = aa_get_newest_label(&profile->label); profile 598 security/apparmor/domain.c new = aa_get_newest_label(ns_unconfined(profile->ns)); profile 617 security/apparmor/domain.c static struct aa_label *profile_transition(struct aa_profile *profile, profile 626 security/apparmor/domain.c unsigned int state = profile->file.start; profile 631 security/apparmor/domain.c AA_BUG(!profile); profile 635 security/apparmor/domain.c error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, profile 636 security/apparmor/domain.c &name, &info, profile->disconnected); profile 638 security/apparmor/domain.c if (profile_unconfined(profile) || profile 639 security/apparmor/domain.c (profile->label.flags & FLAG_IX_ON_NAME_ERROR)) { profile 642 security/apparmor/domain.c new = aa_get_newest_label(&profile->label); profile 648 security/apparmor/domain.c if (profile_unconfined(profile)) { profile 649 security/apparmor/domain.c new = find_attach(bprm, profile->ns, profile 650 security/apparmor/domain.c &profile->ns->base.profiles, name, &info); profile 656 security/apparmor/domain.c return aa_get_newest_label(&profile->label); profile 660 security/apparmor/domain.c state = aa_str_perms(profile->file.dfa, state, name, cond, &perms); profile 663 security/apparmor/domain.c new = x_to_label(profile, bprm, name, perms.xindex, &target, profile 665 security/apparmor/domain.c if (new && new->proxy == profile->label.proxy && info) { profile 689 security/apparmor/domain.c } else if (COMPLAIN_MODE(profile)) { profile 699 security/apparmor/domain.c new_profile = aa_new_null_profile(profile, false, n, profile 733 security/apparmor/domain.c aa_audit_file(profile, &perms, OP_EXEC, MAY_EXEC, name, target, new, profile 743 security/apparmor/domain.c static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, profile 748 security/apparmor/domain.c unsigned int state = profile->file.start; profile 753 security/apparmor/domain.c AA_BUG(!profile); profile 758 security/apparmor/domain.c if (profile_unconfined(profile)) { profile 768 security/apparmor/domain.c error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, profile 769 security/apparmor/domain.c &xname, &info, profile->disconnected); profile 771 security/apparmor/domain.c if (profile_unconfined(profile) || profile 772 security/apparmor/domain.c (profile->label.flags & FLAG_IX_ON_NAME_ERROR)) { profile 781 security/apparmor/domain.c state = aa_str_perms(profile->file.dfa, state, xname, cond, &perms); profile 790 security/apparmor/domain.c state = aa_dfa_null_transition(profile->file.dfa, state); profile 791 security/apparmor/domain.c error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, profile 809 security/apparmor/domain.c return aa_audit_file(profile, &perms, OP_EXEC, AA_MAY_ONEXEC, xname, profile 821 security/apparmor/domain.c struct aa_profile *profile; profile 831 security/apparmor/domain.c error = fn_for_each_in_ns(label, profile, profile 832 security/apparmor/domain.c profile_onexec(profile, onexec, stack, profile 836 security/apparmor/domain.c new = fn_label_build_in_ns(label, profile, GFP_ATOMIC, profile 838 security/apparmor/domain.c profile_transition(profile, bprm, buffer, profile 843 security/apparmor/domain.c error = fn_for_each_in_ns(label, profile, profile 844 security/apparmor/domain.c profile_onexec(profile, onexec, stack, bprm, profile 848 security/apparmor/domain.c new = fn_label_build_in_ns(label, profile, GFP_ATOMIC, profile 849 security/apparmor/domain.c aa_label_merge(&profile->label, onexec, profile 851 security/apparmor/domain.c profile_transition(profile, bprm, buffer, profile 859 security/apparmor/domain.c error = fn_for_each_in_ns(label, profile, profile 860 security/apparmor/domain.c aa_audit_file(profile, &nullperms, OP_CHANGE_ONEXEC, profile 879 security/apparmor/domain.c struct aa_profile *profile; profile 916 security/apparmor/domain.c new = fn_label_build(label, profile, GFP_ATOMIC, profile 917 security/apparmor/domain.c profile_transition(profile, bprm, buffer, profile 987 security/apparmor/domain.c error = fn_for_each(label, profile, profile 988 security/apparmor/domain.c aa_audit_file(profile, &nullperms, OP_EXEC, MAY_EXEC, profile 1005 security/apparmor/domain.c static struct aa_label *build_change_hat(struct aa_profile *profile, profile 1012 security/apparmor/domain.c if (sibling && PROFILE_IS_HAT(profile)) { profile 1013 security/apparmor/domain.c root = aa_get_profile_rcu(&profile->parent); profile 1014 security/apparmor/domain.c } else if (!sibling && !PROFILE_IS_HAT(profile)) { profile 1015 security/apparmor/domain.c root = aa_get_profile(profile); profile 1025 security/apparmor/domain.c if (COMPLAIN_MODE(profile)) { profile 1026 security/apparmor/domain.c hat = aa_new_null_profile(profile, true, name, profile 1037 security/apparmor/domain.c aa_audit_file(profile, &nullperms, OP_CHANGE_HAT, AA_MAY_CHANGEHAT, profile 1056 security/apparmor/domain.c struct aa_profile *profile, *root, *hat = NULL; profile 1073 security/apparmor/domain.c label_for_each_in_ns(it, labels_ns(label), label, profile) { profile 1074 security/apparmor/domain.c if (sibling && PROFILE_IS_HAT(profile)) { profile 1075 security/apparmor/domain.c root = aa_get_profile_rcu(&profile->parent); profile 1076 security/apparmor/domain.c } else if (!sibling && !PROFILE_IS_HAT(profile)) { profile 1077 security/apparmor/domain.c root = aa_get_profile(profile); profile 1086 security/apparmor/domain.c if (!COMPLAIN_MODE(profile)) profile 1109 security/apparmor/domain.c label_for_each_in_ns(it, labels_ns(label), label, profile) { profile 1110 security/apparmor/domain.c if (!list_empty(&profile->base.profiles)) { profile 1120 security/apparmor/domain.c label_for_each_in_ns(it, labels_ns(label), label, profile) { profile 1128 security/apparmor/domain.c if (count > 1 || COMPLAIN_MODE(profile)) { profile 1129 security/apparmor/domain.c aa_audit_file(profile, &nullperms, OP_CHANGE_HAT, profile 1137 security/apparmor/domain.c new = fn_label_build_in_ns(label, profile, GFP_KERNEL, profile 1138 security/apparmor/domain.c build_change_hat(profile, name, sibling), profile 1139 security/apparmor/domain.c aa_get_label(&profile->label)); profile 1171 security/apparmor/domain.c struct aa_profile *profile; profile 1269 security/apparmor/domain.c fn_for_each_in_ns(label, profile, profile 1270 security/apparmor/domain.c aa_audit_file(profile, &perms, OP_CHANGE_HAT, profile 1279 security/apparmor/domain.c struct aa_profile *profile, profile 1287 security/apparmor/domain.c error = change_profile_perms(profile, target, stack, request, profile 1288 security/apparmor/domain.c profile->file.start, perms); profile 1290 security/apparmor/domain.c error = aa_audit_file(profile, perms, op, request, name, profile 1314 security/apparmor/domain.c struct aa_profile *profile; profile 1395 security/apparmor/domain.c error = fn_for_each_in_ns(label, profile, profile 1397 security/apparmor/domain.c profile, target, stack, profile 1408 security/apparmor/domain.c if (error && !fn_for_each_in_ns(label, profile, profile 1409 security/apparmor/domain.c COMPLAIN_MODE(profile))) profile 1424 security/apparmor/domain.c new = fn_label_build_in_ns(label, profile, GFP_KERNEL, profile 1426 security/apparmor/domain.c aa_get_label(&profile->label)); profile 1466 security/apparmor/domain.c error = fn_for_each_in_ns(label, profile, profile 1467 security/apparmor/domain.c aa_audit_file(profile, &perms, op, request, auditname, profile 101 security/apparmor/file.c int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, profile 122 security/apparmor/file.c if (unlikely(AUDIT_MODE(profile) == AUDIT_ALL)) profile 141 security/apparmor/file.c AUDIT_MODE(profile) != AUDIT_NOQUIET && profile 142 security/apparmor/file.c AUDIT_MODE(profile) != AUDIT_ALL) profile 150 security/apparmor/file.c return aa_audit(type, profile, &sa, file_audit_cb); profile 170 security/apparmor/file.c struct aa_profile *profile; profile 177 security/apparmor/file.c fn_for_each_confined(label, profile, profile 178 security/apparmor/file.c aa_audit_file(profile, &nullperms, op, request, *name, profile 277 security/apparmor/file.c int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, profile 283 security/apparmor/file.c if (profile_unconfined(profile)) profile 285 security/apparmor/file.c aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); profile 288 security/apparmor/file.c return aa_audit_file(profile, perms, op, request, name, NULL, NULL, profile 293 security/apparmor/file.c static int profile_path_perm(const char *op, struct aa_profile *profile, profile 301 security/apparmor/file.c if (profile_unconfined(profile)) profile 304 security/apparmor/file.c error = path_name(op, &profile->label, path, profile 305 security/apparmor/file.c flags | profile->path_flags, buffer, &name, cond, profile 309 security/apparmor/file.c return __aa_path_perm(op, profile, name, request, cond, flags, profile 329 security/apparmor/file.c struct aa_profile *profile; profile 336 security/apparmor/file.c error = fn_for_each_confined(label, profile, profile 337 security/apparmor/file.c profile_path_perm(op, profile, path, buffer, request, profile 365 security/apparmor/file.c static int profile_path_link(struct aa_profile *profile, profile 377 security/apparmor/file.c error = path_name(OP_LINK, &profile->label, link, profile->path_flags, profile 383 security/apparmor/file.c error = path_name(OP_LINK, &profile->label, target, profile->path_flags, profile 390 security/apparmor/file.c state = aa_str_perms(profile->file.dfa, profile->file.start, lname, profile 397 security/apparmor/file.c state = aa_dfa_null_transition(profile->file.dfa, state); profile 398 security/apparmor/file.c aa_str_perms(profile->file.dfa, state, tname, cond, &perms); profile 420 security/apparmor/file.c aa_str_perms(profile->file.dfa, profile->file.start, tname, cond, profile 442 security/apparmor/file.c return aa_audit_file(profile, &lperms, OP_LINK, request, lname, tname, profile 474 security/apparmor/file.c struct aa_profile *profile; profile 479 security/apparmor/file.c error = fn_for_each_confined(label, profile, profile 480 security/apparmor/file.c profile_path_link(profile, &link, buffer, &target, profile 512 security/apparmor/file.c struct aa_profile *profile; profile 530 security/apparmor/file.c error = fn_for_each_not_in_set(flabel, label, profile, profile 531 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, buffer, profile 543 security/apparmor/file.c error = fn_for_each(label, profile, profile 544 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, profile 548 security/apparmor/file.c error = fn_for_each_not_in_set(label, flabel, profile, profile 549 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, profile 108 security/apparmor/include/apparmorfs.h void __aafs_profile_rmdir(struct aa_profile *profile); profile 111 security/apparmor/include/apparmorfs.h int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent); profile 142 security/apparmor/include/audit.h struct aa_profile *profile; profile 170 security/apparmor/include/audit.h int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, profile 18 security/apparmor/include/crypto.h int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, profile 25 security/apparmor/include/crypto.h static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, profile 30 security/apparmor/include/domain.h struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, profile 159 security/apparmor/include/file.h int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, profile 189 security/apparmor/include/file.h int __aa_path_perm(const char *op, struct aa_profile *profile, profile 261 security/apparmor/include/label.h struct aa_profile *profile; \ profile 264 security/apparmor/include/label.h label_for_each(i, (L), profile) { \ profile 265 security/apparmor/include/label.h if (PROFILE_MEDIATES(profile, (C))) { \ profile 359 security/apparmor/include/label.h int aa_label_match(struct aa_profile *profile, struct aa_label *label, profile 227 security/apparmor/include/lib.h DEFINE_VEC(profile, __pvec); \ profile 242 security/apparmor/include/lib.h if (!vec_setup(profile, __pvec, __count, (GFP))) { \ profile 256 security/apparmor/include/lib.h vec_cleanup(profile, __pvec, __count); \ profile 92 security/apparmor/include/net.h int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, profile 96 security/apparmor/include/net.h static inline int aa_profile_af_sk_perm(struct aa_profile *profile, profile 101 security/apparmor/include/net.h return aa_profile_af_perm(profile, sa, request, sk->sk_family, profile 142 security/apparmor/include/perms.h void aa_apply_modes_to_perms(struct aa_profile *profile, profile 148 security/apparmor/include/perms.h void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label, profile 150 security/apparmor/include/perms.h int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, profile 153 security/apparmor/include/perms.h int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, profile 174 security/apparmor/include/policy.h void aa_add_profile(struct aa_policy *common, struct aa_profile *profile); profile 182 security/apparmor/include/policy.h void aa_free_profile(struct aa_profile *profile); profile 216 security/apparmor/include/policy.h static inline unsigned int PROFILE_MEDIATES(struct aa_profile *profile, profile 220 security/apparmor/include/policy.h return profile->policy.start[class]; profile 222 security/apparmor/include/policy.h return aa_dfa_match_len(profile->policy.dfa, profile 223 security/apparmor/include/policy.h profile->policy.start[0], &class, 1); profile 226 security/apparmor/include/policy.h static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile, profile 228 security/apparmor/include/policy.h unsigned int state = PROFILE_MEDIATES(profile, AA_CLASS_NET); profile 233 security/apparmor/include/policy.h return aa_dfa_match_len(profile->policy.dfa, state, (char *) &be_af, 2); profile 296 security/apparmor/include/policy.h static inline int AUDIT_MODE(struct aa_profile *profile) profile 301 security/apparmor/include/policy.h return profile->audit; profile 65 security/apparmor/ipc.c static int profile_ptrace_perm(struct aa_profile *profile, profile 72 security/apparmor/ipc.c aa_profile_match_label(profile, peer, AA_CLASS_PTRACE, request, profile 74 security/apparmor/ipc.c aa_apply_modes_to_perms(profile, &perms); profile 75 security/apparmor/ipc.c return aa_check_perms(profile, &perms, request, sa, audit_ptrace_cb); profile 123 security/apparmor/ipc.c struct aa_profile *profile; profile 127 security/apparmor/ipc.c return xcheck_labels(tracer, tracee, profile, profile 128 security/apparmor/ipc.c profile_tracer_perm(profile, tracee, request, &sa), profile 129 security/apparmor/ipc.c profile_tracee_perm(profile, tracer, xrequest, &sa)); profile 187 security/apparmor/ipc.c static int profile_signal_perm(struct aa_profile *profile, profile 194 security/apparmor/ipc.c if (profile_unconfined(profile) || profile 195 security/apparmor/ipc.c !PROFILE_MEDIATES(profile, AA_CLASS_SIGNAL)) profile 200 security/apparmor/ipc.c state = aa_dfa_next(profile->policy.dfa, profile 201 security/apparmor/ipc.c profile->policy.start[AA_CLASS_SIGNAL], profile 203 security/apparmor/ipc.c aa_label_match(profile, peer, state, false, request, &perms); profile 204 security/apparmor/ipc.c aa_apply_modes_to_perms(profile, &perms); profile 205 security/apparmor/ipc.c return aa_check_perms(profile, &perms, request, sa, audit_signal_cb); profile 210 security/apparmor/ipc.c struct aa_profile *profile; profile 215 security/apparmor/ipc.c return xcheck_labels(sender, target, profile, profile 216 security/apparmor/ipc.c profile_signal_perm(profile, target, MAY_WRITE, &sa), profile 217 security/apparmor/ipc.c profile_signal_perm(profile, sender, MAY_READ, &sa)); profile 319 security/apparmor/label.c struct aa_profile *profile; profile 324 security/apparmor/label.c label_for_each(i, label, profile) { profile 325 security/apparmor/label.c aa_put_profile(profile); profile 1230 security/apparmor/label.c static inline bool label_is_visible(struct aa_profile *profile, profile 1233 security/apparmor/label.c return aa_ns_visible(profile->ns, labels_ns(label), true); profile 1241 security/apparmor/label.c static inline unsigned int match_component(struct aa_profile *profile, profile 1247 security/apparmor/label.c if (profile->ns == tp->ns) profile 1248 security/apparmor/label.c return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); profile 1251 security/apparmor/label.c ns_name = aa_ns_name(profile->ns, tp->ns, true); profile 1252 security/apparmor/label.c state = aa_dfa_match_len(profile->policy.dfa, state, ":", 1); profile 1253 security/apparmor/label.c state = aa_dfa_match(profile->policy.dfa, state, ns_name); profile 1254 security/apparmor/label.c state = aa_dfa_match_len(profile->policy.dfa, state, ":", 1); profile 1255 security/apparmor/label.c return aa_dfa_match(profile->policy.dfa, state, tp->base.hname); profile 1273 security/apparmor/label.c static int label_compound_match(struct aa_profile *profile, profile 1283 security/apparmor/label.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 1285 security/apparmor/label.c state = match_component(profile, tp, state); profile 1297 security/apparmor/label.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 1299 security/apparmor/label.c state = aa_dfa_match(profile->policy.dfa, state, "//&"); profile 1300 security/apparmor/label.c state = match_component(profile, tp, state); profile 1304 security/apparmor/label.c aa_compute_perms(profile->policy.dfa, state, perms); profile 1305 security/apparmor/label.c aa_apply_modes_to_perms(profile, perms); profile 1331 security/apparmor/label.c static int label_components_match(struct aa_profile *profile, profile 1343 security/apparmor/label.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 1345 security/apparmor/label.c state = match_component(profile, tp, start); profile 1355 security/apparmor/label.c aa_compute_perms(profile->policy.dfa, state, &tmp); profile 1356 security/apparmor/label.c aa_apply_modes_to_perms(profile, &tmp); profile 1359 security/apparmor/label.c if (!aa_ns_visible(profile->ns, tp->ns, subns)) profile 1361 security/apparmor/label.c state = match_component(profile, tp, start); profile 1364 security/apparmor/label.c aa_compute_perms(profile->policy.dfa, state, &tmp); profile 1365 security/apparmor/label.c aa_apply_modes_to_perms(profile, &tmp); profile 1390 security/apparmor/label.c int aa_label_match(struct aa_profile *profile, struct aa_label *label, profile 1394 security/apparmor/label.c int error = label_compound_match(profile, label, state, subns, request, profile 1400 security/apparmor/label.c return label_components_match(profile, label, state, subns, request, profile 1485 security/apparmor/label.c struct aa_profile *profile, int flags, profile 1491 security/apparmor/label.c AA_BUG(!profile); profile 1494 security/apparmor/label.c view = profiles_ns(profile); profile 1496 security/apparmor/label.c if (view != profile->ns && profile 1497 security/apparmor/label.c (!prev_ns || (*prev_ns != profile->ns))) { profile 1499 security/apparmor/label.c *prev_ns = profile->ns; profile 1500 security/apparmor/label.c ns_name = aa_ns_name(view, profile->ns, profile 1509 security/apparmor/label.c if ((flags & FLAG_SHOW_MODE) && profile != profile->ns->unconfined) { profile 1510 security/apparmor/label.c const char *modestr = aa_profile_mode_names[profile->mode]; profile 1514 security/apparmor/label.c profile->base.hname, modestr); profile 1515 security/apparmor/label.c return snprintf(str, size, "%s (%s)", profile->base.hname, profile 1521 security/apparmor/label.c profile->base.hname); profile 1522 security/apparmor/label.c return snprintf(str, size, "%s", profile->base.hname); profile 1528 security/apparmor/label.c struct aa_profile *profile; profile 1532 security/apparmor/label.c label_for_each(i, label, profile) { profile 1533 security/apparmor/label.c if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { profile 1534 security/apparmor/label.c if (profile->mode == APPARMOR_UNCONFINED) profile 1542 security/apparmor/label.c mode = profile->mode; profile 1543 security/apparmor/label.c else if (mode != profile->mode) profile 1562 security/apparmor/label.c struct aa_profile *profile; profile 1565 security/apparmor/label.c label_for_each(i, label, profile) { profile 1566 security/apparmor/label.c if (aa_ns_visible(ns, profile->ns, profile 1568 security/apparmor/label.c profile != profile->ns->unconfined) profile 1598 security/apparmor/label.c struct aa_profile *profile; profile 1615 security/apparmor/label.c label_for_each(i, label, profile) { profile 1616 security/apparmor/label.c if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) { profile 1621 security/apparmor/label.c len = aa_profile_snxprint(str, size, ns, profile, profile 1861 security/apparmor/label.c DEFINE_VEC(profile, vec); profile 1883 security/apparmor/label.c error = vec_setup(profile, vec, len, gfp); profile 1930 security/apparmor/label.c vec_cleanup(profile, vec, len); profile 290 security/apparmor/lib.c void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) profile 292 security/apparmor/lib.c switch (AUDIT_MODE(profile)) { profile 307 security/apparmor/lib.c if (KILL_MODE(profile)) profile 309 security/apparmor/lib.c else if (COMPLAIN_MODE(profile)) profile 381 security/apparmor/lib.c void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label, profile 387 security/apparmor/lib.c state = aa_dfa_next(profile->policy.dfa, profile 388 security/apparmor/lib.c profile->policy.start[AA_CLASS_LABEL], profile 390 security/apparmor/lib.c aa_label_match(profile, label, state, false, request, perms); profile 395 security/apparmor/lib.c int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, profile 401 security/apparmor/lib.c aad(sa)->label = &profile->label; profile 405 security/apparmor/lib.c aa_profile_match_label(profile, &target->label, type, request, &perms); profile 406 security/apparmor/lib.c aa_apply_modes_to_perms(profile, &perms); profile 408 security/apparmor/lib.c return aa_check_perms(profile, &perms, request, sa, aa_audit_perms_cb); profile 429 security/apparmor/lib.c int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, profile 463 security/apparmor/lib.c aad(sa)->label = &profile->label; profile 152 security/apparmor/lsm.c struct aa_profile *profile; profile 155 security/apparmor/lsm.c label_for_each_confined(i, label, profile) { profile 156 security/apparmor/lsm.c if (COMPLAIN_MODE(profile)) profile 159 security/apparmor/lsm.c profile->caps.allow); profile 161 security/apparmor/lsm.c profile->caps.allow); profile 130 security/apparmor/mount.c static int audit_mount(struct aa_profile *profile, const char *op, profile 142 security/apparmor/mount.c if (unlikely(AUDIT_MODE(profile) == AUDIT_ALL)) profile 160 security/apparmor/mount.c AUDIT_MODE(profile) != AUDIT_NOQUIET && profile 161 security/apparmor/mount.c AUDIT_MODE(profile) != AUDIT_ALL) profile 178 security/apparmor/mount.c return aa_audit(audit_type, profile, &sa, audit_cb); profile 292 security/apparmor/mount.c static int path_flags(struct aa_profile *profile, const struct path *path) profile 294 security/apparmor/mount.c AA_BUG(!profile); profile 297 security/apparmor/mount.c return profile->path_flags | profile 315 security/apparmor/mount.c static int match_mnt_path_str(struct aa_profile *profile, profile 325 security/apparmor/mount.c AA_BUG(!profile); profile 329 security/apparmor/mount.c if (!PROFILE_MEDIATES(profile, AA_CLASS_MOUNT)) profile 332 security/apparmor/mount.c error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, profile 333 security/apparmor/mount.c &mntpnt, &info, profile->disconnected); profile 344 security/apparmor/mount.c pos = do_match_mnt(profile->policy.dfa, profile 345 security/apparmor/mount.c profile->policy.start[AA_CLASS_MOUNT], profile 354 security/apparmor/mount.c return audit_mount(profile, OP_MOUNT, mntpnt, devname, type, NULL, profile 372 security/apparmor/mount.c static int match_mnt(struct aa_profile *profile, const struct path *path, profile 380 security/apparmor/mount.c AA_BUG(!profile); profile 383 security/apparmor/mount.c if (!PROFILE_MEDIATES(profile, AA_CLASS_MOUNT)) profile 387 security/apparmor/mount.c error = aa_path_name(devpath, path_flags(profile, devpath), profile 389 security/apparmor/mount.c profile->disconnected); profile 394 security/apparmor/mount.c return match_mnt_path_str(profile, path, buffer, devname, type, flags, profile 401 security/apparmor/mount.c struct aa_profile *profile; profile 412 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 413 security/apparmor/mount.c match_mnt(profile, path, buffer, NULL, NULL, NULL, profile 423 security/apparmor/mount.c struct aa_profile *profile; profile 441 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 442 security/apparmor/mount.c match_mnt(profile, path, buffer, &old_path, old_buffer, profile 453 security/apparmor/mount.c struct aa_profile *profile; profile 465 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 466 security/apparmor/mount.c match_mnt(profile, path, buffer, NULL, NULL, NULL, profile 476 security/apparmor/mount.c struct aa_profile *profile; profile 492 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 493 security/apparmor/mount.c match_mnt(profile, path, buffer, &old_path, old_buffer, profile 505 security/apparmor/mount.c struct aa_profile *profile; profile 538 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 539 security/apparmor/mount.c match_mnt(profile, path, buffer, dev_path, dev_buffer, profile 542 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 543 security/apparmor/mount.c match_mnt_path_str(profile, path, buffer, dev_name, profile 553 security/apparmor/mount.c static int profile_umount(struct aa_profile *profile, struct path *path, profile 561 security/apparmor/mount.c AA_BUG(!profile); profile 564 security/apparmor/mount.c if (!PROFILE_MEDIATES(profile, AA_CLASS_MOUNT)) profile 567 security/apparmor/mount.c error = aa_path_name(path, path_flags(profile, path), buffer, &name, profile 568 security/apparmor/mount.c &info, profile->disconnected); profile 572 security/apparmor/mount.c state = aa_dfa_match(profile->policy.dfa, profile 573 security/apparmor/mount.c profile->policy.start[AA_CLASS_MOUNT], profile 575 security/apparmor/mount.c perms = compute_mnt_perms(profile->policy.dfa, state); profile 580 security/apparmor/mount.c return audit_mount(profile, OP_UMOUNT, name, NULL, NULL, NULL, 0, NULL, profile 586 security/apparmor/mount.c struct aa_profile *profile; profile 595 security/apparmor/mount.c error = fn_for_each_confined(label, profile, profile 596 security/apparmor/mount.c profile_umount(profile, &path, buffer)); profile 606 security/apparmor/mount.c static struct aa_label *build_pivotroot(struct aa_profile *profile, profile 618 security/apparmor/mount.c AA_BUG(!profile); profile 622 security/apparmor/mount.c if (profile_unconfined(profile) || profile 623 security/apparmor/mount.c !PROFILE_MEDIATES(profile, AA_CLASS_MOUNT)) profile 624 security/apparmor/mount.c return aa_get_newest_label(&profile->label); profile 626 security/apparmor/mount.c error = aa_path_name(old_path, path_flags(profile, old_path), profile 628 security/apparmor/mount.c profile->disconnected); profile 631 security/apparmor/mount.c error = aa_path_name(new_path, path_flags(profile, new_path), profile 633 security/apparmor/mount.c profile->disconnected); profile 638 security/apparmor/mount.c state = aa_dfa_match(profile->policy.dfa, profile 639 security/apparmor/mount.c profile->policy.start[AA_CLASS_MOUNT], profile 641 security/apparmor/mount.c state = aa_dfa_null_transition(profile->policy.dfa, state); profile 642 security/apparmor/mount.c state = aa_dfa_match(profile->policy.dfa, state, old_name); profile 643 security/apparmor/mount.c perms = compute_mnt_perms(profile->policy.dfa, state); profile 649 security/apparmor/mount.c error = audit_mount(profile, OP_PIVOTROOT, new_name, old_name, profile 655 security/apparmor/mount.c return aa_get_newest_label(&profile->label); profile 661 security/apparmor/mount.c struct aa_profile *profile; profile 671 security/apparmor/mount.c target = fn_label_build(label, profile, GFP_ATOMIC, profile 672 security/apparmor/mount.c build_pivotroot(profile, new_path, new_buffer, profile 695 security/apparmor/mount.c error = fn_for_each(label, profile, profile 696 security/apparmor/mount.c audit_mount(profile, OP_PIVOTROOT, NULL /*new_name */, profile 106 security/apparmor/net.c int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, profile 116 security/apparmor/net.c if (profile_unconfined(profile)) profile 118 security/apparmor/net.c state = PROFILE_MEDIATES(profile, AA_CLASS_NET); profile 124 security/apparmor/net.c state = aa_dfa_match_len(profile->policy.dfa, state, (char *) &buffer, profile 126 security/apparmor/net.c aa_compute_perms(profile->policy.dfa, state, &perms); profile 127 security/apparmor/net.c aa_apply_modes_to_perms(profile, &perms); profile 129 security/apparmor/net.c return aa_check_perms(profile, &perms, request, sa, audit_net_cb); profile 135 security/apparmor/net.c struct aa_profile *profile; profile 138 security/apparmor/net.c return fn_for_each_confined(label, profile, profile 139 security/apparmor/net.c aa_profile_af_perm(profile, &sa, request, family, profile 152 security/apparmor/net.c struct aa_profile *profile; profile 155 security/apparmor/net.c error = fn_for_each_confined(label, profile, profile 156 security/apparmor/net.c aa_profile_af_sk_perm(profile, &sa, request, sk)); profile 211 security/apparmor/net.c static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, profile 217 security/apparmor/net.c if (profile->secmark_count == 0) profile 220 security/apparmor/net.c for (i = 0; i < profile->secmark_count; i++) { profile 221 security/apparmor/net.c if (!profile->secmark[i].secid) { profile 222 security/apparmor/net.c ret = apparmor_secmark_init(&profile->secmark[i]); profile 227 security/apparmor/net.c if (profile->secmark[i].secid == secid || profile 228 security/apparmor/net.c profile->secmark[i].secid == AA_SECID_WILDCARD) { profile 229 security/apparmor/net.c if (profile->secmark[i].deny) profile 234 security/apparmor/net.c if (profile->secmark[i].audit) profile 239 security/apparmor/net.c aa_apply_modes_to_perms(profile, &perms); profile 241 security/apparmor/net.c return aa_check_perms(profile, &perms, request, sa, audit_net_cb); profile 247 security/apparmor/net.c struct aa_profile *profile; profile 250 security/apparmor/net.c return fn_for_each_confined(label, profile, profile 251 security/apparmor/net.c aa_secmark_perm(profile, request, secid, profile 109 security/apparmor/policy.c static void __add_profile(struct list_head *list, struct aa_profile *profile) profile 114 security/apparmor/policy.c AA_BUG(!profile); profile 115 security/apparmor/policy.c AA_BUG(!profile->ns); profile 116 security/apparmor/policy.c AA_BUG(!mutex_is_locked(&profile->ns->lock)); profile 118 security/apparmor/policy.c list_add_rcu(&profile->base.list, list); profile 120 security/apparmor/policy.c aa_get_profile(profile); profile 121 security/apparmor/policy.c l = aa_label_insert(&profile->ns->labels, &profile->label); profile 122 security/apparmor/policy.c AA_BUG(l != &profile->label); profile 138 security/apparmor/policy.c static void __list_remove_profile(struct aa_profile *profile) profile 140 security/apparmor/policy.c AA_BUG(!profile); profile 141 security/apparmor/policy.c AA_BUG(!profile->ns); profile 142 security/apparmor/policy.c AA_BUG(!mutex_is_locked(&profile->ns->lock)); profile 144 security/apparmor/policy.c list_del_rcu(&profile->base.list); profile 145 security/apparmor/policy.c aa_put_profile(profile); profile 154 security/apparmor/policy.c static void __remove_profile(struct aa_profile *profile) profile 156 security/apparmor/policy.c AA_BUG(!profile); profile 157 security/apparmor/policy.c AA_BUG(!profile->ns); profile 158 security/apparmor/policy.c AA_BUG(!mutex_is_locked(&profile->ns->lock)); profile 161 security/apparmor/policy.c __aa_profile_list_release(&profile->base.profiles); profile 163 security/apparmor/policy.c aa_label_remove(&profile->label); profile 164 security/apparmor/policy.c __aafs_profile_rmdir(profile); profile 165 security/apparmor/policy.c __list_remove_profile(profile); profile 176 security/apparmor/policy.c struct aa_profile *profile, *tmp; profile 177 security/apparmor/policy.c list_for_each_entry_safe(profile, tmp, head, base.list) profile 178 security/apparmor/policy.c __remove_profile(profile); profile 205 security/apparmor/policy.c void aa_free_profile(struct aa_profile *profile) profile 210 security/apparmor/policy.c AA_DEBUG("%s(%p)\n", __func__, profile); profile 212 security/apparmor/policy.c if (!profile) profile 216 security/apparmor/policy.c aa_policy_destroy(&profile->base); profile 217 security/apparmor/policy.c aa_put_profile(rcu_access_pointer(profile->parent)); profile 219 security/apparmor/policy.c aa_put_ns(profile->ns); profile 220 security/apparmor/policy.c kzfree(profile->rename); profile 222 security/apparmor/policy.c aa_free_file_rules(&profile->file); profile 223 security/apparmor/policy.c aa_free_cap_rules(&profile->caps); profile 224 security/apparmor/policy.c aa_free_rlimit_rules(&profile->rlimits); profile 226 security/apparmor/policy.c for (i = 0; i < profile->xattr_count; i++) profile 227 security/apparmor/policy.c kzfree(profile->xattrs[i]); profile 228 security/apparmor/policy.c kzfree(profile->xattrs); profile 229 security/apparmor/policy.c for (i = 0; i < profile->secmark_count; i++) profile 230 security/apparmor/policy.c kzfree(profile->secmark[i].label); profile 231 security/apparmor/policy.c kzfree(profile->secmark); profile 232 security/apparmor/policy.c kzfree(profile->dirname); profile 233 security/apparmor/policy.c aa_put_dfa(profile->xmatch); profile 234 security/apparmor/policy.c aa_put_dfa(profile->policy.dfa); profile 236 security/apparmor/policy.c if (profile->data) { profile 237 security/apparmor/policy.c rht = profile->data; profile 238 security/apparmor/policy.c profile->data = NULL; profile 243 security/apparmor/policy.c kzfree(profile->hash); profile 244 security/apparmor/policy.c aa_put_loaddata(profile->rawdata); profile 246 security/apparmor/policy.c kzfree(profile); profile 259 security/apparmor/policy.c struct aa_profile *profile; profile 262 security/apparmor/policy.c profile = kzalloc(sizeof(*profile) + sizeof(struct aa_profile *) * 2, profile 264 security/apparmor/policy.c if (!profile) profile 267 security/apparmor/policy.c if (!aa_policy_init(&profile->base, NULL, hname, gfp)) profile 269 security/apparmor/policy.c if (!aa_label_init(&profile->label, 1, gfp)) profile 274 security/apparmor/policy.c proxy = aa_alloc_proxy(&profile->label, gfp); profile 279 security/apparmor/policy.c profile->label.proxy = proxy; profile 281 security/apparmor/policy.c profile->label.hname = profile->base.hname; profile 282 security/apparmor/policy.c profile->label.flags |= FLAG_PROFILE; profile 283 security/apparmor/policy.c profile->label.vec[0] = profile; profile 286 security/apparmor/policy.c return profile; profile 289 security/apparmor/policy.c aa_free_profile(profile); profile 335 security/apparmor/policy.c struct aa_profile *profile; profile 339 security/apparmor/policy.c profile = __find_child(&parent->base.profiles, name); profile 340 security/apparmor/policy.c } while (profile && !aa_get_profile_not0(profile)); profile 344 security/apparmor/policy.c return profile; profile 364 security/apparmor/policy.c struct aa_profile *profile = NULL; profile 370 security/apparmor/policy.c profile = __strn_find_child(&policy->profiles, hname, profile 372 security/apparmor/policy.c if (!profile) profile 374 security/apparmor/policy.c policy = &profile->base; profile 378 security/apparmor/policy.c if (!profile) profile 380 security/apparmor/policy.c return &profile->base; profile 398 security/apparmor/policy.c struct aa_profile *profile = NULL; profile 403 security/apparmor/policy.c profile = __strn_find_child(&base->profiles, hname, profile 405 security/apparmor/policy.c if (!profile) profile 408 security/apparmor/policy.c base = &profile->base; profile 435 security/apparmor/policy.c struct aa_profile *profile; profile 439 security/apparmor/policy.c profile = __lookupn_profile(&ns->base, hname, n); profile 440 security/apparmor/policy.c } while (profile && !aa_get_profile_not0(profile)); profile 444 security/apparmor/policy.c if (!profile && strncmp(hname, "unconfined", n) == 0) profile 445 security/apparmor/policy.c profile = aa_get_newest_profile(ns->unconfined); profile 448 security/apparmor/policy.c return profile; profile 459 security/apparmor/policy.c struct aa_profile *profile; profile 473 security/apparmor/policy.c profile = aa_lookupn_profile(ns, name, n - (name - fqname)); profile 476 security/apparmor/policy.c profile = aa_get_newest_profile(ns->unconfined); profile 478 security/apparmor/policy.c profile = NULL; profile 481 security/apparmor/policy.c return profile; profile 505 security/apparmor/policy.c struct aa_profile *p, *profile; profile 530 security/apparmor/policy.c profile = aa_find_child(parent, bname); profile 531 security/apparmor/policy.c if (profile) profile 534 security/apparmor/policy.c profile = aa_alloc_profile(name, NULL, gfp); profile 535 security/apparmor/policy.c if (!profile) profile 538 security/apparmor/policy.c profile->mode = APPARMOR_COMPLAIN; profile 539 security/apparmor/policy.c profile->label.flags |= FLAG_NULL; profile 541 security/apparmor/policy.c profile->label.flags |= FLAG_HAT; profile 542 security/apparmor/policy.c profile->path_flags = parent->path_flags; profile 545 security/apparmor/policy.c rcu_assign_pointer(profile->parent, aa_get_profile(parent)); profile 546 security/apparmor/policy.c profile->ns = aa_get_ns(parent->ns); profile 547 security/apparmor/policy.c profile->file.dfa = aa_get_dfa(nulldfa); profile 548 security/apparmor/policy.c profile->policy.dfa = aa_get_dfa(nulldfa); profile 550 security/apparmor/policy.c mutex_lock_nested(&profile->ns->lock, profile->ns->level); profile 553 security/apparmor/policy.c aa_free_profile(profile); profile 554 security/apparmor/policy.c profile = aa_get_profile(p); profile 556 security/apparmor/policy.c __add_profile(&parent->base.profiles, profile); profile 558 security/apparmor/policy.c mutex_unlock(&profile->ns->lock); profile 564 security/apparmor/policy.c return profile; profile 568 security/apparmor/policy.c aa_free_profile(profile); profile 580 security/apparmor/policy.c static int replacement_allowed(struct aa_profile *profile, int noreplace, profile 583 security/apparmor/policy.c if (profile) { profile 584 security/apparmor/policy.c if (profile->label.flags & FLAG_IMMUTIBLE) { profile 705 security/apparmor/policy.c struct aa_profile *profile) profile 707 security/apparmor/policy.c const char *base = basename(profile->base.hname); profile 708 security/apparmor/policy.c long len = base - profile->base.hname; profile 717 security/apparmor/policy.c if (ent->new == profile) profile 719 security/apparmor/policy.c if (strncmp(ent->new->base.hname, profile->base.hname, len) == profile 1097 security/apparmor/policy.c struct aa_profile *profile = NULL; profile 1133 security/apparmor/policy.c profile = aa_get_profile(__lookup_profile(&ns->base, name)); profile 1134 security/apparmor/policy.c if (!profile) { profile 1139 security/apparmor/policy.c name = profile->base.hname; profile 1141 security/apparmor/policy.c __remove_profile(profile); profile 1150 security/apparmor/policy.c aa_put_profile(profile); profile 108 security/apparmor/policy_unpack.c struct aa_profile *profile = labels_profile(aa_current_raw_label()); profile 120 security/apparmor/policy_unpack.c return aa_audit(AUDIT_APPARMOR_STATUS, profile, &sa, audit_cb); profile 474 security/apparmor/policy_unpack.c static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) profile 486 security/apparmor/policy_unpack.c profile->file.trans.table = kcalloc(size, sizeof(char *), profile 488 security/apparmor/policy_unpack.c if (!profile->file.trans.table) profile 491 security/apparmor/policy_unpack.c profile->file.trans.size = size; profile 500 security/apparmor/policy_unpack.c profile->file.trans.table[i] = str; profile 538 security/apparmor/policy_unpack.c aa_free_domain_entries(&profile->file.trans); profile 543 security/apparmor/policy_unpack.c static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) profile 551 security/apparmor/policy_unpack.c profile->xattr_count = size; profile 552 security/apparmor/policy_unpack.c profile->xattrs = kcalloc(size, sizeof(char *), GFP_KERNEL); profile 553 security/apparmor/policy_unpack.c if (!profile->xattrs) profile 556 security/apparmor/policy_unpack.c if (!unpack_strdup(e, &profile->xattrs[i], NULL)) profile 572 security/apparmor/policy_unpack.c static bool unpack_secmark(struct aa_ext *e, struct aa_profile *profile) profile 580 security/apparmor/policy_unpack.c profile->secmark = kcalloc(size, sizeof(struct aa_secmark), profile 582 security/apparmor/policy_unpack.c if (!profile->secmark) profile 585 security/apparmor/policy_unpack.c profile->secmark_count = size; profile 588 security/apparmor/policy_unpack.c if (!unpack_u8(e, &profile->secmark[i].audit, NULL)) profile 590 security/apparmor/policy_unpack.c if (!unpack_u8(e, &profile->secmark[i].deny, NULL)) profile 592 security/apparmor/policy_unpack.c if (!unpack_strdup(e, &profile->secmark[i].label, NULL)) profile 604 security/apparmor/policy_unpack.c if (profile->secmark) { profile 606 security/apparmor/policy_unpack.c kfree(profile->secmark[i].label); profile 607 security/apparmor/policy_unpack.c kfree(profile->secmark); profile 608 security/apparmor/policy_unpack.c profile->secmark_count = 0; profile 609 security/apparmor/policy_unpack.c profile->secmark = NULL; profile 616 security/apparmor/policy_unpack.c static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) profile 626 security/apparmor/policy_unpack.c profile->rlimits.mask = tmp; profile 636 security/apparmor/policy_unpack.c profile->rlimits.limits[a].rlim_max = tmp2; profile 673 security/apparmor/policy_unpack.c struct aa_profile *profile = NULL; profile 704 security/apparmor/policy_unpack.c profile = aa_alloc_profile(name, NULL, GFP_KERNEL); profile 705 security/apparmor/policy_unpack.c if (!profile) profile 709 security/apparmor/policy_unpack.c (void) unpack_str(e, &profile->rename, "rename"); profile 712 security/apparmor/policy_unpack.c (void) unpack_str(e, &profile->attach, "attach"); profile 715 security/apparmor/policy_unpack.c profile->xmatch = unpack_dfa(e); profile 716 security/apparmor/policy_unpack.c if (IS_ERR(profile->xmatch)) { profile 717 security/apparmor/policy_unpack.c error = PTR_ERR(profile->xmatch); profile 718 security/apparmor/policy_unpack.c profile->xmatch = NULL; profile 723 security/apparmor/policy_unpack.c if (profile->xmatch) { profile 728 security/apparmor/policy_unpack.c profile->xmatch_len = tmp; profile 732 security/apparmor/policy_unpack.c (void) unpack_str(e, &profile->disconnected, "disconnected"); profile 743 security/apparmor/policy_unpack.c profile->label.flags |= FLAG_HAT; profile 747 security/apparmor/policy_unpack.c profile->mode = APPARMOR_COMPLAIN; profile 749 security/apparmor/policy_unpack.c profile->mode = APPARMOR_KILL; profile 751 security/apparmor/policy_unpack.c profile->mode = APPARMOR_UNCONFINED; profile 755 security/apparmor/policy_unpack.c profile->audit = AUDIT_ALL; profile 761 security/apparmor/policy_unpack.c if (unpack_u32(e, &profile->path_flags, "path_flags")) profile 762 security/apparmor/policy_unpack.c profile->path_flags |= profile->label.flags & profile 766 security/apparmor/policy_unpack.c profile->path_flags = PATH_MEDIATE_DELETED; profile 769 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.allow.cap[0]), NULL)) profile 771 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.audit.cap[0]), NULL)) profile 773 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.quiet.cap[0]), NULL)) profile 781 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.allow.cap[1]), NULL)) profile 783 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.audit.cap[1]), NULL)) profile 785 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.quiet.cap[1]), NULL)) profile 796 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.extended.cap[0]), NULL)) profile 798 security/apparmor/policy_unpack.c if (!unpack_u32(e, &(profile->caps.extended.cap[1]), NULL)) profile 804 security/apparmor/policy_unpack.c if (!unpack_xattrs(e, profile)) { profile 809 security/apparmor/policy_unpack.c if (!unpack_rlimits(e, profile)) { profile 814 security/apparmor/policy_unpack.c if (!unpack_secmark(e, profile)) { profile 822 security/apparmor/policy_unpack.c profile->policy.dfa = unpack_dfa(e); profile 823 security/apparmor/policy_unpack.c if (IS_ERR(profile->policy.dfa)) { profile 824 security/apparmor/policy_unpack.c error = PTR_ERR(profile->policy.dfa); profile 825 security/apparmor/policy_unpack.c profile->policy.dfa = NULL; profile 827 security/apparmor/policy_unpack.c } else if (!profile->policy.dfa) { profile 831 security/apparmor/policy_unpack.c if (!unpack_u32(e, &profile->policy.start[0], "start")) profile 833 security/apparmor/policy_unpack.c profile->policy.start[0] = DFA_START; profile 836 security/apparmor/policy_unpack.c profile->policy.start[i] = profile 837 security/apparmor/policy_unpack.c aa_dfa_next(profile->policy.dfa, profile 838 security/apparmor/policy_unpack.c profile->policy.start[0], profile 844 security/apparmor/policy_unpack.c profile->policy.dfa = aa_get_dfa(nulldfa); profile 847 security/apparmor/policy_unpack.c profile->file.dfa = unpack_dfa(e); profile 848 security/apparmor/policy_unpack.c if (IS_ERR(profile->file.dfa)) { profile 849 security/apparmor/policy_unpack.c error = PTR_ERR(profile->file.dfa); profile 850 security/apparmor/policy_unpack.c profile->file.dfa = NULL; profile 853 security/apparmor/policy_unpack.c } else if (profile->file.dfa) { profile 854 security/apparmor/policy_unpack.c if (!unpack_u32(e, &profile->file.start, "dfa_start")) profile 856 security/apparmor/policy_unpack.c profile->file.start = DFA_START; profile 857 security/apparmor/policy_unpack.c } else if (profile->policy.dfa && profile 858 security/apparmor/policy_unpack.c profile->policy.start[AA_CLASS_FILE]) { profile 859 security/apparmor/policy_unpack.c profile->file.dfa = aa_get_dfa(profile->policy.dfa); profile 860 security/apparmor/policy_unpack.c profile->file.start = profile->policy.start[AA_CLASS_FILE]; profile 862 security/apparmor/policy_unpack.c profile->file.dfa = aa_get_dfa(nulldfa); profile 864 security/apparmor/policy_unpack.c if (!unpack_trans_table(e, profile)) { profile 871 security/apparmor/policy_unpack.c profile->data = kzalloc(sizeof(*profile->data), GFP_KERNEL); profile 872 security/apparmor/policy_unpack.c if (!profile->data) profile 882 security/apparmor/policy_unpack.c if (rhashtable_init(profile->data, ¶ms)) { profile 903 security/apparmor/policy_unpack.c rhashtable_insert_fast(profile->data, &data->head, profile 904 security/apparmor/policy_unpack.c profile->data->p); profile 918 security/apparmor/policy_unpack.c return profile; profile 921 security/apparmor/policy_unpack.c if (profile) profile 925 security/apparmor/policy_unpack.c audit_iface(profile, NULL, name, info, e, error); profile 926 security/apparmor/policy_unpack.c aa_free_profile(profile); profile 1010 security/apparmor/policy_unpack.c static int verify_profile(struct aa_profile *profile) profile 1012 security/apparmor/policy_unpack.c if (profile->file.dfa && profile 1013 security/apparmor/policy_unpack.c !verify_dfa_xindex(profile->file.dfa, profile 1014 security/apparmor/policy_unpack.c profile->file.trans.size)) { profile 1015 security/apparmor/policy_unpack.c audit_iface(profile, NULL, NULL, "Invalid named transition", profile 1058 security/apparmor/policy_unpack.c struct aa_profile *profile = NULL; profile 1075 security/apparmor/policy_unpack.c profile = unpack_profile(&e, &ns_name); profile 1076 security/apparmor/policy_unpack.c if (IS_ERR(profile)) { profile 1077 security/apparmor/policy_unpack.c error = PTR_ERR(profile); profile 1081 security/apparmor/policy_unpack.c error = verify_profile(profile); profile 1086 security/apparmor/policy_unpack.c error = aa_calc_profile_hash(profile, e.version, start, profile 1097 security/apparmor/policy_unpack.c ent->new = profile; profile 1113 security/apparmor/policy_unpack.c aa_put_profile(profile); profile 52 security/apparmor/resource.c static int audit_resource(struct aa_profile *profile, unsigned int resource, profile 64 security/apparmor/resource.c return aa_audit(AUDIT_APPARMOR_AUTO, profile, &sa, audit_cb); profile 81 security/apparmor/resource.c static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, profile 86 security/apparmor/resource.c if (profile->rlimits.mask & (1 << resource) && new_rlim->rlim_max > profile 87 security/apparmor/resource.c profile->rlimits.limits[resource].rlim_max) profile 89 security/apparmor/resource.c return audit_resource(profile, resource, new_rlim->rlim_max, NULL, NULL, profile 107 security/apparmor/resource.c struct aa_profile *profile; profile 124 security/apparmor/resource.c error = fn_for_each(label, profile, profile 125 security/apparmor/resource.c audit_resource(profile, resource, profile 129 security/apparmor/resource.c error = fn_for_each_confined(label, profile, profile 130 security/apparmor/resource.c profile_setrlimit(profile, resource, new_rlim)); profile 168 security/tomoyo/audit.c stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], profile 328 security/tomoyo/audit.c const u8 profile, const u8 index, profile 339 security/tomoyo/audit.c p = tomoyo_profile(ns, profile); profile 372 security/tomoyo/audit.c if (!tomoyo_get_audit(r->domain->ns, r->profile, r->type, profile 491 security/tomoyo/common.c (struct tomoyo_policy_namespace *ns, const unsigned int profile) profile 496 security/tomoyo/common.c if (profile >= TOMOYO_MAX_PROFILES) profile 498 security/tomoyo/common.c ptr = ns->profile_ptr[profile]; profile 504 security/tomoyo/common.c ptr = ns->profile_ptr[profile]; profile 517 security/tomoyo/common.c ns->profile_ptr[profile] = ptr; profile 535 security/tomoyo/common.c const u8 profile) profile 538 security/tomoyo/common.c struct tomoyo_profile *ptr = ns->profile_ptr[profile]; profile 595 security/tomoyo/common.c struct tomoyo_profile *profile) profile 602 security/tomoyo/common.c config = profile->default_config; profile 621 security/tomoyo/common.c config = profile->config[i]; profile 661 security/tomoyo/common.c profile->config[i] = config; profile 663 security/tomoyo/common.c profile->default_config = config; profile 679 security/tomoyo/common.c struct tomoyo_profile *profile; profile 688 security/tomoyo/common.c profile = tomoyo_assign_profile(head->w.ns, i); profile 689 security/tomoyo/common.c if (!profile) profile 704 security/tomoyo/common.c old_comment = profile->comment; profile 705 security/tomoyo/common.c profile->comment = new_comment; profile 712 security/tomoyo/common.c tomoyo_set_uint(&profile->pref[i], cp, profile 716 security/tomoyo/common.c return tomoyo_set_mode(data, cp, profile); profile 749 security/tomoyo/common.c const struct tomoyo_profile *profile; profile 755 security/tomoyo/common.c profile = ns->profile_ptr[index]; profile 778 security/tomoyo/common.c profile->comment; profile 789 security/tomoyo/common.c profile->pref[i]); profile 798 security/tomoyo/common.c tomoyo_print_config(head, profile->default_config); profile 807 security/tomoyo/common.c const u8 config = profile->config[i]; profile 1201 security/tomoyo/common.c domain->profile = (u8) idx; profile 1636 security/tomoyo/common.c domain->profile); profile 1726 security/tomoyo/common.c tomoyo_io_printf(head, "%u %u ", pid, domain->profile); profile 2782 security/tomoyo/common.c const u8 profile = domain->profile; profile 2793 security/tomoyo/common.c else if (!ns->profile_ptr[profile]) profile 2795 security/tomoyo/common.c profile, domain->domainname->name); profile 498 security/tomoyo/common.h u8 profile; profile 689 security/tomoyo/common.h u8 profile; /* Profile number to use. */ profile 977 security/tomoyo/common.h int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, profile 1040 security/tomoyo/common.h const u8 profile); profile 540 security/tomoyo/domain.c !entry->ns->profile_ptr[entry->profile]) profile 568 security/tomoyo/domain.c e.profile = domain->profile; profile 597 security/tomoyo/domain.c entry->profile); profile 630 security/tomoyo/domain.c ee->r.profile = r->domain->profile; profile 631 security/tomoyo/domain.c ee->r.mode = tomoyo_get_mode(r->domain->ns, ee->r.profile, profile 579 security/tomoyo/file.c r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); profile 611 security/tomoyo/file.c r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); profile 970 security/tomoyo/util.c int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, profile 978 security/tomoyo/util.c p = tomoyo_profile(ns, profile); profile 1000 security/tomoyo/util.c u8 profile; profile 1006 security/tomoyo/util.c profile = domain->profile; profile 1007 security/tomoyo/util.c r->profile = profile; profile 1009 security/tomoyo/util.c r->mode = tomoyo_get_mode(domain->ns, profile, index); profile 1074 security/tomoyo/util.c if (count < tomoyo_profile(domain->ns, domain->profile)-> profile 1365 sound/pci/asihpi/hpi.h u16 profile); profile 1368 sound/pci/asihpi/hpi.h u16 *profile); profile 2798 sound/pci/asihpi/hpifunc.c u16 profile) profile 2813 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = profile; profile 2828 sound/pci/asihpi/hpifunc.c u16 *profile) profile 2833 sound/pci/asihpi/hpifunc.c *profile = (u16)u; profile 203 sound/pci/hda/hda_eld.c a->profile = GRAB_BITS(buf, 2, 0, 3); profile 438 sound/pci/hda/hda_eld.c if (a->profile) profile 439 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_profile\t\t%d\n", i, a->profile); profile 546 sound/pci/hda/hda_eld.c e->sad[n].profile = val; profile 658 sound/pci/hda/hda_local.h int profile; /* for WMAPRO */ profile 143 sound/soc/uniphier/aio-compress.c if (params->codec.profile != SND_AUDIOPROFILE_IEC61937_SPDIF) { profile 145 sound/soc/uniphier/aio-compress.c params->codec.profile);