summaryrefslogblamecommitdiffstats
path: root/sys-utils/swapon-common.h
blob: d1b679f2c2ccd91820361e7df56804ca6bc22c8b (plain) (tree)























                                                        
                                       
#ifndef UTIL_LINUX_SWAPON_COMMON_H
#define UTIL_LINUX_SWAPON_COMMON_H

#include <libmount.h>

extern struct libmnt_cache *mntcache;

extern struct libmnt_table *get_fstab(void);
extern struct libmnt_table *get_swaps(void);
extern void free_tables(void);

extern int match_swap(struct libmnt_fs *fs, void *data);
extern int is_active_swap(const char *filename);

extern int cannot_find(const char *special);

extern void add_label(const char *label);
extern const char *get_label(size_t i);
extern size_t numof_labels(void);

extern void add_uuid(const char *uuid);
extern const char *get_uuid(size_t i);
extern size_t numof_uuids(void);

#endif /* UTIL_LINUX_SWAPON_COMMON_H */
w2-linux.git/commit/?id=d571b592c6206d33731f41aa710fa0f69ac8611b'>media: em28xx: don't use coherent buffer for DMA transfersMauro Carvalho Chehab2018-03-062-29/+24Star * media: lgdt3306a: Fix a double kfree on i2c device removeBrad Love2018-03-061-1/+7 * media: lgdt3306a: Fix module count mismatch on usb unplugBrad Love2018-03-061-1/+1 * media: lgdt3306a: Add QAM AUTO supportBrad Love2018-03-061-9/+33 * media: lgdt3306a: QAM streaming improvementBrad Love2018-03-061-0/+22 * media: lgdt3306a: Set fe ops.release to NULL if probedBrad Love2018-03-061-0/+1 * media: em28xx: Enable Hauppauge SoloHD rebranded 292e SEBrad Love2018-03-061-0/+2 * media: em28xx: Add Hauppauge SoloHD/DualHD bulk modelsBrad Love2018-03-061-5/+17 * media: em28xx: Increase max em28xx boards to max dvb adaptersBrad Love2018-03-061-1/+1 * media: em28xx: USB bulk packet size fixBrad Love2018-03-061-1/+1 * media: em28xx: Bulk transfer implementation fixBrad Love2018-03-061-0/+13 * media: em28xx: constify a new functionMauro Carvalho Chehab2018-03-061-1/+1 * media: em28xx: Hauppauge DualHD second tuner functionalityBrad Love2018-03-064-17/+196 * media: ABS macro parameter parenthesizationDan Gopstein2018-03-068-16/+10Star * media: dvb-frontend/mxl5xx: add support for physical layer scramblingDaniel Scheller2018-03-051-1/+33 * Merge commit 'v4.16-rc4~0' into patchworkMauro Carvalho Chehab2018-03-05995-5937/+10318 |\ | * Linux 4.16-rc4Linus Torvalds2018-03-041-1/+1 | * Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds2018-03-046-18/+21 | |\ | | * Documentation, x86, resctrl: Make text and sample command matchLi RongQing2018-02-281-1/+1 | | * x86/platform/intel-mid: Handle Intel Edison reboot correctlySebastian Panceac2018-02-28