Lines Matching refs:ptr

249 	unsigned char *ptr = buffer;  in _get_new_inode_no()  local
250 while (*ptr == 255) { in _get_new_inode_no()
251 ptr++; in _get_new_inode_no()
258 input = *ptr; in _get_new_inode_no()
267 *ptr |= operand; in _get_new_inode_no()
271 ptr = ptr + 1; in _get_new_inode_no()
282 unsigned char *ptr = buffer; in _get_new_blk_no() local
285 while (*ptr == 255) { in _get_new_blk_no()
286 ptr++; in _get_new_blk_no()
297 if (*ptr & operand) { in _get_new_blk_no()
300 *ptr |= operand; in _get_new_blk_no()
311 unsigned char *ptr = buffer; in ext4fs_set_block_bmap() local
319 ptr = ptr + i; in ext4fs_set_block_bmap()
321 status = *ptr & operand; in ext4fs_set_block_bmap()
325 *ptr = *ptr | operand; in ext4fs_set_block_bmap()
329 ptr = ptr + i - 1; in ext4fs_set_block_bmap()
332 ptr = ptr + i; in ext4fs_set_block_bmap()
335 status = *ptr & operand; in ext4fs_set_block_bmap()
339 *ptr = *ptr | operand; in ext4fs_set_block_bmap()
347 unsigned char *ptr = buffer; in ext4fs_reset_block_bmap() local
355 ptr = ptr + i; in ext4fs_reset_block_bmap()
357 status = *ptr & operand; in ext4fs_reset_block_bmap()
359 *ptr = *ptr & ~(operand); in ext4fs_reset_block_bmap()
362 ptr = ptr + i - 1; in ext4fs_reset_block_bmap()
365 ptr = ptr + i; in ext4fs_reset_block_bmap()
368 status = *ptr & operand; in ext4fs_reset_block_bmap()
370 *ptr = *ptr & ~(operand); in ext4fs_reset_block_bmap()
377 unsigned char *ptr = buffer; in ext4fs_set_inode_bmap() local
384 ptr = ptr + i - 1; in ext4fs_set_inode_bmap()
387 ptr = ptr + i; in ext4fs_set_inode_bmap()
390 status = *ptr & operand; in ext4fs_set_inode_bmap()
394 *ptr = *ptr | operand; in ext4fs_set_inode_bmap()
402 unsigned char *ptr = buffer; in ext4fs_reset_inode_bmap() local
409 ptr = ptr + i - 1; in ext4fs_reset_inode_bmap()
412 ptr = ptr + i; in ext4fs_reset_inode_bmap()
415 status = *ptr & operand; in ext4fs_reset_inode_bmap()
417 *ptr = *ptr & ~(operand); in ext4fs_reset_inode_bmap()
762 char **ptr = NULL; in ext4fs_get_parent_inode_num() local
782 ptr = zalloc((depth) * sizeof(char *)); in ext4fs_get_parent_inode_num()
783 if (!ptr) in ext4fs_get_parent_inode_num()
785 if (parse_path(ptr, parse_dirname)) in ext4fs_get_parent_inode_num()
798 matched_inode_no = search_dir(parent_inode, ptr[i]); in ext4fs_get_parent_inode_num()
800 if (ptr[i + 1] == NULL && i == 1) { in ext4fs_get_parent_inode_num()
804 if (ptr[i + 1] == NULL) in ext4fs_get_parent_inode_num()
811 if (ptr[i + 1] != NULL) { in ext4fs_get_parent_inode_num()
828 matched_inode_no = search_dir(first_inode, ptr[i]); in ext4fs_get_parent_inode_num()
830 matched_inode_no = search_dir(parent_inode, ptr[i]); in ext4fs_get_parent_inode_num()
841 if (strlen(ptr[i]) > 256) { in ext4fs_get_parent_inode_num()
845 memcpy(dname, ptr[i], strlen(ptr[i])); in ext4fs_get_parent_inode_num()
851 if (ptr) { in ext4fs_get_parent_inode_num()
853 if (!ptr[i]) in ext4fs_get_parent_inode_num()
855 free(ptr[i]); in ext4fs_get_parent_inode_num()
857 free(ptr); in ext4fs_get_parent_inode_num()