| /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 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 = __swap_entry_to_info(folio->swap); __swap_writepage() local 540 struct swap_info_struct *sis = __swap_entry_to_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 = __swap_entry_to_info(folio->swap); swap_read_folio() local [all...] |
| H A D | swapfile.c | 266 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() argument 268 struct rb_node *rb = rb_first(&sis->swap_extent_root); in first_se() 316 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() argument 321 rb = sis->swap_extent_root.rb_node; in offset_to_swap_extent() 337 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_folio_sector() local 343 se = offset_to_swap_extent(sis, offset); in swap_folio_sector() 1992 struct swap_info_struct *sis = swap_info[type]; in swap_type_of() local 1994 if (!(sis->flags & SWP_WRITEOK)) in swap_type_of() 1997 if (device == sis->bdev->bd_dev) { in swap_type_of() 1998 struct swap_extent *se = first_se(sis); in swap_type_of() [all …]
|
| H A D | swap.h | 317 struct swap_info_struct *sis = __swap_entry_to_info(entry); in non_swapcache_batch() 322 first_bit = test_bit(start, sis->zeromap); 329 return find_next_zero_bit(sis->zeromap, end, start) - start; in swap_cluster_lock() 331 return find_next_bit(sis->zeromap, end, start) - start; in swap_cluster_get_and_lock() 287 struct swap_info_struct *sis = __swap_entry_to_info(entry); swap_zeromap_batch() local
|
| /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 | 570 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate() argument 592 ret = add_swap_extent(sis, 0, sis->max, 0); in nfs_swap_activate() 598 *span = sis->pages; in nfs_swap_activate() 603 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 | 424 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 554 static inline int add_swap_extent(struct swap_info_struct *sis, in folio_alloc_swap() 564 add_swap_extent(struct swap_info_struct * sis,unsigned long start_page,unsigned long nr_pages,sector_t start_block) add_swap_extent() argument
|
| H A D | iomap.h | 591 int iomap_swapfile_activate(struct swap_info_struct *sis, 595 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO) argument
|
| H A D | fs.h | 440 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
| /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/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 | 3261 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate() argument 3283 *span = sis->pages; in cifs_swap_activate() 3303 sis->flags |= SWP_FS_OPS; in cifs_swap_activate() 3304 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 | 10164 static int btrfs_add_swap_extent(struct swap_info_struct *sis, in btrfs_add_swap_extent() argument 10177 if (bsi->nr_pages >= sis->max) in btrfs_add_swap_extent() 10180 max_pages = sis->max - bsi->nr_pages; in btrfs_add_swap_extent() 10197 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage); in btrfs_add_swap_extent() 10213 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, in btrfs_swap_activate() argument 10487 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10505 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10528 sis->bdev = device->bdev; in btrfs_swap_activate() 10530 sis->max = bsi.nr_pages; in btrfs_swap_activate() 10531 sis->pages = bsi.nr_pages - 1; in btrfs_swap_activate() [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | locking.rst | 267 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 359 directly to the block device ``sis->bdev``.
|
| /linux/drivers/video/fbdev/ |
| H A D | Kconfig | 1124 Specs available at <https://www.sis.com> and <http://www.xgitech.com>.
|
| /linux/ |
| H A D | MAINTAINERS | 24302 F: drivers/net/ethernet/sis/sis190.c 24309 F: drivers/net/ethernet/sis/sis900.* 24314 F: drivers/video/fbdev/sis/
|