Lines Matching refs:fan_flags
1134 unsigned int fan_flags) in fanotify_mark_update_flags() argument
1136 bool want_iref = !(fan_flags & FAN_MARK_EVICTABLE); in fanotify_mark_update_flags()
1137 unsigned int ignore = fan_flags & FANOTIFY_MARK_IGNORE_BITS; in fanotify_mark_update_flags()
1154 if (ignore && (fan_flags & FAN_MARK_IGNORED_SURV_MODIFY) && in fanotify_mark_update_flags()
1176 __u32 mask, unsigned int fan_flags) in fanotify_mark_add_to_mask() argument
1181 if (!(fan_flags & FANOTIFY_MARK_IGNORE_BITS)) in fanotify_mark_add_to_mask()
1189 recalc |= fanotify_mark_update_flags(fsn_mark, fan_flags); in fanotify_mark_add_to_mask()
1198 unsigned int fan_flags, in fanotify_add_new_mark() argument
1221 if (fan_flags & FAN_MARK_EVICTABLE) in fanotify_add_new_mark()
1249 unsigned int fan_flags) in fanotify_may_update_existing_mark() argument
1254 if (fan_flags & FAN_MARK_EVICTABLE && in fanotify_may_update_existing_mark()
1261 if (fan_flags & FAN_MARK_IGNORED_MASK && in fanotify_may_update_existing_mark()
1271 if (fan_flags & FAN_MARK_IGNORE && in fanotify_may_update_existing_mark()
1272 !(fan_flags & FAN_MARK_IGNORED_SURV_MODIFY) && in fanotify_may_update_existing_mark()
1281 __u32 mask, unsigned int fan_flags, in fanotify_add_mark() argument
1292 fan_flags, fsid); in fanotify_add_mark()
1302 ret = fanotify_may_update_existing_mark(fsn_mark, fan_flags); in fanotify_add_mark()
1310 if (!(fan_flags & FANOTIFY_MARK_IGNORE_BITS) && in fanotify_add_mark()
1317 recalc = fanotify_mark_add_to_mask(fsn_mark, mask, fan_flags); in fanotify_add_mark()