Searched refs:max_links (Results 1 – 4 of 4) sorted by relevance
57 unsigned int max_links = num_pads + extra_links; in media_entity_init() local60 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() local324 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()
47 static void detected_xenix(struct sysv_sb_info *sbi, unsigned *max_links) in detected_xenix() argument62 *max_links = XENIX_LINK_MAX; in detected_xenix()78 static void detected_sysv4(struct sysv_sb_info *sbi, unsigned *max_links) in detected_sysv4() argument89 *max_links = SYSV_LINK_MAX; in detected_sysv4()106 static void detected_sysv2(struct sysv_sb_info *sbi, unsigned *max_links) in detected_sysv2() argument117 *max_links = SYSV_LINK_MAX; in detected_sysv2()134 static void detected_coherent(struct sysv_sb_info *sbi, unsigned *max_links) in detected_coherent() argument141 *max_links = COH_LINK_MAX; in detected_coherent()157 static void detected_v7(struct sysv_sb_info *sbi, unsigned *max_links) in detected_v7() argument162 *max_links = V7_LINK_MAX; in detected_v7()
66 u16 max_links; /* Maximum number of links */ member
2627 unsigned max_links = dir->i_sb->s_max_links; in vfs_mkdir() local2640 if (max_links && dir->i_nlink >= max_links) in vfs_mkdir()2973 unsigned max_links = dir->i_sb->s_max_links; in vfs_link() local3004 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() local3140 if (max_links && !target && new_dir != old_dir && in vfs_rename_dir()3141 new_dir->i_nlink >= max_links) in vfs_rename_dir()