Home
last modified time | relevance | path

Searched hist:"7 afcf3a55b5f484b3d3442053fae8186a3fb92d7" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dsearch.h7afcf3a55b5f484b3d3442053fae8186a3fb92d7 Wed Dec 12 04:16:21 UTC 2012 Joe Hershberger <joe.hershberger@ni.com> env: Refactor apply into change_ok

Move the read of the old value to inside the check function. In some
cases it can be avoided all together and at the least the code is only
called from one place.

Also name the function and the callback to more clearly describe what
it does.

Pass the ENTRY instead of just the name for direct access to the whole
data structure.

Pass an enum to the callback that specifies the operation being approved.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
H A Denvironment.h7afcf3a55b5f484b3d3442053fae8186a3fb92d7 Wed Dec 12 04:16:21 UTC 2012 Joe Hershberger <joe.hershberger@ni.com> env: Refactor apply into change_ok

Move the read of the old value to inside the check function. In some
cases it can be avoided all together and at the least the code is only
called from one place.

Also name the function and the callback to more clearly describe what
it does.

Pass the ENTRY instead of just the name for direct access to the whole
data structure.

Pass an enum to the callback that specifies the operation being approved.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
/rk3399_rockchip-uboot/lib/
H A Dhashtable.c7afcf3a55b5f484b3d3442053fae8186a3fb92d7 Wed Dec 12 04:16:21 UTC 2012 Joe Hershberger <joe.hershberger@ni.com> env: Refactor apply into change_ok

Move the read of the old value to inside the check function. In some
cases it can be avoided all together and at the least the code is only
called from one place.

Also name the function and the callback to more clearly describe what
it does.

Pass the ENTRY instead of just the name for direct access to the whole
data structure.

Pass an enum to the callback that specifies the operation being approved.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>