Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dbitmap.c101 struct xbitmap *sub) in xbitmap_disunion() argument
112 if (list_empty(&bitmap->list) || list_empty(&sub->list)) in xbitmap_disunion()
114 ASSERT(!list_empty(&sub->list)); in xbitmap_disunion()
117 list_sort(NULL, &sub->list, xbitmap_range_cmp); in xbitmap_disunion()
127 sub_br = list_first_entry(&sub->list, struct xbitmap_range, in xbitmap_disunion()
138 if (list_is_last(&sub_br->list, &sub->list)) in xbitmap_disunion()
Dbitmap.h30 int xbitmap_disunion(struct xbitmap *bitmap, struct xbitmap *sub);
/fs/afs/
Dproc.c495 char *s, *p, *sub; in afs_proc_sysname_write() local
533 sub = (char *)afs_init_sysname; in afs_proc_sysname_write()
536 sub = kmemdup(s, len + 1, GFP_KERNEL); in afs_proc_sysname_write()
537 if (!sub) in afs_proc_sysname_write()
541 sysnames->subs[sysnames->nr] = sub; in afs_proc_sysname_write()
/fs/f2fs/
Dnamei.c159 static inline int is_extension_exist(const unsigned char *s, const char *sub, in is_extension_exist() argument
163 size_t sublen = strlen(sub); in is_extension_exist()
166 if (sublen == 1 && *sub == '*') in is_extension_exist()
180 return !strncasecmp(s + slen - sublen, sub, sublen); in is_extension_exist()
186 if (!strncasecmp(s + i + 1, sub, sublen)) in is_extension_exist()