/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 = swp_swap_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 = swp_swap_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 in swap_writepage_fs() local 411 swap_writepage_bdev_sync(struct folio * folio,struct swap_info_struct * sis) swap_writepage_bdev_sync() argument 431 swap_writepage_bdev_async(struct folio * folio,struct swap_info_struct * sis) swap_writepage_bdev_async() argument 449 struct swap_info_struct *sis = swp_swap_info(folio->swap); __swap_writepage() local 540 struct swap_info_struct *sis = swp_swap_info(folio->swap); swap_read_folio_fs() local 573 swap_read_folio_bdev_sync(struct folio * folio,struct swap_info_struct * sis) swap_read_folio_bdev_sync() argument 595 swap_read_folio_bdev_async(struct folio * folio,struct swap_info_struct * sis) swap_read_folio_bdev_async() argument 611 struct swap_info_struct *sis = swp_swap_info(folio->swap); swap_read_folio() local [all...] |
H A D | swapfile.c | 279 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() argument 281 struct rb_node *rb = rb_first(&sis->swap_extent_root); in first_se() 329 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() argument 334 rb = sis->swap_extent_root.rb_node; in offset_to_swap_extent() 350 struct swap_info_struct *sis = swp_swap_info(folio->swap); in swap_folio_sector() local 356 se = offset_to_swap_extent(sis, offset); in swap_folio_sector() 1595 struct swap_info_struct *sis; in swap_free_nr() local 1598 sis = _swap_info_get(entry); in swap_free_nr() 1599 if (!sis) in swap_free_nr() 1604 swap_entries_put_map(sis, swp_entr in swap_free_nr() 1897 struct swap_info_struct *sis = swap_info[type]; swap_type_of() local 1921 struct swap_info_struct *sis = swap_info[type]; find_first_swap() local 1960 struct swap_info_struct *sis = swap_info[type]; count_swap_pages() local 2415 destroy_swap_extents(struct swap_info_struct * sis) destroy_swap_extents() argument 2442 add_swap_extent(struct swap_info_struct * sis,unsigned long start_page,unsigned long nr_pages,sector_t start_block) add_swap_extent() argument 2509 setup_swap_extents(struct swap_info_struct * sis,sector_t * span) setup_swap_extents() argument [all...] |
H A D | swap.h | 94 struct swap_info_struct *sis = swp_swap_info(entry); in swap_zeromap_batch() local 99 first_bit = test_bit(start, sis->zeromap); in swap_zeromap_batch() 106 return find_next_zero_bit(sis->zeromap, end, start) - start; in swap_zeromap_batch() 108 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 in iomap_swapfile_activate() [all...] |
/linux/drivers/ata/ |
H A D | pata_sis.c | 19 * ATA133 support for SiS961/962 by L.C. Chang <lcchang@sis.com.tw> 36 #include "sis.h" 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 in sis_fixup() [all...] |
/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 | 523 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate() argument 545 ret = add_swap_extent(sis, 0, sis->max, 0); in nfs_swap_activate() 551 *span = sis->pages; in nfs_swap_activate() 556 sis->flags |= SWP_FS_OPS; in nfs_swap_activate()
|
/linux/include/linux/ |
H A D | iomap.h | 534 int iomap_swapfile_activate(struct swap_info_struct *sis, 538 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO) argument
|
H A D | swap.h | 463 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 609 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent() argument
|
H A D | fs.h | 475 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
/linux/drivers/net/ethernet/ |
H A D | Makefile | 89 obj-$(CONFIG_NET_VENDOR_SIS) += sis/
|
H A D | Kconfig | 187 source "drivers/net/ethernet/sis/Kconfig"
|
/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 | 3912 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() argument 3936 while (cur_lblock < last_lblock && cur_lblock < sis->max) { in check_swap_activate() 3971 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate() 3992 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate() 3993 nr_pblocks = sis->max - cur_lblock; in check_swap_activate() 4005 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate() 4015 sis->max = cur_lblock; in check_swap_activate() 4016 sis->pages = cur_lblock - 1; in check_swap_activate() 4024 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument 4055 ret = check_swap_activate(sis, fil in f2fs_swap_activate() 4073 f2fs_swap_activate(struct swap_info_struct * sis,struct file * file,sector_t * span) f2fs_swap_activate() argument [all...] |
/linux/drivers/video/fbdev/ |
H A D | Makefile | 30 obj-$(CONFIG_FB_SIS) += sis/
|
H A D | Kconfig | 1126 Specs available at <https://www.sis.com> and <http://www.xgitech.com>.
|
/linux/fs/zonefs/ |
H A D | file.c | 169 static int zonefs_swap_activate(struct swap_info_struct *sis, in zonefs_swap_activate() argument 180 return iomap_swapfile_activate(sis, swap_file, span, in zonefs_swap_activate()
|
/linux/fs/smb/client/ |
H A D | file.c | 3183 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate() argument 3205 *span = sis->pages; in cifs_swap_activate() 3225 sis->flags |= SWP_FS_OPS; in cifs_swap_activate() 3226 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/fs/btrfs/ |
H A D | inode.c | 9993 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() argument 10006 if (bsi->nr_pages >= sis->max) in btrfs_add_swap_extent() 10009 max_pages = sis->max - bsi->nr_pages; in btrfs_add_swap_extent() 10026 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage); in btrfs_add_swap_extent() 10042 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() argument 10316 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10334 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10357 sis->bdev = device->bdev; in btrfs_swap_activate() 10359 sis->max = bsi.nr_pages; in btrfs_swap_activate() 10360 sis->pages = bsi.nr_pages - 1; in btrfs_swap_activate() [all …]
|
/linux/Documentation/filesystems/ |
H A D | locking.rst | 272 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 364 directly to the block device ``sis->bdev``.
|
H A D | vfs.rst | 845 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 1049 be submitted directly to the block device ``sis->bdev``.
|
/linux/fs/ext4/ |
H A D | inode.c | 4004 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate() argument 4007 return iomap_swapfile_activate(sis, file, span, in ext4_iomap_swap_activate()
|
/linux/ |
H A D | MAINTAINERS | 23146 F: drivers/net/ethernet/sis/sis190.c 23153 F: drivers/net/ethernet/sis/sis900.* 23158 F: drivers/video/fbdev/sis/
|