Lines Matching defs:length

593 	s64 bytes_written, total, length, delta;
602 for (i = 0; rl[i].length; i++) {
603 length = rl[i].length * g_vol->cluster_size;
606 total += length;
617 if (total + length > val_len) {
618 delta = length;
619 length = val_len - total;
620 delta -= length;
628 length);
637 length -= bytes_written;
644 } while (length && retry < 3);
645 if (length) {
730 for (i = 0; rl[i].length; i++) {
735 for (j = rl[i].lcn; j < rl[i].lcn + rl[i].length; j++)
785 rl[rlpos - 1].length = ++prev_run_len;
791 rl[rlpos].length = 1LL;
800 rl[rlpos].length = 0LL;
818 rl[rlpos].length = 0LL;
831 * @name_len: attribute name length (only needed if @name present)
834 * @val_len: attribute value length
863 * AT_END is not a valid attribute, its length is zero for example, thus it is
875 * sensitive. When @name is present, @name_len is the @name length in Unicode
914 le32_to_cpu(ctx->attr->length));
916 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length))) {
927 if (!a->length)
1020 * @name_len: attribute name length (only needed if @name present)
1024 * @val_len: attribute value length
1043 * not a valid attribute, its length is zero for example, thus it is safer to
1195 for (i = 0, highest_vcn = 0LL; rl[i].length; i++)
1196 highest_vcn += rl[i].length;
1232 a->length = cpu_to_le32(asize);
1417 a->length = cpu_to_le32(asize);
1426 for (i = 0; rl[i].length; i++)
1560 a->length = cpu_to_le32(asize);
1740 * of length @sd_len to the mft record @m.
1827 * terminated char string of length @vol_name_len (number of characters not
1949 e->length = const_cpu_to_le16(sizeof(INDEX_ENTRY_HEADER));
2127 re = (INDEX_ENTRY*)((char*)re + le16_to_cpu(re->length));
2130 i = (char*)re - re_start + le16_to_cpu(re->length);
2138 memmove(re_start, (char*)re, le16_to_cpu(re->length));
2144 if (le16_to_cpu(re->length) < sizeof(INDEX_ENTRY_HEADER) + sizeof(VCN))
2145 re->length = cpu_to_le16(le16_to_cpu(re->length) + sizeof(VCN));
2147 + le16_to_cpu(re->length));
2159 *(leVCN*)((char*)re + le16_to_cpu(re->length) - sizeof(VCN)) = 0;
2389 le16_to_cpu(idx_entry->length));
2404 le16_to_cpu(idx_entry->length));
2414 a->length = cpu_to_le32(le32_to_cpu(a->length) + idx_size);
2455 if (!sds_header->length)
2461 idx_entry_sdh->length = const_cpu_to_le16(0x30);
2472 sdh_data->length = sds_header->length;
2479 idx_entry_sii->length = const_cpu_to_le16(0x28);
2489 sii_data->length = sds_header->length;
2497 ((le32_to_cpu(sds_header->length) + 15) & ~15));
2525 idx_entry_q1->length = const_cpu_to_le16(0x48);
2552 idx_entry_q2->length = const_cpu_to_le16(0x58);
2587 idx_entry_o->length = const_cpu_to_le16(0x28);
2710 if (!ie->length) {
2711 ntfs_log_debug("BUG: ie->length is zero, breaking out "
2716 ie = (INDEX_ENTRY*)((char*)ie + le16_to_cpu(ie->length));
2727 ie->length = cpu_to_le16(i);
2830 idx_entry_new->length = cpu_to_le16(idx_size + 0x10);
2984 idx_entry_new->length = cpu_to_le16(idx_size);
3500 g_rl_mft_bmp[0].length = 1LL;
3502 g_rl_mft_bmp[1].length = 0LL;
3521 g_mft_lcn = g_rl_mft_bmp[0].lcn + g_rl_mft_bmp[0].length;
3561 g_rl_mft[0].length = j;
3563 g_rl_mft[1].length = 0LL;
3588 g_rl_mftmirr[0].length = j;
3590 g_rl_mftmirr[1].length = 0LL;
3671 g_rl_logfile[0].length = j;
3673 g_rl_logfile[1].length = 0LL;
3699 g_rl_boot[0].length = j;
3701 g_rl_boot[1].length = 0LL;
3725 g_rl_bad[0].length = g_vol->nr_clusters;
3727 g_rl_bad[1].length = 0LL;
4145 g_rl_mftmirr[0].length * g_vol->cluster_size);
4149 g_rl_mftmirr[0].length * g_vol->cluster_size,
4150 g_rl_mftmirr[0].length * g_vol->cluster_size,
4690 for (i = 0; i < g_rl_mftmirr[0].length * g_vol->cluster_size / g_vol->mft_record_size; i++) {