Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 4 of 4) sorted by relevance

/fs/
Dfs_pin.c10 void pin_remove(struct fs_pin *pin) in pin_remove() argument
13 hlist_del_init(&pin->m_list); in pin_remove()
14 hlist_del_init(&pin->s_list); in pin_remove()
16 spin_lock_irq(&pin->wait.lock); in pin_remove()
17 pin->done = 1; in pin_remove()
18 wake_up_locked(&pin->wait); in pin_remove()
19 spin_unlock_irq(&pin->wait.lock); in pin_remove()
22 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert() argument
25 hlist_add_head(&pin->s_list, &m->mnt_sb->s_pins); in pin_insert()
26 hlist_add_head(&pin->m_list, &real_mount(m)->mnt_pins); in pin_insert()
/fs/gfs2/
Dtrace_gfs2.h324 TP_PROTO(const struct gfs2_bufdata *bd, int pin),
326 TP_ARGS(bd, pin),
330 __field( int, pin )
338 __entry->pin = pin;
346 __entry->pin ? "pin" : "unpin",
/fs/f2fs/
Dfile.c3272 __u32 pin; in f2fs_ioc_set_pin_file() local
3275 if (get_user(pin, (__u32 __user *)arg)) in f2fs_ioc_set_pin_file()
3290 if (!pin) { in f2fs_ioc_set_pin_file()
3328 __u32 pin = 0; in f2fs_ioc_get_pin_file() local
3331 pin = F2FS_I(inode)->i_gc_failures[GC_FAILURE_PIN]; in f2fs_ioc_get_pin_file()
3332 return put_user(pin, (u32 __user *)arg); in f2fs_ioc_get_pin_file()
/fs/btrfs/
Dtree-log.c268 int pin; member
315 if (wc->pin) in process_one_buffer()
320 if (wc->pin && btrfs_header_level(eb) == 0) in process_one_buffer()
6288 wc.pin = 1; in btrfs_recover_log_trees()
6398 if (wc.pin) { in btrfs_recover_log_trees()
6399 wc.pin = 0; in btrfs_recover_log_trees()