Home
last modified time | relevance | path

Searched refs:noffset (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/common/
Dimage-fit.c110 static void fit_get_debug(const void *fit, int noffset, in fit_get_debug() argument
114 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
128 int noffset; in fit_get_subimage_count() local
134 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_get_subimage_count()
135 (noffset >= 0) && (ndepth > 0); in fit_get_subimage_count()
136 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count()
161 static void fit_image_print_data(const void *fit, int noffset, const char *p, in fit_image_print_data() argument
172 fit_get_name(fit, noffset, NULL)); in fit_image_print_data()
174 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_print_data()
179 keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_print_data()
[all …]
Dimage-sig.c154 const void *fit, int noffset, int required_keynode, in fit_image_setup_verify() argument
159 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
164 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify()
166 info->node_offset = noffset; in fit_image_setup_verify()
182 int fit_image_check_sig(const void *fit, int noffset, const void *data, in fit_image_check_sig() argument
191 if (fit_image_setup_verify(&info, fit, noffset, required_keynode, in fit_image_check_sig()
195 if (fit_image_hash_get_value(fit, noffset, &fit_value, in fit_image_check_sig()
216 int noffset; in fit_image_verify_sig() local
222 fdt_for_each_subnode(noffset, fit, image_noffset) { in fit_image_verify_sig()
223 const char *name = fit_get_name(fit, noffset, NULL); in fit_image_verify_sig()
[all …]
Dupdate.c215 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() argument
220 if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) in update_fit_getparams()
223 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams()
235 int images_noffset, ndepth, noffset; in update_tftp() local
293 noffset = fdt_next_node(fit, images_noffset, &ndepth); in update_tftp()
294 while (noffset >= 0 && ndepth > 0) { in update_tftp()
298 fit_image_name = (char *)fit_get_name(fit, noffset, NULL); in update_tftp()
301 if (!fit_image_verify(fit, noffset)) { in update_tftp()
308 if (update_fit_getparams(fit, noffset, &update_addr, in update_tftp()
323 } else if (fit_image_check_type(fit, noffset, in update_tftp()
[all …]
Dbootm.c930 int noffset; in bootm_host_load_image() local
939 noffset = fit_image_load(&images, (ulong)fit, in bootm_host_load_image()
943 if (noffset < 0) in bootm_host_load_image()
944 return noffset; in bootm_host_load_image()
945 if (fit_image_get_type(fit, noffset, &image_type)) { in bootm_host_load_image()
950 if (fit_image_get_comp(fit, noffset, &imape_comp)) { in bootm_host_load_image()
/external/u-boot/tools/
Dimage-host.c30 static int fit_set_hash_value(void *fit, int noffset, uint8_t *value, in fit_set_hash_value() argument
35 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_set_hash_value()
38 FIT_VALUE_PROP, fit_get_name(fit, noffset, NULL), in fit_set_hash_value()
60 int noffset, const void *data, size_t size) in fit_image_process_hash() argument
68 node_name = fit_get_name(fit, noffset, NULL); in fit_image_process_hash()
70 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_process_hash()
82 ret = fit_set_hash_value(fit, noffset, value, value_len); in fit_image_process_hash()
107 static int fit_image_write_sig(void *fit, int noffset, uint8_t *value, in fit_image_write_sig() argument
120 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_image_write_sig()
122 ret = fdt_setprop_string(fit, noffset, "signer-name", in fit_image_write_sig()
[all …]
Dfit_image.c750 int noffset; in fit_extract_contents() local
781 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_extract_contents()
782 (noffset >= 0) && (ndepth > 0); in fit_extract_contents()
783 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_extract_contents()
791 count, fit_get_name(fit, noffset, NULL)); in fit_extract_contents()
793 fit_image_print(fit, noffset, p); in fit_extract_contents()
795 return fit_image_extract(fit, noffset, in fit_extract_contents()
/external/f2fs-tools/fsck/
Dnode.c109 int offset[4], unsigned int noffset[4]) in get_node_path()
119 noffset[0] = 0; in get_node_path()
128 noffset[n]= 1; in get_node_path()
136 noffset[n] = 2; in get_node_path()
144 noffset[n] = 3; in get_node_path()
146 noffset[n] = 4 + offset[n - 1]; in get_node_path()
154 noffset[n] = 4 + dptrs_per_blk; in get_node_path()
156 noffset[n] = 5 + dptrs_per_blk + offset[n - 1]; in get_node_path()
164 noffset[n] = 5 + (dptrs_per_blk * 2); in get_node_path()
166 noffset[n] = 6 + (dptrs_per_blk * 2) + in get_node_path()
[all …]
/external/u-boot/include/
Dimage.h941 void fit_image_print(const void *fit, int noffset, const char *p);
973 int noffset, int *len) in fit_get_name() argument
975 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()
978 int fit_get_desc(const void *fit, int noffset, char **desc);
979 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
982 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
983 int fit_image_get_arch(const void *fit, int noffset, uint8_t *arch);
984 int fit_image_get_type(const void *fit, int noffset, uint8_t *type);
985 int fit_image_get_comp(const void *fit, int noffset, uint8_t *comp);
986 int fit_image_get_load(const void *fit, int noffset, ulong *load);
[all …]
/external/u-boot/cmd/
Dsource.c37 int noffset; in source() local
102 noffset = fit_image_get_node (fit_hdr, fit_uname); in source()
103 if (noffset < 0) { in source()
108 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source()
115 if (!fit_image_verify(fit_hdr, noffset)) { in source()
122 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
Dximg.c45 int noffset; in do_imgextract() local
140 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract()
141 if (noffset < 0) { in do_imgextract()
146 if (fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract()
156 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract()
163 if (fit_image_get_data(fit_hdr, noffset, in do_imgextract()
169 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
Dfpga.c292 int noffset; in do_fpga() local
306 noffset = fit_image_get_node(fit_hdr, in do_fpga()
308 if (noffset < 0) { in do_fpga()
315 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga()
321 if (fit_image_get_data(fit_hdr, noffset, in do_fpga()
/external/u-boot/lib/rsa/
Drsa-verify.c198 int ndepth, noffset; in rsa_verify() local
244 for (ndepth = 0, noffset = fdt_next_node(info->fit, sig_node, &ndepth); in rsa_verify()
245 (noffset >= 0) && (ndepth > 0); in rsa_verify()
246 noffset = fdt_next_node(info->fit, noffset, &ndepth)) { in rsa_verify()
247 if (ndepth == 1 && noffset != node) { in rsa_verify()
249 noffset); in rsa_verify()
Drsa-sign.c624 static int fdt_add_bignum(void *blob, int noffset, const char *prop_name, in fdt_add_bignum() argument
678 ret = fdt_setprop(blob, noffset, prop_name, buf, size); in fdt_add_bignum()
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1952 off_t noffset; in growfile() local
2031 if ((noffset = lseek(fd, grow_incr - 1, SEEK_END)) == -1) { in growfile()
2104 noffset = in growfile()
2108 noffset = in growfile()
2123 noffset = min_lseek; /* file will still grow */ in growfile()
2125 noffset = in growfile()
2130 noffset = in growfile()
2134 if ((Woffset = lseek(fd, noffset, SEEK_SET)) == -1) { in growfile()
2139 (long)noffset, strerror(errno)); in growfile()
/external/u-boot/common/spl/
Dspl_fit.c342 static int spl_fit_image_get_os(const void *fit, int noffset, uint8_t *os) in spl_fit_image_get_os() argument
347 return fit_image_get_os(fit, noffset, os); in spl_fit_image_get_os()
/external/mesa3d/src/mesa/main/
Dvarray.c1661 GLint coffset = 0, noffset = 0, voffset;/* color, normal, vertex offsets */ in _mesa_InterleavedArrays() local
1716 noffset = 0; in _mesa_InterleavedArrays()
1725 noffset = 4*f; in _mesa_InterleavedArrays()
1760 noffset = 2*f; in _mesa_InterleavedArrays()
1769 noffset = 6*f; in _mesa_InterleavedArrays()
1778 noffset = 8*f; in _mesa_InterleavedArrays()
1819 _mesa_NormalPointer( GL_FLOAT, stride, (GLubyte *) pointer + noffset ); in _mesa_InterleavedArrays()
/external/libpcap/
Doptimize.c2390 int icount, noffset; in dot_dump_node() local
2398 noffset = min(block->offset + icount, (int)prog->bf_len); in dot_dump_node()
2401 for (i = block->offset; i < noffset; i++) { in dot_dump_node()