Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 121) sorted by relevance

12345

/linux-3.4.99/fs/minix/
Ditree_common.c151 Indirect *partial; in get_block() local
159 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
162 if (!partial) { in get_block()
166 partial = chain+depth-1; /* the whole chain */ in get_block()
173 while (partial > chain) { in get_block()
174 brelse(partial->bh); in get_block()
175 partial--; in get_block()
189 left = (chain + depth) - partial; in get_block()
190 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
194 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
[all …]
/linux-3.4.99/fs/sysv/
Ditree.c208 Indirect *partial; in get_block() local
217 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
221 if (!partial) { in get_block()
226 partial = chain+depth-1; /* the whole chain */ in get_block()
233 while (partial > chain) { in get_block()
234 brelse(partial->bh); in get_block()
235 partial--; in get_block()
249 left = (chain + depth) - partial; in get_block()
250 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
254 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
[all …]
/linux-3.4.99/fs/ext4/
Dindirect.c242 Indirect *partial) in ext4_find_goal() argument
250 goal = ext4_find_near(inode, partial); in ext4_find_goal()
660 Indirect *partial; in ext4_ind_map_blocks() local
677 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
680 if (!partial) { in ext4_ind_map_blocks()
711 goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks()
714 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks()
720 count = ext4_blks_to_allocate(partial, indirect_blks, in ext4_ind_map_blocks()
727 offsets + (partial - chain), partial); in ext4_ind_map_blocks()
738 partial, indirect_blks, count); in ext4_ind_map_blocks()
[all …]
/linux-3.4.99/drivers/crypto/
Dpadlock-sha.c309 unsigned int partial, done; in padlock_sha1_update_nano() local
317 partial = sctx->count & 0x3f; in padlock_sha1_update_nano()
323 if ((partial + len) >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
326 if (partial) { in padlock_sha1_update_nano()
327 done = -partial; in padlock_sha1_update_nano()
328 memcpy(sctx->buffer + partial, data, in padlock_sha1_update_nano()
351 partial = 0; in padlock_sha1_update_nano()
354 memcpy(sctx->buffer + partial, src, len - done); in padlock_sha1_update_nano()
362 unsigned int partial, padlen; in padlock_sha1_final_nano() local
369 partial = state->count & 0x3f; in padlock_sha1_final_nano()
[all …]
/linux-3.4.99/crypto/
Dsha1_generic.c43 unsigned int partial, done; in crypto_sha1_update() local
46 partial = sctx->count % SHA1_BLOCK_SIZE; in crypto_sha1_update()
51 if ((partial + len) >= SHA1_BLOCK_SIZE) { in crypto_sha1_update()
54 if (partial) { in crypto_sha1_update()
55 done = -partial; in crypto_sha1_update()
56 memcpy(sctx->buffer + partial, data, in crypto_sha1_update()
68 partial = 0; in crypto_sha1_update()
70 memcpy(sctx->buffer + partial, src, len - done); in crypto_sha1_update()
Dsha256_generic.c253 unsigned int partial, done; in sha256_update() local
256 partial = sctx->count & 0x3f; in sha256_update()
261 if ((partial + len) > 63) { in sha256_update()
262 if (partial) { in sha256_update()
263 done = -partial; in sha256_update()
264 memcpy(sctx->buf + partial, data, done + 64); in sha256_update()
274 partial = 0; in sha256_update()
276 memcpy(sctx->buf + partial, src, len - done); in sha256_update()
/linux-3.4.99/fs/ext2/
Dinode.c322 Indirect *partial) in ext2_find_goal() argument
337 return ext2_find_near(inode, partial); in ext2_find_goal()
608 Indirect *partial; in ext2_get_blocks() local
622 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
624 if (!partial) { in ext2_get_blocks()
670 if (err == -EAGAIN || !verify_chain(chain, partial)) { in ext2_get_blocks()
671 while (partial > chain) { in ext2_get_blocks()
672 brelse(partial->bh); in ext2_get_blocks()
673 partial--; in ext2_get_blocks()
675 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
[all …]
/linux-3.4.99/arch/x86/crypto/
Dsha1_ssse3_glue.c58 unsigned int len, unsigned int partial) in __sha1_ssse3_update() argument
65 if (partial) { in __sha1_ssse3_update()
66 done = SHA1_BLOCK_SIZE - partial; in __sha1_ssse3_update()
67 memcpy(sctx->buffer + partial, data, done); in __sha1_ssse3_update()
87 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_ssse3_update() local
91 if (partial + len < SHA1_BLOCK_SIZE) { in sha1_ssse3_update()
93 memcpy(sctx->buffer + partial, data, len); in sha1_ssse3_update()
102 res = __sha1_ssse3_update(desc, data, len, partial); in sha1_ssse3_update()
/linux-3.4.99/drivers/usb/storage/
Dfreecom.c227 unsigned int partial; in freecom_transport() local
262 FCM_STATUS_PACKET_LENGTH, &partial); in freecom_transport()
263 US_DEBUGP("foo Status result %d %u\n", result, partial); in freecom_transport()
267 US_DEBUG(pdump ((void *) fst, partial)); in freecom_transport()
302 FCM_STATUS_PACKET_LENGTH, &partial); in freecom_transport()
304 US_DEBUGP("bar Status result %d %u\n", result, partial); in freecom_transport()
308 US_DEBUG(pdump ((void *) fst, partial)); in freecom_transport()
311 if (partial != 4) in freecom_transport()
363 FCM_PACKET_LENGTH, &partial); in freecom_transport()
364 US_DEBUG(pdump ((void *) fst, partial)); in freecom_transport()
[all …]
Dinitializers.c68 unsigned int partial; in usb_stor_ucr61s2b_init() local
82 US_BULK_CB_WRAP_LEN, &partial); in usb_stor_ucr61s2b_init()
88 US_BULK_CS_WRAP_LEN, &partial); in usb_stor_ucr61s2b_init()
Dtransport.c266 unsigned int length, int result, unsigned int partial) in interpret_urb_result() argument
269 result, partial, length); in interpret_urb_result()
274 if (partial != length) { in interpret_urb_result()
470 unsigned int partial; in usb_stor_bulk_srb() local
473 &partial); in usb_stor_bulk_srb()
475 scsi_set_resid(srb, scsi_bufflen(srb) - partial); in usb_stor_bulk_srb()
493 unsigned int partial; in usb_stor_bulk_transfer_sg() local
500 length_left, &partial); in usb_stor_bulk_transfer_sg()
501 length_left -= partial; in usb_stor_bulk_transfer_sg()
505 length_left, &partial); in usb_stor_bulk_transfer_sg()
[all …]
Dkarma.c104 int result, partial; in rio_karma_send_command() local
118 us->iobuf, RIO_SEND_LEN, &partial); in rio_karma_send_command()
123 data->recv, RIO_RECV_LEN, &partial); in rio_karma_send_command()
/linux-3.4.99/drivers/usb/misc/
Drio500.c273 unsigned int partial; in write_rio() local
314 obuf, thistime, &partial, 5000); in write_rio()
317 result, thistime, partial); in write_rio()
328 } else if (!result && partial) { in write_rio()
329 obuf += partial; in write_rio()
330 thistime -= partial; in write_rio()
359 unsigned int partial; in read_rio() local
393 ibuf, this_read, &partial, in read_rio()
397 result, this_read, partial); in read_rio()
399 if (partial) { in read_rio()
[all …]
/linux-3.4.99/kernel/trace/
Dtrace_output.c895 goto partial;
899 goto partial;
903 goto partial;
906 goto partial;
910 partial:
1136 goto partial;
1140 goto partial;
1143 goto partial;
1145 goto partial;
1150 partial:
[all …]
/linux-3.4.99/fs/ext3/
Dinode.c504 Indirect *partial) in ext3_find_goal() argument
519 return ext3_find_near(inode, partial); in ext3_find_goal()
860 Indirect *partial; in ext3_get_blocks_handle() local
877 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
880 if (!partial) { in ext3_get_blocks_handle()
932 if (err == -EAGAIN || !verify_chain(chain, partial)) { in ext3_get_blocks_handle()
933 while (partial > chain) { in ext3_get_blocks_handle()
934 brelse(partial->bh); in ext3_get_blocks_handle()
935 partial--; in ext3_get_blocks_handle()
937 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
[all …]
/linux-3.4.99/fs/adfs/
Ddir_fplus.c141 unsigned int buffer, partial, remainder; in dir_memcpy() local
146 partial = sb->s_blocksize - offset; in dir_memcpy()
148 if (partial >= len) in dir_memcpy()
153 remainder = len - partial; in dir_memcpy()
157 partial); in dir_memcpy()
159 memcpy(c + partial, in dir_memcpy()
/linux-3.4.99/fs/
Dsplice.c209 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()
210 buf->len = spd->partial[page_nr].len; in splice_to_pipe()
211 buf->private = spd->partial[page_nr].private; in splice_to_pipe()
285 spd->partial = kmalloc(buffers * sizeof(struct partial_page), GFP_KERNEL); in splice_grow_spd()
287 if (spd->pages && spd->partial) in splice_grow_spd()
291 kfree(spd->partial); in splice_grow_spd()
301 kfree(spd->partial); in splice_shrink_spd()
312 struct partial_page partial[PIPE_DEF_BUFFERS]; in __generic_file_splice_read() local
319 .partial = partial, in __generic_file_splice_read()
484 spd.partial[page_nr].offset = loff; in __generic_file_splice_read()
[all …]
/linux-3.4.99/drivers/staging/keucr/
Dtransport.c141 unsigned int length, int result, unsigned int partial) in interpret_urb_result() argument
147 if (partial != length) { in interpret_urb_result()
255 unsigned int partial; in usb_stor_bulk_srb() local
258 &partial); in usb_stor_bulk_srb()
260 scsi_set_resid(srb, scsi_bufflen(srb) - partial); in usb_stor_bulk_srb()
271 unsigned int partial; in usb_stor_bulk_transfer_sg() local
279 length_left, &partial); in usb_stor_bulk_transfer_sg()
280 length_left -= partial; in usb_stor_bulk_transfer_sg()
284 length_left, &partial); in usb_stor_bulk_transfer_sg()
285 length_left -= partial; in usb_stor_bulk_transfer_sg()
/linux-3.4.99/mm/
Dtruncate.c52 static inline void truncate_partial_page(struct page *page, unsigned partial) in truncate_partial_page() argument
54 zero_user_segment(page, partial, PAGE_CACHE_SIZE); in truncate_partial_page()
57 do_invalidatepage(page, partial); in truncate_partial_page()
210 const unsigned partial = lstart & (PAGE_CACHE_SIZE - 1); in truncate_inode_pages_range() local
252 if (partial) { in truncate_inode_pages_range()
256 truncate_partial_page(page, partial); in truncate_inode_pages_range()
/linux-3.4.99/drivers/scsi/aic7xxx/
Daic79xx_proc.c109 off_t partial; in copy_mem_info() local
111 partial = info->offset - info->pos; in copy_mem_info()
112 data += partial; in copy_mem_info()
113 info->pos += partial; in copy_mem_info()
114 len -= partial; in copy_mem_info()
Daic7xxx_proc.c110 off_t partial; in copy_mem_info() local
112 partial = info->offset - info->pos; in copy_mem_info()
113 data += partial; in copy_mem_info()
114 info->pos += partial; in copy_mem_info()
115 len -= partial; in copy_mem_info()
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-kernel-slab95 allocation from a partial or new slab. It can be written to
178 The deactivate_to_head file shows how many times a partial cpu
179 slab was deactivated and added to the head of its node's partial
189 The deactivate_to_tail file shows how many times a partial cpu
190 slab was deactivated and added to the tail of its node's partial
211 partial list. It can be written to clear the current count.
254 its node's partial list. It can be written to clear the current
276 using the slow path (i.e. to a full or partial slab). It can
296 remain on a node's partial list to avoid the overhead of
325 objects are on partial slabs and from which nodes they are
[all …]
/linux-3.4.99/tools/vm/
Dslabinfo.c35 unsigned long partial, objects, slabs, objects_partial, objects_total; member
524 s->slab_size, s->slabs - s->partial - s->cpu_slabs, in report()
527 page_size << s->order, s->partial, onoff(s->poison), in report()
566 s->partial, s->cpu_slabs); in slabcache()
610 s->slabs ? (s->partial * 100) / s->slabs : 100, in slabcache()
817 percentage_partial_slabs = s->partial * 100 / s->slabs; in totals()
829 if (s->partial < min_partial) in totals()
830 min_partial = s->partial; in totals()
854 if (s->partial > max_partial) in totals()
855 max_partial = s->partial; in totals()
[all …]
/linux-3.4.99/fs/reiserfs/
Dfile.c173 int partial = 0; in reiserfs_commit_page() local
203 partial = 1; in reiserfs_commit_page()
232 if (!partial) in reiserfs_commit_page()
/linux-3.4.99/net/netfilter/
Dxt_dccp.c59 goto partial; in dccp_find_option()
77 partial: in dccp_find_option()

12345