Searched refs:max_len (Results 1 - 17 of 17) sorted by last modified time

/u-boot/net/
H A Dnet.c1705 int net_parse_bootfile(struct in_addr *ipaddr, char *filename, int max_len) argument
1721 strncpy(filename, colon + 1, max_len);
1723 strncpy(filename, net_boot_file_name, max_len);
1725 filename[max_len - 1] = '\0';
/u-boot/fs/ubifs/
H A Dsuper.c766 c->ranges[UBIFS_INO_NODE].max_len = UBIFS_MAX_INO_NODE_SZ;
769 c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size;
771 c->ranges[UBIFS_DENT_NODE].max_len = UBIFS_MAX_DENT_NODE_SZ;
773 c->ranges[UBIFS_XENT_NODE].max_len = UBIFS_MAX_XENT_NODE_SZ;
775 c->ranges[UBIFS_DATA_NODE].max_len = UBIFS_MAX_DATA_NODE_SZ;
785 c->ranges[UBIFS_IDX_NODE].max_len = INT_MAX;
851 c->ranges[UBIFS_IDX_NODE].max_len = tmp;
H A Dubifs.h1410 * @max_len: maximum possible node length
1412 * If @max_len is %0, the node has fixed length @len.
1419 int max_len; member in struct:ubifs_node_range
H A Dio.c272 if (c->ranges[type].max_len == 0) {
276 node_len > c->ranges[type].max_len)
H A Dtnc_misc.c334 if (c->ranges[type].max_len == 0) {
343 zbr->len > c->ranges[type].max_len) {
348 c->ranges[type].max_len);
H A Dmaster.c128 c->zroot.len > c->ranges[UBIFS_IDX_NODE].max_len) {
H A Dlog.c357 int err, i, max_len, len; local
363 max_len = UBIFS_CS_NODE_SZ + c->jhead_cnt * UBIFS_REF_NODE_SZ;
364 max_len = ALIGN(max_len, c->min_io_size);
365 buf = cs = kmalloc(max_len, GFP_NOFS);
/u-boot/drivers/usb/musb-new/
H A Dmusb_host.c631 if (length > channel->max_len)
632 length = channel->max_len;
H A Dmusb_gadget.c373 musb_ep->dma->max_len);
778 channel->max_len);
815 channel->max_len);
H A Dmusb_dma.h80 * @max_len: the maximum number of bytes the channel can move in one
92 size_t max_len; member in struct:dma_channel
/u-boot/drivers/mtd/
H A Dmtd_uboot.c52 * @max_len: Length of the alternate name buffer
57 unsigned int max_len)
85 if (dev_id_len + 1 > max_len)
56 mtd_search_alternate_name(const char *mtdname, char *altname, unsigned int max_len) argument
/u-boot/drivers/mmc/
H A Domap_hsmmc.c631 u32 length = 0, max_len = 0; local
685 if (length > max_len) {
687 max_len = length;
694 if (!max_len) {
709 phase_delay = min(max_window + 4 * max_len - 24,
711 DIV_ROUND_UP(13 * max_len, 16) * 4);
713 phase_delay = max_window + DIV_ROUND_UP(9 * max_len, 16) * 4;
715 phase_delay = max_window + DIV_ROUND_UP(8 * max_len, 16) * 4;
717 phase_delay = max_window + DIV_ROUND_UP(7 * max_len, 16) * 4;
719 phase_delay = max_window + DIV_ROUND_UP(5 * max_len, 1
[all...]
/u-boot/boot/
H A Dbootmeth_efi.c49 static int get_efi_pxe_vci(char *str, int max_len) argument
57 snprintf(str, max_len, "PXEClient:Arch:%05x:UNDI:003000", ret);
/u-boot/include/linux/mtd/
H A Dmtd.h611 unsigned int max_len);
/u-boot/include/
H A Dnet.h878 * @param max_len - The longest - 1 that the filename part can be
882 int net_parse_bootfile(struct in_addr *ipaddr, char *filename, int max_len);
/u-boot/common/
H A Dcli_hush_upstream.c807 int max_len; /* if > 0, name is part of initial env; else name is malloced */ member in struct:variable
2211 if (!cur_var->max_len)
2520 if (cur->max_len == 0) /* allocated "VAR=VAL"? */
2536 if (cur->max_len != 0) {
2537 if (cur->max_len >= strnlen(str, cur->max_len + 1)) {
2544 cur->max_len = 0;
2547 /* max_len == 0 signifies "malloced" var, which we can
2640 if (!cur->max_len)
8793 if (!cur->max_len) {
[all...]
/u-boot/arch/riscv/lib/
H A Dfdt_fixup.c35 int max_len = sizeof(basename); local
67 strncpy(basename, name, max_len);
70 bname_len = strnlen(basename, max_len) - strnlen(temp,
71 max_len);

Completed in 192 milliseconds