Home
last modified time | relevance | path

Searched refs:rsv (Results 1 – 25 of 96) sorted by relevance

1234

/Linux-v5.15/fs/ext2/
Dballoc.c203 struct ext2_reserve_window_node *rsv, *prev; in __rsv_window_dump() local
213 rsv = rb_entry(n, struct ext2_reserve_window_node, rsv_node); in __rsv_window_dump()
217 rsv, rsv->rsv_start, rsv->rsv_end); in __rsv_window_dump()
218 if (rsv->rsv_start && rsv->rsv_start >= rsv->rsv_end) { in __rsv_window_dump()
220 rsv); in __rsv_window_dump()
223 if (prev && prev->rsv_end >= rsv->rsv_start) { in __rsv_window_dump()
225 rsv); in __rsv_window_dump()
236 prev = rsv; in __rsv_window_dump()
264 goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal, in goal_in_my_reservation() argument
272 if ((rsv->_rsv_start > group_last_block) || in goal_in_my_reservation()
[all …]
/Linux-v5.15/drivers/ptp/
Dptp_chardev.c158 req.extts.rsv[0] || req.extts.rsv[1]) { in ptp_ioctl()
170 req.extts.rsv[0] = 0; in ptp_ioctl()
171 req.extts.rsv[1] = 0; in ptp_ioctl()
207 (perout->rsv[0] || perout->rsv[1] || in ptp_ioctl()
208 perout->rsv[2] || perout->rsv[3])) { in ptp_ioctl()
236 req.perout.rsv[0] = 0; in ptp_ioctl()
237 req.perout.rsv[1] = 0; in ptp_ioctl()
238 req.perout.rsv[2] = 0; in ptp_ioctl()
239 req.perout.rsv[3] = 0; in ptp_ioctl()
305 || extoff->rsv[0] || extoff->rsv[1] || extoff->rsv[2]) { in ptp_ioctl()
[all …]
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h24 __le16 rsv; member
339 u8 rsv[22]; member
351 u8 rsv[18]; member
391 u8 rsv[6]; member
477 u8 rsv[20]; member
484 u8 rsv[20]; member
504 u8 rsv[2]; member
517 u8 rsv[6]; member
560 __le32 rsv; member
570 u8 rsv[23]; member
[all …]
Dhclge_err.h200 u8 rsv[2]; member
206 u8 rsv[2]; member
212 u8 rsv[2]; member
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c246 struct amdgpu_vram_reservation *rsv, *temp; in amdgpu_vram_mgr_do_reserve() local
249 list_for_each_entry_safe(rsv, temp, &mgr->reservations_pending, node) { in amdgpu_vram_mgr_do_reserve()
250 if (drm_mm_reserve_node(mm, &rsv->mm_node)) in amdgpu_vram_mgr_do_reserve()
254 rsv->mm_node.start, rsv->mm_node.size); in amdgpu_vram_mgr_do_reserve()
256 vis_usage = amdgpu_vram_mgr_vis_size(adev, &rsv->mm_node); in amdgpu_vram_mgr_do_reserve()
258 atomic64_add(rsv->mm_node.size << PAGE_SHIFT, &mgr->usage); in amdgpu_vram_mgr_do_reserve()
259 list_move(&rsv->node, &mgr->reserved_pages); in amdgpu_vram_mgr_do_reserve()
276 struct amdgpu_vram_reservation *rsv; in amdgpu_vram_mgr_reserve_range() local
278 rsv = kzalloc(sizeof(*rsv), GFP_KERNEL); in amdgpu_vram_mgr_reserve_range()
279 if (!rsv) in amdgpu_vram_mgr_reserve_range()
[all …]
/Linux-v5.15/include/uapi/linux/
Dptp_clock.h98 int rsv[12]; /* Reserved for future use. */ member
104 unsigned int rsv[2]; /* Reserved for future use. */ member
133 unsigned int rsv[4]; member
141 unsigned int rsv[3]; /* Reserved for future use. */ member
152 unsigned int rsv[3]; /* Reserved for future use. */ member
164 unsigned int rsv[4]; /* Reserved for future use. */ member
198 unsigned int rsv[5]; member
231 unsigned int rsv[2]; /* Reserved for future use. */ member
/Linux-v5.15/drivers/firmware/efi/
Defi.c620 struct linux_efi_memreserve *rsv; in efi_config_parse_tables() local
635 rsv = (void *)(p + prsv % PAGE_SIZE); in efi_config_parse_tables()
639 struct_size(rsv, entry, rsv->size)); in efi_config_parse_tables()
641 for (i = 0; i < atomic_read(&rsv->count); i++) { in efi_config_parse_tables()
642 memblock_reserve(rsv->entry[i].base, in efi_config_parse_tables()
643 rsv->entry[i].size); in efi_config_parse_tables()
646 prsv = rsv->next; in efi_config_parse_tables()
927 struct linux_efi_memreserve *rsv; in efi_mem_reserve_persistent() local
942 rsv = memremap(prsv, sizeof(*rsv), MEMREMAP_WB); in efi_mem_reserve_persistent()
943 index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); in efi_mem_reserve_persistent()
[all …]
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.h91 u8 rsv[8]; member
100 u8 rsv; member
123 u8 rsv; member
133 u8 rsv[3]; member
141 u8 rsv[3]; member
477 u8 rsv[2]; member
489 u8 rsv[2]; member
496 u8 rsv[8]; member
505 u8 rsv[7]; member
528 u8 rsv[3]; member
[all …]
Dtestmode.h11 u8 rsv; member
33 u8 rsv; member
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.h22 __le16 rsv; member
127 u8 rsv[18]; member
188 __le16 rsv[7]; member
194 u8 rsv[23]; member
202 u8 rsv[7]; member
215 u8 rsv[16]; member
223 u8 rsv[4]; member
238 u8 rsv[8]; member
245 u8 rsv[23]; member
255 u8 rsv[19]; member
[all …]
/Linux-v5.15/drivers/net/ethernet/microchip/
Dencx24j600.c72 struct rsv *rsv) in encx24j600_dump_rsv() argument
76 netdev_info(dev, "RX packet Len:%d\n", rsv->len); in encx24j600_dump_rsv()
78 rsv->next_packet); in encx24j600_dump_rsv()
80 RSV_GETBIT(rsv->rxstat, RSV_RXOK), in encx24j600_dump_rsv()
81 RSV_GETBIT(rsv->rxstat, RSV_DRIBBLENIBBLE)); in encx24j600_dump_rsv()
83 RSV_GETBIT(rsv->rxstat, RSV_CRCERROR), in encx24j600_dump_rsv()
84 RSV_GETBIT(rsv->rxstat, RSV_LENCHECKERR), in encx24j600_dump_rsv()
85 RSV_GETBIT(rsv->rxstat, RSV_LENOUTOFRANGE)); in encx24j600_dump_rsv()
87 RSV_GETBIT(rsv->rxstat, RSV_RXMULTICAST), in encx24j600_dump_rsv()
88 RSV_GETBIT(rsv->rxstat, RSV_RXBROADCAST), in encx24j600_dump_rsv()
[all …]
/Linux-v5.15/drivers/crypto/amcc/
Dcrypto4xx_reg_def.h143 u32 rsv:7; member
170 u32 rsv:6; member
180 u32 rsv:5; member
191 u32 rsv:6; member
218 u32 rsv:14; member
248 u32 rsv:2; member
267 u32 rsv:2; member
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.h17 u8 rsv[2]; member
28 u8 rsv; member
48 u16 rsv; member
59 u8 rsv[3]; member
114 u8 rsv; member
124 u8 rsv[1]; member
143 u8 rsv[2]; member
153 u8 rsv[3]; member
178 u8 rsv[4]; member
188 u8 rsv[4]; member
[all …]
/Linux-v5.15/fs/btrfs/
Dblock-rsv.c173 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, unsigned short type) in btrfs_init_block_rsv() argument
175 memset(rsv, 0, sizeof(*rsv)); in btrfs_init_block_rsv()
176 spin_lock_init(&rsv->lock); in btrfs_init_block_rsv()
177 rsv->type = type; in btrfs_init_block_rsv()
181 struct btrfs_block_rsv *rsv, in btrfs_init_metadata_block_rsv() argument
184 btrfs_init_block_rsv(rsv, type); in btrfs_init_metadata_block_rsv()
185 rsv->space_info = btrfs_find_space_info(fs_info, in btrfs_init_metadata_block_rsv()
203 struct btrfs_block_rsv *rsv) in btrfs_free_block_rsv() argument
205 if (!rsv) in btrfs_free_block_rsv()
207 btrfs_block_rsv_release(fs_info, rsv, (u64)-1, NULL); in btrfs_free_block_rsv()
[all …]
Droot-tree.c485 struct btrfs_block_rsv *rsv, int items, in btrfs_subvolume_reserve_metadata() argument
504 rsv->space_info = btrfs_find_space_info(fs_info, in btrfs_subvolume_reserve_metadata()
506 ret = btrfs_block_rsv_add(root, rsv, num_bytes, in btrfs_subvolume_reserve_metadata()
510 ret = btrfs_block_rsv_migrate(global_rsv, rsv, num_bytes, true); in btrfs_subvolume_reserve_metadata()
516 spin_lock(&rsv->lock); in btrfs_subvolume_reserve_metadata()
517 rsv->qgroup_rsv_reserved += qgroup_num_bytes; in btrfs_subvolume_reserve_metadata()
518 spin_unlock(&rsv->lock); in btrfs_subvolume_reserve_metadata()
524 struct btrfs_block_rsv *rsv) in btrfs_subvolume_release_metadata() argument
529 btrfs_block_rsv_release(fs_info, rsv, (u64)-1, &qgroup_to_release); in btrfs_subvolume_release_metadata()
Dblock-rsv.h52 void btrfs_init_block_rsv(struct btrfs_block_rsv *rsv, unsigned short type);
56 struct btrfs_block_rsv *rsv,
59 struct btrfs_block_rsv *rsv);
/Linux-v5.15/drivers/firmware/efi/libstub/
Defi-stub.c78 struct linux_efi_memreserve *rsv; in install_memreserve_table() local
82 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(*rsv), in install_memreserve_table()
83 (void **)&rsv); in install_memreserve_table()
89 rsv->next = 0; in install_memreserve_table()
90 rsv->size = 0; in install_memreserve_table()
91 atomic_set(&rsv->count, 0); in install_memreserve_table()
94 &memreserve_table_guid, rsv); in install_memreserve_table()
/Linux-v5.15/block/
Dioctl.c265 struct pr_reservation rsv; in blkdev_pr_reserve() local
271 if (copy_from_user(&rsv, arg, sizeof(rsv))) in blkdev_pr_reserve()
274 if (rsv.flags & ~PR_FL_IGNORE_KEY) in blkdev_pr_reserve()
276 return ops->pr_reserve(bdev, rsv.key, rsv.type, rsv.flags); in blkdev_pr_reserve()
283 struct pr_reservation rsv; in blkdev_pr_release() local
289 if (copy_from_user(&rsv, arg, sizeof(rsv))) in blkdev_pr_release()
292 if (rsv.flags) in blkdev_pr_release()
294 return ops->pr_release(bdev, rsv.key, rsv.type); in blkdev_pr_release()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h91 u8 rsv; member
142 u8 rsv; member
156 u8 rsv[3]; member
166 u8 rsv[22]; member
/Linux-v5.15/drivers/scsi/bfa/
Dbfi.h907 u8 rsv[3]; member
919 u8 rsv[2]; member
931 u8 rsv[3]; member
952 u8 rsv[3]; member
964 u8 rsv[3]; member
976 u8 rsv[3]; member
1040 u8 rsv[3]; member
1048 u8 rsv[2]; member
1061 u8 rsv; member
1072 u8 rsv[2]; member
[all …]
/Linux-v5.15/arch/arm/mach-davinci/
Ddevices-da8xx.c241 int __init da830_register_edma(struct edma_rsv_info *rsv) in da830_register_edma() argument
245 da8xx_edma0_pdata.rsv = rsv; in da830_register_edma()
274 int __init da850_register_edma(struct edma_rsv_info *rsv[2]) in da850_register_edma()
278 if (rsv) { in da850_register_edma()
279 da8xx_edma0_pdata.rsv = rsv[0]; in da850_register_edma()
280 da850_edma1_pdata.rsv = rsv[1]; in da850_register_edma()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.h196 u8 rsv[2]; member
278 u8 rsv[1]; member
286 u8 rsv[3]; member
/Linux-v5.15/drivers/iio/adc/
Dqcom-pm8xxx-xoadc.c439 u8 rsv, u16 *adc_code, in pm8xxx_read_channel_rsv() argument
448 ch->name, ch->hwchan->amux_channel, ch->hwchan->pre_scale_mux, rsv); in pm8xxx_read_channel_rsv()
484 if (rsv == 0xff) in pm8xxx_read_channel_rsv()
488 rsvval = (rsv << ADC_RSV_IP_SEL_SHIFT) | in pm8xxx_read_channel_rsv()
741 u32 rsv, dec; in pm8xxx_xoadc_parse_channel() local
779 if (!of_property_read_u32(np, "qcom,ratiometric", &rsv)) { in pm8xxx_xoadc_parse_channel()
781 if (rsv > XOADC_RSV_MAX) { in pm8xxx_xoadc_parse_channel()
782 dev_err(dev, "%s too large RSV value %d\n", name, rsv); in pm8xxx_xoadc_parse_channel()
785 if (rsv == AMUX_RSV3) { in pm8xxx_xoadc_parse_channel()
786 dev_err(dev, "%s invalid RSV value %d\n", name, rsv); in pm8xxx_xoadc_parse_channel()
/Linux-v5.15/arch/arm/mach-davinci/include/mach/
Dda8xx.h100 int da830_register_edma(struct edma_rsv_info *rsv);
101 int da850_register_edma(struct edma_rsv_info *rsv[2]);
/Linux-v5.15/arch/arm/probes/kprobes/
Dactions-arm.c169 register unsigned long rsv asm("r1") = regs->uregs[rs]; in emulate_rd12rn16rm0rs8_rwflags()
177 : "0" (rdv), "r" (rnv), "r" (rmv), "r" (rsv), in emulate_rd12rn16rm0rs8_rwflags()
229 register unsigned long rsv asm("r1") = regs->uregs[rs]; in emulate_rd16rn12rm0rs8_rwflags_nopc()
237 : "0" (rdv), "r" (rnv), "r" (rmv), "r" (rsv), in emulate_rd16rn12rm0rs8_rwflags_nopc()

1234