| /linux/mm/ |
| H A D | page_io.c | 78 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() argument 105 page_no < sis->max) { in generic_swapfile_activate() 151 ret = add_swap_extent(sis, page_no, 1, first_block); in generic_swapfile_activate() 164 sis->max = page_no; in generic_swapfile_activate() 165 sis->pages = page_no - 1; in generic_swapfile_activate() 207 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_zeromap_folio_set() local 214 set_bit(swp_offset(entry), sis->zeromap); in swap_zeromap_folio_set() 226 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_zeromap_folio_clear() local 232 clear_bit(swp_offset(entry), sis->zeromap); in swap_zeromap_folio_clear() 377 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_writepage_fs() local [all …]
|
| H A D | swapfile.c | 285 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() argument 287 struct rb_node *rb = rb_first(&sis->swap_extent_root); in first_se() 335 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() argument 340 rb = sis->swap_extent_root.rb_node; in offset_to_swap_extent() 356 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_folio_sector() local 362 se = offset_to_swap_extent(sis, offset); in swap_folio_sector() 1747 struct swap_info_struct *sis; in swap_free_nr() local 1750 sis = _swap_info_get(entry); in swap_free_nr() 1751 if (!sis) in swap_free_nr() 1756 swap_entries_put_map(sis, swp_entry(sis->type, offset), nr); in swap_free_nr() [all …]
|
| H A D | swap.h | 287 struct swap_info_struct *sis = __swap_entry_to_info(entry); in swap_zeromap_batch() local 292 first_bit = test_bit(start, sis->zeromap); in swap_zeromap_batch() 299 return find_next_zero_bit(sis->zeromap, end, start) - start; in swap_zeromap_batch() 301 return find_next_bit(sis->zeromap, end, start) - start; in swap_zeromap_batch()
|
| /linux/fs/iomap/ |
| H A D | swapfile.c | 13 struct swap_info_struct *sis; member 37 if (unlikely(isi->nr_pages >= isi->sis->max)) in iomap_swapfile_add_extent() 39 max_pages = isi->sis->max - isi->nr_pages; in iomap_swapfile_add_extent() 69 error = add_swap_extent(isi->sis, isi->nr_pages, nr_pages, first_ppage); in iomap_swapfile_add_extent() 116 if (iomap->bdev != isi->sis->bdev) in iomap_swapfile_iter() 140 int iomap_swapfile_activate(struct swap_info_struct *sis, in iomap_swapfile_activate() argument 152 .sis = sis, in iomap_swapfile_activate() 188 sis->max = isi.nr_pages; in iomap_swapfile_activate() 189 sis->pages = isi.nr_pages - 1; in iomap_swapfile_activate()
|
| /linux/drivers/ata/ |
| H A D | pata_sis.c | 654 static void sis_fixup(struct pci_dev *pdev, struct sis_chipset *sis) in sis_fixup() argument 659 if (sis->info == &sis_info133) { in sis_fixup() 669 if (sis->info == &sis_info133_early || sis->info == &sis_info100) { in sis_fixup() 679 if (sis->info == &sis_info66 || sis->info == &sis_info100_early) { in sis_fixup() 689 if (sis->info == &sis_info33) { in sis_fixup() 696 if (sis->info == &sis_info || sis->info == &sis_info33) { in sis_fixup()
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_spdif.c | 347 u32 sis; in spdif_isr() local 349 sis = spdif_intr_status_clear(spdif_priv); in spdif_isr() 351 if (sis & INT_DPLL_LOCKED) in spdif_isr() 354 if (sis & INT_TXFIFO_UNOV) in spdif_isr() 357 if (sis & INT_TXFIFO_RESYNC) in spdif_isr() 360 if (sis & INT_CNEW) in spdif_isr() 363 if (sis & INT_VAL_NOGOOD) in spdif_isr() 366 if (sis & INT_SYM_ERR) in spdif_isr() 369 if (sis & INT_BIT_ERR) in spdif_isr() 372 if (sis in spdif_isr() [all...] |
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | sis_i2c.txt | 4 - compatible: must be "sis,9200-ts" 23 compatible = "sis,9200-ts";
|
| /linux/fs/nfs/ |
| H A D | file.c | 569 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate() argument 591 ret = add_swap_extent(sis, 0, sis->max, 0); in nfs_swap_activate() 597 *span = sis->pages; in nfs_swap_activate() 602 sis->flags |= SWP_FS_OPS; in nfs_swap_activate()
|
| /linux/drivers/char/agp/ |
| H A D | Makefile | 15 obj-$(CONFIG_AGP_SIS) += sis-agp.o
|
| /linux/include/linux/ |
| H A D | swap.h | 426 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 564 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent() argument
|
| H A D | iomap.h | 578 int iomap_swapfile_activate(struct swap_info_struct *sis, 582 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO) argument
|
| /linux/fs/xfs/ |
| H A D | xfs_aops.c | 758 struct swap_info_struct *sis, in xfs_vm_swap_activate() argument 796 sis->bdev = xfs_inode_buftarg(ip)->bt_bdev; in xfs_vm_swap_activate() 798 return iomap_swapfile_activate(sis, swap_file, span, in xfs_vm_swap_activate()
|
| /linux/Documentation/fb/ |
| H A D | sisfb.rst | 115 driver but the dedicated "sis" X driver. The "sis" X driver and sisfb are
|
| /linux/fs/f2fs/ |
| H A D | data.c | 3906 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() argument 3930 while (cur_lblock < last_lblock && cur_lblock < sis->max) { in check_swap_activate() 3965 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate() 3986 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate() 3987 nr_pblocks = sis->max - cur_lblock; in check_swap_activate() 3999 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate() 4009 sis->max = cur_lblock; in check_swap_activate() 4010 sis->pages = cur_lblock - 1; in check_swap_activate() 4018 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument 4049 ret = check_swap_activate(sis, file, span); in f2fs_swap_activate() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | Makefile | 30 obj-$(CONFIG_FB_SIS) += sis/
|
| /linux/fs/zonefs/ |
| H A D | file.c | 170 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate() argument 181 return iomap_swapfile_activate(sis, swap_file, span, in zonefs_swap_activate()
|
| /linux/fs/smb/client/ |
| H A D | file.c | 3247 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate() argument 3269 *span = sis->pages; in cifs_swap_activate() 3289 sis->flags |= SWP_FS_OPS; in cifs_swap_activate() 3290 return add_swap_extent(sis, 0, sis->max, 0); in cifs_swap_activate()
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-sriox-defs.h | 731 uint64_t sis:1; member 749 uint64_t sis:1;
|
| /linux/Documentation/filesystems/ |
| H A D | vfs.rst | 822 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 1026 be submitted directly to the block device ``sis->bdev``.
|
| /linux/fs/ext4/ |
| H A D | inode.c | 3969 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate() argument 3972 return iomap_swapfile_activate(sis, file, span, in ext4_iomap_swap_activate()
|
| /linux/ |
| H A D | MAINTAINERS | 24002 F: drivers/net/ethernet/sis/sis190.c 24009 F: drivers/net/ethernet/sis/sis900.* 24014 F: drivers/video/fbdev/sis/
|