dir->variant.dir_variant.children.next,
struct yaffs_obj,siblings);
dir->variant.dir_variant.children.next,
struct yaffs_obj,siblings);
- YINIT_LIST_HEAD(&sc->others);
- ylist_add(&sc->others,&(yaffs_dev_to_lc(dev)->search_contexts));
+ INIT_LIST_HEAD(&sc->others);
+ list_add(&sc->others,&(yaffs_dev_to_lc(dev)->search_contexts));
/* Iterate through the directory search contexts.
* If any are currently on the object being removed, then advance
* the search context to the next object to prevent a hanging pointer.
*/
/* Iterate through the directory search contexts.
* If any are currently on the object being removed, then advance
* the search context to the next object to prevent a hanging pointer.
*/
int lazy_loading_overridden;
int empty_lost_and_found;
int empty_lost_and_found_overridden;
int lazy_loading_overridden;
int empty_lost_and_found;
int empty_lost_and_found_overridden;
memset(context,0,sizeof(struct yaffs_linux_context));
dev->os_context = context;
memset(context,0,sizeof(struct yaffs_linux_context));
dev->os_context = context;
- ylist_for_each(l,&yaffs_context_list){
- context_iterator = ylist_entry(l,struct yaffs_linux_context,context_list);
+ list_for_each(l,&yaffs_context_list){
+ context_iterator = list_entry(l,struct yaffs_linux_context,context_list);
char **start,
off_t offset, int count, int *eof, void *data)
{
char **start,
off_t offset, int count, int *eof, void *data)
{
- ylist_for_each(item, &yaffs_context_list) {
- struct yaffs_linux_context *dc = ylist_entry(item, struct yaffs_linux_context, context_list);
+ list_for_each(item, &yaffs_context_list) {
+ struct yaffs_linux_context *dc = list_entry(item, struct yaffs_linux_context, context_list);
char **start,
off_t offset, int count, int *eof, void *data)
{
char **start,
off_t offset, int count, int *eof, void *data)
{
- ylist_for_each(item, &yaffs_context_list) {
- struct yaffs_linux_context *dc = ylist_entry(item, struct yaffs_linux_context, context_list);
+ list_for_each(item, &yaffs_context_list) {
+ struct yaffs_linux_context *dc = list_entry(item, struct yaffs_linux_context, context_list);