Lines Matching +full:mode +full:- +full:flag
2 * SPDX-License-Identifier: GPL-2.0+
44 char *mkmodestr(unsigned long mode, char *str) in mkmodestr() argument
50 switch (mode & S_IFMT) { in mkmodestr()
57 case S_IFREG: str[0] = '-'; break; in mkmodestr()
63 str[9-i] = (mode & mask)?c:'-'; in mkmodestr()
67 if(mode & S_ISUID) str[3] = (mode & S_IXUSR)?'s':'S'; in mkmodestr()
68 if(mode & S_ISGID) str[6] = (mode & S_IXGRP)?'s':'S'; in mkmodestr()
69 if(mode & S_ISVTX) str[9] = (mode & S_IXOTH)?'t':'T'; in mkmodestr()
81 /* U-Boot commands */
85 * Routine implementing fsload u-boot command. This routine tries to load
90 * @param flag command flag
95 int do_cramfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_cramfs_load() argument
117 part.offset = (u64)(uintptr_t) map_sysmem(addr - OFFSET_ADJUSTMENT, 0); in do_cramfs_load()
119 /* pre-set Boot file name */ in do_cramfs_load()
153 * Routine implementing u-boot ls command which lists content of a given
158 * @param flag command flag
163 int do_cramfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_cramfs_ls() argument
182 part.offset = (u64)(uintptr_t) map_sysmem(addr - OFFSET_ADJUSTMENT, 0); in do_cramfs_ls()
202 " - load binary file from address 'cramfsaddr'\n"
209 " - list files in a directory.\n"