Lines Matching defs:arg
100 static inline __u32 inotify_arg_to_mask(struct inode *inode, u32 arg)
113 mask |= (arg & INOTIFY_USER_MASK);
121 static inline unsigned int inotify_arg_to_flags(u32 arg)
125 if (arg & IN_EXCL_UNLINK)
127 if (arg & IN_ONESHOT)
315 unsigned long arg)
324 p = (void __user *) arg;
342 if (arg >= 1 && arg <= INT_MAX) {
347 idr_set_cursor(&data->idr, (unsigned int)arg);
539 u32 arg)
544 int replace = !(arg & IN_MASK_ADD);
545 int create = (arg & IN_MASK_CREATE);
564 fsn_mark->mask |= inotify_arg_to_mask(inode, arg);
565 fsn_mark->flags |= inotify_arg_to_flags(arg);
593 u32 arg)
605 tmp_i_mark->fsn_mark.mask = inotify_arg_to_mask(inode, arg);
606 tmp_i_mark->fsn_mark.flags = inotify_arg_to_flags(arg);
639 static int inotify_update_watch(struct fsnotify_group *group, struct inode *inode, u32 arg)
644 /* try to update and existing watch with the new arg */
645 ret = inotify_update_existing_watch(group, inode, arg);
648 ret = inotify_new_watch(group, inode, arg);