Searched refs:spare (Results 1 - 25 of 83) sorted by last modified time

1234

/linux-master/fs/bcachefs/
H A Dbcachefs_format.h620 x(spare, 3)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c244 u32 spare; member in union:nvfw_gsp_rpc::__anon37
/linux-master/include/linux/firmware/qcom/
H A Dqcom_scm.h87 int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare);
88 int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size);
89 int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare);
90 int qcom_scm_iommu_set_cp_pool_size(u32 spare, u32 size);
/linux-master/drivers/net/
H A Dgtp.c282 hdr->spare[0] = 0xff;
283 hdr->spare[1] = 0xff;
284 hdr->spare[2] = 0xff;
734 gtp0->spare[0] = gtp0->spare[1] = gtp0->spare[2] = 0xff;
/linux-master/drivers/firmware/qcom/
H A Dqcom_scm.c839 int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare) argument
846 .args[1] = spare,
858 int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size) argument
864 .args[0] = spare,
879 int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare) argument
888 .args[2] = spare,
903 int qcom_scm_iommu_set_cp_pool_size(u32 spare, u32 size) argument
910 .args[1] = spare,
/linux-master/drivers/platform/x86/amd/pmf/
H A Dpmf.h189 u16 spare; member in struct:smu_pmf_metrics
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu14_driver_if_v14_0_0.h141 uint8_t spare[2]; member in struct:__anon35
172 uint8_t spare; member in struct:__anon36
222 uint32_t spare[6]; member in struct:__anon37
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_types.h185 __SMU_DUMMY_MAP(spare), \
/linux-master/net/ipv4/
H A Dnexthop.c496 WARN_ON(nhg->spare == nhg);
501 kfree(nhg->spare);
1994 newg = nhg->spare;
2244 rcu_assign_pointer(newg->spare->res_table, old_res_table);
2258 rcu_assign_pointer(oldg->spare->res_table, tmp_table);
2684 /* spare group used for removals */
2685 nhg->spare = nexthop_grp_alloc(num_nh);
2686 if (!nhg->spare) {
2691 nhg->spare->spare
[all...]
/linux-master/drivers/thunderbolt/
H A Dtunnel.c100 int credits, usb3, pcie, spare; local
107 spare = min_not_zero(sw->max_dma_credits, dma_credits);
109 spare += TB_MIN_DMA_CREDITS;
111 spare = 0;
121 ndp = (credits - (usb3 + pcie + spare)) /
/linux-master/kernel/trace/
H A Dtrace.c1293 /* allocate spare buffer */
7193 void *spare; member in struct:ftrace_buffer_info
7870 info->spare = NULL;
7917 /* Make sure the spare matches the current sub buffer size */
7918 if (info->spare) {
7921 info->spare_cpu, info->spare);
7922 info->spare = NULL;
7926 if (!info->spare) {
7927 info->spare = ring_buffer_alloc_read_page(iter->array_buffer->buffer,
7929 if (IS_ERR(info->spare)) {
[all...]
/linux-master/include/uapi/linux/
H A Dfuse.h326 uint32_t spare[6]; member in struct:fuse_kstatfs
713 uint64_t spare[2]; member in struct:fuse_statx_out
917 uint32_t spare[10]; member in struct:cuse_init_out
H A Dbtrfs.h242 __u64 spare[64]; member in struct:btrfs_ioctl_dev_replace_args
648 /* spare for later */
/linux-master/drivers/mtd/nand/raw/
H A Dmtk_nand.c161 * supported spare size of each IP.
162 * order should be the same with the spare size bitfiled defination of
323 u32 fmt, spare, i; local
328 spare = mtk_nand->spare_per_sector;
365 spare >>= 1;
368 if (nfc->caps->spare_size[i] == spare)
373 dev_err(nfc->dev, "invalid spare size %d\n", spare);
945 u32 spare = mtk_nand->spare_per_sector; local
958 column = start * (chip->ecc.size + spare);
1198 const u8 *spare = nfc->caps->spare_size; local
1232 u32 spare; local
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dvio.c81 * @reserve: pool of memory from which devices reserve entitlement, incl. spare
82 * @excess: pool of excess entitlement not needed for device reserves or spare
83 * @spare: IO memory for device hotplug functionality
96 size_t spare; member in struct:vio_cmo
138 * IO memory available to all devices. The spare pool used to service
158 /* If spare is not fulfilled, the excess pool can not be used. */
159 if (vio_cmo.spare >= VIO_CMO_MIN_ENT)
183 * The spare pool is replenished first from either memory pool, then
212 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare;
215 * Replenish the spare i
1013 viobus_cmo_rd_attr(spare); variable
[all...]
H A Dmsi.c218 int spare; member in struct:msi_counts
261 counts->spare += counts->quota - req;
309 * use the remainder as spare MSIs for anyone that wants them. */
310 counts.spare += total % counts.num_devices;
312 /* Divide any spare by the number of over-quota requestors */
314 counts.quota += counts.spare / counts.over_quota;
/linux-master/mm/
H A Dmemcontrol.c4562 /* Free old spare buffer and save old primary buffer as spare */
4563 kfree(thresholds->spare);
4564 thresholds->spare = thresholds->primary;
4623 new = thresholds->spare;
4657 /* Swap primary and spare array */
4658 thresholds->spare = thresholds->primary;
4665 /* If all events are unregistered, free the spare array */
4667 kfree(thresholds->spare);
4668 thresholds->spare
[all...]
/linux-master/include/linux/
H A Dmemcontrol.h158 struct mem_cgroup_threshold_ary *spare; member in struct:mem_cgroup_thresholds
/linux-master/drivers/net/ethernet/sun/
H A Dcassini.c29 * -- on page reclamation, the driver swaps the page with a spare page.
485 /* initialize spare pool of rx buffers, but allocate during the open */
498 /* used on close. free all the spare buffers. */
503 /* free spare buffers */
594 cas_page_t *spare = cas_page_alloc(cp, flags); local
595 if (!spare)
597 list_add(&spare->list, &list);
621 "no spare buffers available\n");
1371 /* only clean ring 0 as ring 1 is used for spare buffers */
/linux-master/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c616 unsigned int spare = 0; local
626 ret = qcom_scm_iommu_secure_ptbl_size(spare, &psize);
644 ret = qcom_scm_iommu_secure_ptbl_init(paddr, psize, spare);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c114 unsigned int count, unsigned int spare)
127 if (spare) {
129 if (used + count + spare > dbm->count)
189 * @spare: number of GuC doorbell IDs to keep available
193 * least &spare IDs still available for the PF use after this reservation.
199 unsigned int count, unsigned int spare)
204 ret = dbm_reserve_chunk_locked(dbm, count, spare);
113 dbm_reserve_chunk_locked(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare) argument
198 xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare) argument
H A Dxe_guc_db_mgr.h17 int xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare);
/linux-master/include/net/
H A Dnexthop.h129 struct nh_group *spare; /* spare group for removals */ member in struct:nh_group
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse.h23 unsigned int spare; member in struct:tegra_fuse_info
74 u32 __init tegra_fuse_read_spare(unsigned int spare);
H A Dfuse-tegra.c334 u32 __init tegra_fuse_read_spare(unsigned int spare) argument
336 unsigned int offset = fuse->soc->info->spare + spare * 4;

Completed in 560 milliseconds

1234