Searched refs:block (Results 1 - 25 of 42) sorted by relevance

12

/openwrt/package/system/fstools/files/
H A Dfstab.init7 echo "this file has been obsoleted. please call \"/sbin/block mount\" directly"
8 /sbin/block mount
12 echo "this file has been obsoleted. please call \"/sbin/block umount\" directly"
13 /sbin/block umount
H A Dsnapshot10 block=`ls block*.tar.gz 2> /dev/null`
11 [ -z "$block" ] || for a in $block; do
/openwrt/tools/firmware-utils/src/
H A Dmkcsysimg.c82 int type; /* type of the block */
550 block_stat_file(struct csys_block *block) argument
555 if (block->file_name == NULL)
558 err = stat(block->file_name, &st);
560 ERRS("stat failed on %s", block->file_name);
564 block->file_size = st.st_size;
570 block_writeout_hdr(FILE *outfile, struct csys_block *block) argument
575 if (block->size_hdr == 0)
579 memcpy(hdr.sig, block->sig, 4);
580 hdr.addr = HOST_TO_LE32(block
591 block_writeout_file(FILE *outfile, struct csys_block *block) argument
639 block_writeout_data(FILE *outfile, struct csys_block *block) argument
658 block_writeout_csum(FILE *outfile, struct csys_block *block) argument
675 block_writeout(FILE *outfile, struct csys_block *block) argument
713 struct csys_block *block; local
797 struct csys_block *block; local
907 struct csys_block *block; local
[all...]
H A Dmkzynfw.c69 uint32_t align; /* alignment of this block */
73 int type; /* block type */
99 uint32_t bootext_size; /* maximum size of bootext block */
292 " add boot extension block to the image\n"
294 " add raw block to the image\n"
635 block_stat_file(struct fw_block *block) argument
640 if (block->file_name == NULL)
643 res = stat(block->file_name, &st);
645 ERRS("stat failed on %s", block->file_name);
649 block
727 write_out_block(FILE *outfile, struct fw_block *block, struct csum_state *css) argument
749 struct fw_block *block; local
927 struct fw_block *block; local
987 struct fw_block *block; local
1025 struct fw_block *block; local
[all...]
H A Dmkmylofw.c55 uint32_t blocklen; /* length of the block */
235 " define block at <addr> with length of <len>.\n"
428 errmsg(0, "block at 0x%08X is too big", b->addr);
530 write_out_file(FILE *outfile, struct fw_block *block, uint32_t *crc) argument
539 if (block->name == NULL) {
543 if ((block->flags & BLOCK_FLAG_HAVEHDR) != 0) {
546 if (get_file_crc(block) != 0)
549 ph.crc = HOST_TO_LE32(block->crc);
550 ph.len = HOST_TO_LE32(block->size);
556 f = fopen(block
[all...]
/openwrt/package/boot/uboot-oxnas/files/arch/arm/include/asm/arch-nas782x/
H A Dclock.h61 static inline void reset_block(int block, int reset) argument
69 writel(BIT(block), reg);
72 static inline void enable_clock(int block) argument
74 writel(BIT(block), SYS_CTRL_CLK_SET_CTRL);
77 static inline void disable_clock(int block) argument
79 writel(BIT(block), SYS_CTRL_CLK_CLR_CTRL);
/openwrt/package/kernel/lantiq/ltq-deu/src/
H A Difxmips_md5_hmac.c84 u32 block[MD5_BLOCK_WORDS]; member in struct:md5_hmac_ctx
108 * \brief save input block to context
110 * \param in 64-byte block of input
213 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
218 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
223 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
226 md5_hmac_transform(desc, mctx->block);
230 while (len >= sizeof(mctx->block)) {
[all...]
H A Difxmips_md5.c83 u32 block[MD5_BLOCK_WORDS]; member in struct:md5_ctx
105 * \param in 64-byte block of input
149 //le32_to_cpu_array(ctx->block, sizeof(ctx->block) / sizeof(u32));
150 md5_transform(ctx, ctx->hash, ctx->block);
183 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
188 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
193 memcpy((char *)mctx->block + (sizeof(mctx->block)
[all...]
/openwrt/package/utils/oseama/src/
H A Dmd5.h38 MD5_u32plus block[16]; member in struct:__anon106
/openwrt/package/system/fstools/
H A DMakefile53 define Package/block-mount
69 define Package/block-mount/install
70 $(INSTALL_DIR) $(1)/sbin $(1)/lib $(1)/usr/sbin $(1)/etc/hotplug.d/block $(1)/etc/init.d/ $(1)/etc/uci-defaults/
74 $(INSTALL_DATA) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount
76 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/
78 $(LN) ../../sbin/block $(1)/usr/sbin/swapon
79 $(LN) ../../sbin/block $(1)/usr/sbin/swapoff
91 $(eval $(call BuildPackage,block-mount))
/openwrt/package/network/services/ead/src/tinysrp/
H A Dt_sha.c31 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
32 |(rol(block->l[i],8)&0x00FF00FF))
34 #define blk0(i) block->l[i]
36 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
37 ^block->l[(i+2)&15]^block->l[i&15],1))
46 /* Hash a single 512-bit block
55 CHAR64LONG16* block; local
[all...]
/openwrt/target/linux/ar71xx/files/drivers/spi/
H A Dspi-vsc7385.c162 static int vsc7385_is_addr_valid(u8 block, u8 subblock) argument
164 switch (block) {
194 static inline u8 vsc7385_make_addr(u8 mode, u8 block, u8 subblock) argument
198 ret = (block & VSC73XX_CMD_BLOCK_MASK) << VSC73XX_CMD_BLOCK_SHIFT;
205 static int vsc7385_read(struct vsc7385 *vsc, u8 block, u8 subblock, u8 reg, argument
214 if (!vsc7385_is_addr_valid(block, subblock))
229 cmd[0] = vsc7385_make_addr(VSC73XX_CMD_MODE_READ, block, subblock);
248 static int vsc7385_write(struct vsc7385 *vsc, u8 block, u8 subblock, u8 reg, argument
257 if (!vsc7385_is_addr_valid(block, subblock))
272 cmd[0] = vsc7385_make_addr(VSC73XX_CMD_MODE_WRITE, block, subbloc
287 vsc7385_write_verify(struct vsc7385 *vsc, u8 block, u8 subblock, u8 reg, u32 value, u32 read_mask, u32 read_val) argument
[all...]
/openwrt/package/system/mtd/src/
H A Dmtd.h16 extern int mtd_open(const char *mtd, bool block);
/openwrt/target/linux/at91/image/dfboot/
H A DMakefile32 dd if=$(PKG_BUILD_DIR)/binary/dfboot.bin of=$(PKG_BUILD_DIR)/binary/dfboot.block bs=32k count=1 conv=sync
/openwrt/target/linux/brcm47xx/generic/profiles/
H A DPS-1208MFG.mk10 PACKAGES:=-firewall -dropbear -dnsmasq -mtd -ppp -wpad-mini kmod-b44 block-mount kmod-usb-storage kmod-usb2 kmod-usb-ohci -iptables -swconfig kmod-fs-ext4
/openwrt/target/linux/ramips/rt305x/profiles/
H A Dintenso.mk13 kmod-fs-ext4 kmod-fs-vfat block-mount
H A Deasyacc.mk14 kmod-usb-storage kmod-usb-storage-extras block-mount
/openwrt/target/linux/adm8668/files-3.18/drivers/mtd/maps/
H A Dadm8668.c102 * sectors for each block write requests. To avoid over-erasing flash sectors
123 * First, let's erase the flash block.
237 unsigned char *block, *data; local
263 block = kmalloc(mtd->erasesize, GFP_KERNEL);
264 if (mtd->_read(mtd, adm8668_parts[PART_LINUX].offset, mtd->erasesize, &len, block) || len != mtd->erasesize) {
270 memcpy(block, &uhdr, sizeof(uhdr));
273 erase_write(mtd, adm8668_parts[PART_LINUX].offset, mtd->erasesize, block);
276 kfree(block);
/openwrt/package/system/zram-swap/
H A DMakefile21 DEPENDS:=+kmod-zram +!BUSYBOX_CONFIG_MKSWAP:swap-utils +!BUSYBOX_CONFIG_SWAPONOFF:block-mount
/openwrt/target/linux/at91/image/u-boot/
H A DMakefile43 dd if=$(PKG_BUILD_DIR)/u-boot.bin of=$(PKG_BUILD_DIR)/u-boot.block bs=232k count=1 conv=sync
/openwrt/tools/flock/src/
H A Dflock.c130 int block = 0; local
165 block = LOCK_NB;
249 block = LOCK_NB;
261 while ( flock(fd, type|block) ) {
/openwrt/target/linux/omap24xx/profiles/
H A D100-n810.mk11 block-mount \
/openwrt/target/linux/x86/base-files/lib/upgrade/
H A Dplatform.sh5 for uevent in /sys/class/block/*/uevent; do
39 uevent="/sys/class/block/${disk##*/}/uevent"
45 uevent="/sys/class/block/${disk##*/}/uevent"
122 #get block size
123 if [ -f "/sys/block/$diskdev/queue/physical_block_size" ]; then
124 ibs="$(cat "/sys/block/$diskdev/queue/physical_block_size")"
/openwrt/target/linux/at91/image/dfboot/src/
H A Dmain.c481 int block = 0; local
493 AT91F_MCI_ReadBlockSwab(&MCI_Device, block*Max_Read_DataBlock_Length, (unsigned int *)bufpos, Max_Read_DataBlock_Length);
503 AT91F_MCI_ReadBlockSwab(&MCI_Device, block*Max_Read_DataBlock_Length, (unsigned int *)bufpos, Max_Read_DataBlock_Length);
504 block++;
/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_summary.c14 /* Summaries write the useful part of the tags for the chunks in a block into an
15 * an array which is written to the last n chunks of the block.
16 * Reading the summaries gives all the tags for the block in one read. Much
34 * This gets written to the last one or two (maybe more) chunks in a block.
49 unsigned block; /* Must be this block */ member in struct:yaffs_summary_header
142 hdr.block = blk;
221 /* If we're scanning then update the block info */

Completed in 219 milliseconds

12