| /linux/mm/ |
| H A D | page_io.c | 32 int generic_swapfile_activate(struct swap_info_struct *sis, in generic_swapfile_activate() argument 59 page_no < sis->max) { in generic_swapfile_activate() 105 ret = add_swap_extent(sis, page_no, 1, first_block); in generic_swapfile_activate() 118 sis->max = page_no; in generic_swapfile_activate() 119 sis->pages = page_no - 1; in generic_swapfile_activate() 322 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_can_merge() local 327 if (ctx->sis != sis) in swap_can_merge() 329 return sis->ops->can_merge(folio, prev_folio, prev_folio_size, rw); in swap_can_merge() 334 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_add_folio() local 346 ctx->sis = sis; in swap_add_folio() [all …]
|
| H A D | swapfile.c | 262 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se() argument 264 struct rb_node *rb = rb_first(&sis->swap_extent_root); in first_se() 312 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() argument 317 rb = sis->swap_extent_root.rb_node; in offset_to_swap_extent() 333 struct swap_info_struct *sis = __swap_entry_to_info(folio->swap); in swap_folio_sector() local 339 se = offset_to_swap_extent(sis, offset); in swap_folio_sector() 2229 struct swap_info_struct *sis = swap_info[type]; in __find_hibernation_swap_type() local 2231 if (!(sis->flags & SWP_WRITEOK)) in __find_hibernation_swap_type() 2234 if (device == sis->bdev->bd_dev) { in __find_hibernation_swap_type() 2235 struct swap_extent *se = first_se(sis); in __find_hibernation_swap_type() [all …]
|
| /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/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/include/linux/ |
| H A D | swap_ops.h | 19 struct swap_info_struct *sis; member 42 int swap_fs_activate(struct swap_info_struct *sis, const struct swap_ops *ops);
|
| H A D | swap.h | 344 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 469 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent() argument
|
| H A D | iomap.h | 754 int iomap_swapfile_activate(struct swap_info_struct *sis, 758 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO) argument
|
| H A D | fs.h | 438 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|
| /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/exfat/ |
| H A D | iomap.c | 275 int exfat_iomap_swap_activate(struct swap_info_struct *sis, in exfat_iomap_swap_activate() argument 278 return iomap_swapfile_activate(sis, file, span, &exfat_iomap_ops); in exfat_iomap_swap_activate()
|
| /linux/fs/ntfs/ |
| H A D | aops.c | 296 static int ntfs_swap_activate(struct swap_info_struct *sis, in ntfs_swap_activate() argument 302 return iomap_swapfile_activate(sis, swap_file, span, in ntfs_swap_activate()
|
| /linux/drivers/char/agp/ |
| H A D | Makefile | 15 obj-$(CONFIG_AGP_SIS) += sis-agp.o
|
| /linux/fs/xfs/ |
| H A D | xfs_aops.c | 636 struct swap_info_struct *sis, in xfs_vm_swap_activate() argument 674 sis->bdev = xfs_inode_buftarg(ip)->bt_bdev; in xfs_vm_swap_activate() 676 return iomap_swapfile_activate(sis, swap_file, span, in xfs_vm_swap_activate()
|
| /linux/fs/nfs/ |
| H A D | file.c | 609 static int nfs_swap_activate(struct swap_info_struct *sis, struct file *file, in nfs_swap_activate() argument 631 ret = swap_fs_activate(sis, &nfs_swap_ops); in nfs_swap_activate() 637 *span = sis->pages; in nfs_swap_activate()
|
| /linux/drivers/net/ethernet/ |
| H A D | Makefile | 86 obj-$(CONFIG_NET_VENDOR_SIS) += sis/
|
| H A D | Kconfig | 173 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 | 4258 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() argument 4282 while (cur_lblock < last_lblock && cur_lblock < sis->max) { in check_swap_activate() 4317 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate() 4338 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate() 4339 nr_pblocks = sis->max - cur_lblock; in check_swap_activate() 4351 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate() 4361 sis->max = cur_lblock; in check_swap_activate() 4362 sis->pages = cur_lblock - 1; in check_swap_activate() 4370 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument 4401 ret = check_swap_activate(sis, file, span); in f2fs_swap_activate() [all …]
|
| /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 | 10268 static int btrfs_add_swap_extent(struct swap_info_struct *sis, 10281 if (bsi->nr_pages >= sis->max) in btrfs_add_swap_extent() 10284 max_pages = sis->max - bsi->nr_pages; in btrfs_add_swap_extent() 10301 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage); in btrfs_add_swap_extent() 10317 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, 10596 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10614 ret = btrfs_add_swap_extent(sis, &bsi); in btrfs_swap_activate() 10645 sis->bdev = device->bdev; in btrfs_swap_activate() 10647 sis->max = bsi.nr_pages; in btrfs_swap_activate() 10648 sis in btrfs_swap_activate() 10269 btrfs_add_swap_extent(struct swap_info_struct * sis,struct btrfs_swap_info * bsi) btrfs_add_swap_extent() argument 10318 btrfs_swap_activate(struct swap_info_struct * sis,struct file * file,sector_t * span) btrfs_swap_activate() argument 10657 btrfs_swap_activate(struct swap_info_struct * sis,struct file * file,sector_t * span) btrfs_swap_activate() argument [all...] |
| /linux/Documentation/filesystems/ |
| H A D | locking.rst | 267 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 357 submitted directly to the block device ``sis->bdev``.
|
| H A D | vfs.rst | 777 int (*swap_activate)(struct swap_info_struct *sis, struct file *f, sector_t *span) 980 will be submitted directly to the block device ``sis->bdev``.
|
| /linux/fs/smb/client/ |
| H A D | file.c | 3478 static int cifs_swap_activate(struct swap_info_struct *sis, in cifs_swap_activate() 3500 *span = sis->pages; in cifs_swap_activate() 3519 return swap_fs_activate(sis, &cifs_swap_ops); in cifs_swap_deactivate() 3475 cifs_swap_activate(struct swap_info_struct * sis,struct file * swap_file,sector_t * span) cifs_swap_activate() argument
|
| /linux/fs/ext4/ |
| H A D | inode.c | 3941 static int ext4_iomap_swap_activate(struct swap_info_struct *sis, in ext4_iomap_swap_activate() argument 3944 return iomap_swapfile_activate(sis, file, span, in ext4_iomap_swap_activate()
|
| /linux/ |
| H A D | MAINTAINERS | 25148 F: drivers/net/ethernet/sis/sis190.c 25155 F: drivers/net/ethernet/sis/sis900.* 25160 F: drivers/video/fbdev/sis/
|