Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/
Dmedia-entity.c57 unsigned int max_links = num_pads + extra_links; in media_entity_init() local
60 links = kzalloc(max_links * sizeof(links[0]), GFP_KERNEL); in media_entity_init()
65 entity->max_links = max_links; in media_entity_init()
319 if (entity->num_links >= entity->max_links) { in media_entity_add_link()
321 unsigned int max_links = entity->max_links + 2; in media_entity_add_link() local
324 links = krealloc(links, max_links * sizeof(*links), GFP_KERNEL); in media_entity_add_link()
331 entity->max_links = max_links; in media_entity_add_link()
/linux-3.4.99/fs/sysv/
Dsuper.c47 static void detected_xenix(struct sysv_sb_info *sbi, unsigned *max_links) in detected_xenix() argument
62 *max_links = XENIX_LINK_MAX; in detected_xenix()
78 static void detected_sysv4(struct sysv_sb_info *sbi, unsigned *max_links) in detected_sysv4() argument
89 *max_links = SYSV_LINK_MAX; in detected_sysv4()
106 static void detected_sysv2(struct sysv_sb_info *sbi, unsigned *max_links) in detected_sysv2() argument
117 *max_links = SYSV_LINK_MAX; in detected_sysv2()
134 static void detected_coherent(struct sysv_sb_info *sbi, unsigned *max_links) in detected_coherent() argument
141 *max_links = COH_LINK_MAX; in detected_coherent()
157 static void detected_v7(struct sysv_sb_info *sbi, unsigned *max_links) in detected_v7() argument
162 *max_links = V7_LINK_MAX; in detected_v7()
/linux-3.4.99/include/media/
Dmedia-entity.h66 u16 max_links; /* Maximum number of links */ member
/linux-3.4.99/fs/
Dnamei.c2627 unsigned max_links = dir->i_sb->s_max_links; in vfs_mkdir() local
2640 if (max_links && dir->i_nlink >= max_links) in vfs_mkdir()
2973 unsigned max_links = dir->i_sb->s_max_links; in vfs_link() local
3004 else if (max_links && inode->i_nlink >= max_links) in vfs_link()
3115 unsigned max_links = new_dir->i_sb->s_max_links; in vfs_rename_dir() local
3140 if (max_links && !target && new_dir != old_dir && in vfs_rename_dir()
3141 new_dir->i_nlink >= max_links) in vfs_rename_dir()