/fs/dlm/ |
D | midcomms.c | 35 unsigned len, unsigned limit) in copy_from_cb() argument 39 if ((copy + offset) > limit) in copy_from_cb() 40 copy = limit - offset; in copy_from_cb() 59 unsigned offset, unsigned len, unsigned limit) in dlm_process_incoming_buffer() argument 79 limit); in dlm_process_incoming_buffer() 120 copy_from_cb(p, base, offset, msglen, limit); in dlm_process_incoming_buffer() 126 offset &= (limit - 1); in dlm_process_incoming_buffer()
|
D | midcomms.h | 18 unsigned len, unsigned limit);
|
/fs/xfs/quota/ |
D | xfs_qm_bhv.c | 56 __uint64_t limit; in xfs_fill_statvfs_from_dquot() local 58 limit = dp->d_blk_softlimit ? in xfs_fill_statvfs_from_dquot() 61 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot() 62 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot() 68 limit = dp->d_ino_softlimit ? in xfs_fill_statvfs_from_dquot() 71 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot() 72 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
|
/fs/configfs/ |
D | item.c | 68 int limit = CONFIGFS_ITEM_NAME_LEN; in config_item_set_name() local 77 need = vsnprintf(item->ci_namebuf,limit,fmt,args); in config_item_set_name() 79 if (need < limit) in config_item_set_name() 85 limit = need + 1; in config_item_set_name() 86 name = kmalloc(limit,GFP_KERNEL); in config_item_set_name() 92 need = vsnprintf(name,limit,fmt,args); in config_item_set_name() 96 if (need >= limit) { in config_item_set_name()
|
/fs/gfs2/ |
D | lops.h | 33 unsigned int limit; in buf_limit() local 35 limit = (sdp->sd_sb.sb_bsize - BUF_OFFSET) / sizeof(__be64); in buf_limit() 36 return limit; in buf_limit() 41 unsigned int limit; in databuf_limit() local 43 limit = (sdp->sd_sb.sb_bsize - DATABUF_OFFSET) / (2 * sizeof(__be64)); in databuf_limit() 44 return limit; in databuf_limit()
|
D | lops.c | 161 unsigned int limit; in buf_lo_before_commit() local 166 limit = buf_limit(sdp); in buf_lo_before_commit() 174 if (total > limit) in buf_lo_before_commit() 175 num = limit; in buf_lo_before_commit()
|
/fs/minix/ |
D | dir.c | 112 char *p, *kaddr, *limit; in minix_readdir() local 119 limit = kaddr + minix_last_byte(inode, n) - chunk_size; in minix_readdir() 120 for ( ; p <= limit; p = minix_next_entry(p, sbi)) { in minix_readdir() 186 char *kaddr, *limit; in minix_find_entry() local 193 limit = kaddr + minix_last_byte(dir, n) - sbi->s_dirsize; in minix_find_entry() 194 for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { in minix_find_entry() 242 char *limit, *dir_end; in minix_add_link() local 251 limit = kaddr + PAGE_CACHE_SIZE - sbi->s_dirsize; in minix_add_link() 252 for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { in minix_add_link() 389 char *p, *kaddr, *limit; in minix_empty_dir() local [all …]
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 134 caddr_t baddr, limit; in vxfs_find_entry() local 139 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_find_entry() 144 for (; (caddr_t)de <= limit; de = vxfs_next_entry(de)) { in vxfs_find_entry() 289 caddr_t baddr, limit; in vxfs_readdir() local 294 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_readdir() 302 for (; (caddr_t)de <= limit; de = vxfs_next_entry(de)) { in vxfs_readdir()
|
/fs/jfs/ |
D | jfs_types.h | 175 #define setDASDLIMIT(dasdp, limit)\ argument 177 (dasdp)->limit_hi = ((u64)limit) >> 32;\ 178 (dasdp)->limit_lo = __cpu_to_le32(limit);\
|
/fs/partitions/ |
D | check.h | 16 int limit; member 22 if (n < p->limit) { in put_partition()
|
D | atari.c | 66 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) { in atari_partition() 118 if (++slot == state->limit) { in atari_partition() 131 for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) { in atari_partition()
|
D | msdos.c | 124 if (state->next == state->limit) in parse_extended() 170 if (++state->next == state->limit) in parse_extended() 224 for (i=0; i<max_nparts && state->next<state->limit; i++) { in parse_solaris_x86() 268 if (state->next == state->limit) in parse_bsd() 346 if (state->next == state->limit) in parse_unixware() 388 if (state->next == state->limit) in parse_minix()
|
D | acorn.c | 145 if (slot == state->limit) in linux_partition() 192 if (slot == state->limit) in adfspart_check_CUMANA() 378 if (slot == state->limit) in adfspart_check_ICS()
|
D | karma.c | 44 if (slot == state->limit) in karma_partition()
|
D | sysv68.c | 79 if (slot == state->limit) in sysv68_partition()
|
D | osf.c | 67 if (slot == state->limit) in osf_partition()
|
D | check.c | 171 state->limit = disk_max_parts(hd); in check_partition() 547 for (p = 1, highest = 0; p < state->limit; p++) in rescan_partitions() 554 for (p = 1; p < state->limit; p++) { in rescan_partitions()
|
/fs/ufs/ |
D | dir.c | 118 unsigned limit = PAGE_CACHE_SIZE; in ufs_check_page() local 124 limit = dir->i_size & ~PAGE_CACHE_MASK; in ufs_check_page() 125 if (limit & chunk_mask) in ufs_check_page() 127 if (!limit) in ufs_check_page() 130 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) { in ufs_check_page() 146 if (offs != limit) in ufs_check_page() 453 char *kaddr, *limit; in ufs_readdir() local 475 limit = kaddr + ufs_last_byte(inode, n) - UFS_DIR_REC_LEN(1); in ufs_readdir() 476 for ( ;(char*)de <= limit; de = ufs_next_entry(sb, de)) { in ufs_readdir()
|
/fs/ext2/ |
D | dir.c | 117 unsigned limit = PAGE_CACHE_SIZE; in ext2_check_page() local 122 limit = dir->i_size & ~PAGE_CACHE_MASK; in ext2_check_page() 123 if (limit & (chunk_size - 1)) in ext2_check_page() 125 if (!limit) in ext2_check_page() 128 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page() 143 if (offs != limit) in ext2_check_page() 300 char *kaddr, *limit; in ext2_readdir() local 321 limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); in ext2_readdir() 322 for ( ;(char*)de <= limit; de = ext2_next_entry(de)) { in ext2_readdir()
|
/fs/ramfs/ |
D | file-nommu.c | 64 unsigned long npages, xpages, loop, limit; in ramfs_nommu_expand_for_mapping() local 75 limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; in ramfs_nommu_expand_for_mapping() 76 if (limit != RLIM_INFINITY && newsize > limit) in ramfs_nommu_expand_for_mapping()
|
/fs/ |
D | binfmt_aout.c | 35 static int aout_core_dump(long signr, struct pt_regs *regs, struct file *file, unsigned long limit); 92 static int aout_core_dump(long signr, struct pt_regs *regs, struct file *file, unsigned long limit) in aout_core_dump() argument 116 if ((dump.u_dsize + dump.u_ssize+1) * PAGE_SIZE > limit) in aout_core_dump() 120 if ((dump.u_ssize + 1) * PAGE_SIZE > limit) in aout_core_dump()
|
D | binfmt_elf_fdpic.c | 79 static int elf_fdpic_core_dump(long, struct pt_regs *, struct file *, unsigned long limit); 1317 if ((size += (nr)) > limit || !dump_write(file, (addr), (nr))) \ 1505 unsigned long *limit, unsigned long mm_flags) in elf_fdpic_dump_segments() argument 1535 if ((*size += PAGE_SIZE) > *limit || in elf_fdpic_dump_segments() 1560 unsigned long *limit, unsigned long mm_flags) in elf_fdpic_dump_segments() argument 1568 if ((*size += PAGE_SIZE) > *limit) in elf_fdpic_dump_segments() 1588 struct file *file, unsigned long limit) in elf_fdpic_core_dump() argument 1794 if (elf_fdpic_dump_segments(file, &size, &limit, mm_flags) < 0) in elf_fdpic_core_dump()
|
/fs/sysv/ |
D | dir.c | 84 char *kaddr, *limit; in sysv_readdir() local 92 limit = kaddr + PAGE_CACHE_SIZE - SYSV_DIRSIZE; in sysv_readdir() 93 for ( ;(char*)de <= limit; de++) { in sysv_readdir()
|
/fs/btrfs/ |
D | disk-io.c | 501 unsigned long limit = min_t(unsigned long, in btrfs_async_submit_limit() local 504 return 256 * limit; in btrfs_async_submit_limit() 528 int limit; in run_one_async_done() local 533 limit = btrfs_async_submit_limit(fs_info); in run_one_async_done() 534 limit = limit * 2 / 3; in run_one_async_done() 538 if (atomic_read(&fs_info->nr_async_submits) < limit && in run_one_async_done() 583 int limit = btrfs_async_submit_limit(fs_info); in btrfs_wq_submit_bio() 584 if (atomic_read(&fs_info->nr_async_submits) > limit) { in btrfs_wq_submit_bio() 586 (atomic_read(&fs_info->nr_async_submits) < limit), in btrfs_wq_submit_bio() 590 (atomic_read(&fs_info->nr_async_bios) < limit), in btrfs_wq_submit_bio()
|
/fs/fat/ |
D | cache.c | 220 const int limit = sb->s_maxbytes >> MSDOS_SB(sb)->cluster_bits; in fat_get_cluster() local 243 if (*fclus > limit) { in fat_get_cluster()
|