/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exstorob.c | 33 u32 length; in acpi_ex_store_buffer_to_buffer() local 47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer() 50 * If target is a buffer of length zero or is a static buffer, in acpi_ex_store_buffer_to_buffer() 51 * allocate a new buffer of the proper length in acpi_ex_store_buffer_to_buffer() 53 if ((target_desc->buffer.length == 0) || in acpi_ex_store_buffer_to_buffer() 55 target_desc->buffer.pointer = ACPI_ALLOCATE(length); in acpi_ex_store_buffer_to_buffer() 60 target_desc->buffer.length = length; in acpi_ex_store_buffer_to_buffer() 65 if (length < in acpi_ex_store_buffer_to_buffer() 130 u32 length; acpi_ex_store_string_to_string() local [all...] |
H A D | utids.c | 40 u32 length; in acpi_ut_execute_HID() local 55 length = ACPI_EISAID_STRING_SIZE; in acpi_ut_execute_HID() 57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID() 64 (acpi_size)length); in acpi_ut_execute_HID() 83 hid->length = length; in acpi_ut_execute_HID() 118 u32 length; in acpi_ut_execute_UID() local 133 length = ACPI_MAX64_DECIMAL_DIGITS + 1; in acpi_ut_execute_UID() 135 length in acpi_ut_execute_UID() 204 u32 length; acpi_ut_execute_CID() local 342 u32 length; acpi_ut_execute_CLS() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exstorob.c | 33 u32 length; in acpi_ex_store_buffer_to_buffer() local 47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer() 50 * If target is a buffer of length zero or is a static buffer, in acpi_ex_store_buffer_to_buffer() 51 * allocate a new buffer of the proper length in acpi_ex_store_buffer_to_buffer() 53 if ((target_desc->buffer.length == 0) || in acpi_ex_store_buffer_to_buffer() 55 target_desc->buffer.pointer = ACPI_ALLOCATE(length); in acpi_ex_store_buffer_to_buffer() 60 target_desc->buffer.length = length; in acpi_ex_store_buffer_to_buffer() 65 if (length < in acpi_ex_store_buffer_to_buffer() 130 u32 length; acpi_ex_store_string_to_string() local [all...] |
H A D | utids.c | 40 u32 length; in acpi_ut_execute_HID() local 55 length = ACPI_EISAID_STRING_SIZE; in acpi_ut_execute_HID() 57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID() 64 (acpi_size)length); in acpi_ut_execute_HID() 83 hid->length = length; in acpi_ut_execute_HID() 118 u32 length; in acpi_ut_execute_UID() local 133 length = ACPI_MAX64_DECIMAL_DIGITS + 1; in acpi_ut_execute_UID() 135 length in acpi_ut_execute_UID() 204 u32 length; acpi_ut_execute_CID() local 342 u32 length; acpi_ut_execute_CLS() local [all...] |
/kernel/linux/linux-5.10/sound/usb/line6/ |
H A D | midibuf.c | 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local 22 message_length = length[(code >> 4) - 8]; in midibuf_message_length() 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local 27 message_length = length[code & 0x0f]; in midibuf_message_length() 81 int length) in line6_midibuf_write() 87 if (midibuf_is_full(this) || (length <= 0)) in line6_midibuf_write() 91 if (data[length - 1] == 0xfe) { in line6_midibuf_write() 92 --length; in line6_midibuf_write() 98 if (length > bytes_free) in line6_midibuf_write() 99 length in line6_midibuf_write() 80 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) line6_midibuf_write() argument 123 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length, int read_type) line6_midibuf_read() argument 241 line6_midibuf_ignore(struct midi_buffer *this, int length) line6_midibuf_ignore() argument [all...] |
/kernel/linux/linux-6.6/sound/usb/line6/ |
H A D | midibuf.c | 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local 22 message_length = length[(code >> 4) - 8]; in midibuf_message_length() 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local 27 message_length = length[code & 0x0f]; in midibuf_message_length() 81 int length) in line6_midibuf_write() 87 if (midibuf_is_full(this) || (length <= 0)) in line6_midibuf_write() 91 if (data[length - 1] == 0xfe) { in line6_midibuf_write() 92 --length; in line6_midibuf_write() 98 if (length > bytes_free) in line6_midibuf_write() 99 length in line6_midibuf_write() 80 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) line6_midibuf_write() argument 123 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length, int read_type) line6_midibuf_read() argument 241 line6_midibuf_ignore(struct midi_buffer *this, int length) line6_midibuf_ignore() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.c | 23 unsigned int length, unsigned int offset, in nfp_net_tls_parse_crypto_ops() 30 if (length < 32) { in nfp_net_tls_parse_crypto_ops() 33 length, offset); in nfp_net_tls_parse_crypto_ops() 58 unsigned int length, offset; in nfp_net_tlv_caps_parse() local 61 length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); in nfp_net_tlv_caps_parse() 67 if (length % NFP_NET_CFG_TLV_LENGTH_INC) { in nfp_net_tlv_caps_parse() 69 NFP_NET_CFG_TLV_LENGTH_INC, offset, length); in nfp_net_tlv_caps_parse() 72 if (data + length > end) { in nfp_net_tlv_caps_parse() 74 offset, length); in nfp_net_tlv_caps_parse() 85 if (!length) in nfp_net_tlv_caps_parse() 21 nfp_net_tls_parse_crypto_ops(struct device *dev, struct nfp_net_tlv_caps *caps, u8 __iomem *ctrl_mem, u8 __iomem *data, unsigned int length, unsigned int offset, bool rx_stream_scan) nfp_net_tls_parse_crypto_ops() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.c | 23 unsigned int length, unsigned int offset, in nfp_net_tls_parse_crypto_ops() 30 if (length < 32) { in nfp_net_tls_parse_crypto_ops() 33 length, offset); in nfp_net_tls_parse_crypto_ops() 58 unsigned int length, offset; in nfp_net_tlv_caps_parse() local 61 length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); in nfp_net_tlv_caps_parse() 67 if (length % NFP_NET_CFG_TLV_LENGTH_INC) { in nfp_net_tlv_caps_parse() 69 NFP_NET_CFG_TLV_LENGTH_INC, offset, length); in nfp_net_tlv_caps_parse() 72 if (data + length > end) { in nfp_net_tlv_caps_parse() 74 offset, length); in nfp_net_tlv_caps_parse() 85 if (!length) in nfp_net_tlv_caps_parse() 21 nfp_net_tls_parse_crypto_ops(struct device *dev, struct nfp_net_tlv_caps *caps, u8 __iomem *ctrl_mem, u8 __iomem *data, unsigned int length, unsigned int offset, bool rx_stream_scan) nfp_net_tls_parse_crypto_ops() argument [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | selinuxfs.c | 129 ssize_t length; in sel_read_enforce() local 131 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce() 133 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 144 ssize_t length; in sel_write_enforce() local 158 length = -EINVAL; in sel_write_enforce() 166 length = avc_has_perm(&selinux_state, in sel_write_enforce() 170 if (length) in sel_write_enforce() 186 length = count; in sel_write_enforce() 189 return length; in sel_write_enforce() 207 ssize_t length; in sel_read_handle_unknown() local 283 ssize_t length; sel_write_disable() local 340 ssize_t length; sel_read_policyvers() local 375 ssize_t length; sel_read_mls() local 620 ssize_t length; sel_write_load() local 682 ssize_t length; sel_write_context() local 717 ssize_t length; sel_read_checkreqprot() local 729 ssize_t length; sel_write_checkreqprot() local 913 ssize_t length; sel_write_access() local 964 ssize_t length; sel_write_create() local 1067 ssize_t length; sel_write_relabel() local 1127 ssize_t length; sel_write_user() local 1193 ssize_t length; sel_write_member() local 1266 ssize_t length; sel_read_bool() local 1307 ssize_t length; sel_write_bool() local 1365 ssize_t length; sel_commit_bools_write() local 1502 ssize_t length; sel_read_avc_cache_threshold() local 1556 ssize_t length; sel_read_avc_hash_stats() local 1576 ssize_t length; sel_read_sidtab_hash_stats() local 1851 ssize_t length; sel_read_policycap() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | selinuxfs.c | 127 ssize_t length; in sel_read_enforce() local 129 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce() 131 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 140 ssize_t length; in sel_write_enforce() local 155 length = -EINVAL; in sel_write_enforce() 163 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 166 if (length) in sel_write_enforce() 184 length = count; in sel_write_enforce() 187 return length; in sel_write_enforce() 203 ssize_t length; in sel_read_handle_unknown() local 276 ssize_t length; sel_write_disable() local 315 ssize_t length; sel_read_policyvers() local 349 ssize_t length; sel_read_mls() local 587 ssize_t length; sel_write_load() local 647 ssize_t length; sel_write_context() local 680 ssize_t length; sel_read_checkreqprot() local 691 ssize_t length; sel_write_checkreqprot() local 871 ssize_t length; sel_write_access() local 919 ssize_t length; sel_write_create() local 1019 ssize_t length; sel_write_relabel() local 1076 ssize_t length; sel_write_user() local 1139 ssize_t length; sel_write_member() local 1211 ssize_t length; sel_read_bool() local 1252 ssize_t length; sel_write_bool() local 1309 ssize_t length; sel_commit_bools_write() local 1443 ssize_t length; sel_read_avc_cache_threshold() local 1492 ssize_t length; sel_read_avc_hash_stats() local 1510 ssize_t length; sel_read_sidtab_hash_stats() local 1783 ssize_t length; sel_read_policycap() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt() 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() 60 if (var->bits_per_pixel == 16 && var->red.length < in var_to_pixfmt() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt() 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() 60 if (var->bits_per_pixel == 16 && var->red.length < in var_to_pixfmt() [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | runlist.c | 151 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable() 155 ((dst->lcn + dst->length) == src->lcn)) in ntfs_are_rl_mergeable() 177 dst->length += src->length; in __ntfs_rl_merge() 238 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append() 240 /* We may have changed the length of the file, so fix the end marker */ in ntfs_rl_append() 242 dst[marker].vcn = dst[marker - 1].vcn + dst[marker - 1].length; in ntfs_rl_append() 292 merged_length = dst[loc - 1].length; in ntfs_rl_insert() 294 merged_length += src->length; in ntfs_rl_insert() 325 dst[marker].vcn = dst[marker - 1].vcn + dst[marker - 1].length; in ntfs_rl_insert() 1144 s64 delta, length = rl->length; ntfs_get_size_for_mapping_pairs() local 1181 s64 length = rl->length; ntfs_get_size_for_mapping_pairs() local 1346 s64 delta, length = rl->length; ntfs_mapping_pairs_build() local 1399 s64 length = rl->length; ntfs_mapping_pairs_build() local 1630 ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, const VCN start, const s64 length) ntfs_rl_punch_nolock() argument [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | runlist.c | 151 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable() 155 ((dst->lcn + dst->length) == src->lcn)) in ntfs_are_rl_mergeable() 177 dst->length += src->length; in __ntfs_rl_merge() 238 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append() 240 /* We may have changed the length of the file, so fix the end marker */ in ntfs_rl_append() 242 dst[marker].vcn = dst[marker - 1].vcn + dst[marker - 1].length; in ntfs_rl_append() 292 merged_length = dst[loc - 1].length; in ntfs_rl_insert() 294 merged_length += src->length; in ntfs_rl_insert() 325 dst[marker].vcn = dst[marker - 1].vcn + dst[marker - 1].length; in ntfs_rl_insert() 1144 s64 delta, length = rl->length; ntfs_get_size_for_mapping_pairs() local 1181 s64 length = rl->length; ntfs_get_size_for_mapping_pairs() local 1346 s64 delta, length = rl->length; ntfs_mapping_pairs_build() local 1399 s64 length = rl->length; ntfs_mapping_pairs_build() local 1630 ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, const VCN start, const s64 length) ntfs_rl_punch_nolock() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | relay.h | 187 size_t length); 193 * @length: number of bytes to write 204 size_t length) in relay_write() 211 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write() 212 length = relay_switch_subbuf(buf, length); in relay_write() 213 memcpy(buf->data + buf->offset, data, length); in relay_write() 214 buf->offset += length; in relay_write() 222 * @length: number of bytes to write 232 size_t length) in __relay_write() 202 relay_write(struct rchan *chan, const void *data, size_t length) relay_write() argument 230 __relay_write(struct rchan *chan, const void *data, size_t length) __relay_write() argument 255 relay_reserve(struct rchan *chan, size_t length) relay_reserve() argument 281 subbuf_start_reserve(struct rchan_buf *buf, size_t length) subbuf_start_reserve() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | relay.h | 174 size_t length); 180 * @length: number of bytes to write 191 size_t length) in relay_write() 198 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write() 199 length = relay_switch_subbuf(buf, length); in relay_write() 200 memcpy(buf->data + buf->offset, data, length); in relay_write() 201 buf->offset += length; in relay_write() 209 * @length: number of bytes to write 219 size_t length) in __relay_write() 189 relay_write(struct rchan *chan, const void *data, size_t length) relay_write() argument 217 __relay_write(struct rchan *chan, const void *data, size_t length) __relay_write() argument 242 relay_reserve(struct rchan *chan, size_t length) relay_reserve() argument 268 subbuf_start_reserve(struct rchan_buf *buf, size_t length) subbuf_start_reserve() argument [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A D | rdmavt_mr.h | 21 size_t length; member 35 size_t length; member 70 u32 sge_length; /* length of the SGE */ 71 u32 length; /* remaining length of the segment */ member 102 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length) in rvt_get_sge_length() argument 104 u32 len = sge->length; in rvt_get_sge_length() 106 if (len > length) in rvt_get_sge_length() 107 len = length; in rvt_get_sge_length() 114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, in rvt_update_sge() argument 138 rvt_skip_sge(struct rvt_sge_state *ss, u32 length, bool release) rvt_skip_sge() argument [all...] |
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdmavt_mr.h | 21 size_t length; member 35 size_t length; member 70 u32 sge_length; /* length of the SGE */ 71 u32 length; /* remaining length of the segment */ member 102 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length) in rvt_get_sge_length() argument 104 u32 len = sge->length; in rvt_get_sge_length() 106 if (len > length) in rvt_get_sge_length() 107 len = length; in rvt_get_sge_length() 114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, in rvt_update_sge() argument 138 rvt_skip_sge(struct rvt_sge_state *ss, u32 length, bool release) rvt_skip_sge() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_mr.c | 27 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length) in mem_check_range() argument 36 length > mem->length || in mem_check_range() 37 iova > mem->iova + mem->length - length) in mem_check_range() 127 u64 length, u64 iova, int access, struct ib_udata *udata, in rxe_mem_init_user() 138 umem = ib_umem_get(pd->ibpd.device, start, length, access); in rxe_mem_init_user() 163 if (length > 0) { in rxe_mem_init_user() 192 mem->length = length; in rxe_mem_init_user() 126 rxe_mem_init_user(struct rxe_pd *pd, u64 start, u64 length, u64 iova, int access, struct ib_udata *udata, struct rxe_mem *mem) rxe_mem_init_user() argument 240 u64 length; lookup_iova() local 270 iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length) iova_to_vaddr() argument 311 rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr, int length, enum copy_direction dir, u32 *crcp) rxe_mem_copy() argument 402 copy_data( struct rxe_pd *pd, int access, struct rxe_dma_info *dma, void *addr, int length, enum copy_direction dir, u32 *crcp) copy_data() argument 496 advance_dma_data(struct rxe_dma_info *dma, unsigned int length) advance_dma_data() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 40 struct archdr *pkthdr, int length) in rx() 47 arc_printk(D_DURING, dev, "it's a raw packet (length=%d)\n", length); in rx() 49 if (length > MTU) in rx() 50 ofs = 512 - length; in rx() 52 ofs = 256 - length; in rx() 54 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in rx() 59 skb_put(skb, length + ARC_HDR_SIZE); in rx() 69 if (length > sizeof(pkt->soft)) in rx() 72 length in rx() 39 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) rx() argument 113 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) prepare_tx() argument [all...] |
H A D | capmode.c | 43 struct archdr *pkthdr, int length) in rx() 51 arc_printk(D_DURING, dev, "it's a raw(cap) packet (length=%d)\n", in rx() 52 length); in rx() 54 if (length >= MinTU) in rx() 55 ofs = 512 - length; in rx() 57 ofs = 256 - length; in rx() 59 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); in rx() 64 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int)); in rx() 82 if (length > sizeof(pkt->soft)) in rx() 86 length in rx() 42 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) rx() argument 132 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) prepare_tx() argument 190 int length = sizeof(struct arc_cap); ack_tx() local [all...] |
/kernel/linux/linux-6.6/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 40 struct archdr *pkthdr, int length) in rx() 47 arc_printk(D_DURING, dev, "it's a raw packet (length=%d)\n", length); in rx() 49 if (length > MTU) in rx() 50 ofs = 512 - length; in rx() 52 ofs = 256 - length; in rx() 54 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in rx() 59 skb_put(skb, length + ARC_HDR_SIZE); in rx() 69 if (length > sizeof(pkt->soft)) in rx() 72 length in rx() 39 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) rx() argument 113 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) prepare_tx() argument [all...] |
H A D | capmode.c | 43 struct archdr *pkthdr, int length) in rx() 51 arc_printk(D_DURING, dev, "it's a raw(cap) packet (length=%d)\n", in rx() 52 length); in rx() 54 if (length >= MinTU) in rx() 55 ofs = 512 - length; in rx() 57 ofs = 256 - length; in rx() 59 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); in rx() 64 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int)); in rx() 82 if (length > sizeof(pkt->soft)) in rx() 86 length in rx() 42 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) rx() argument 132 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) prepare_tx() argument 190 int length = sizeof(struct arc_cap); ack_tx() local [all...] |
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | block.c | 76 static int squashfs_bio_read(struct super_block *sb, u64 index, int length, in squashfs_bio_read() argument 82 const u64 read_end = round_up(index + length, msblk->devblksize); in squashfs_bio_read() 136 * filesystem), otherwise the length is obtained from the first two bytes of 137 * the metadata block. A bit in the length field indicates if the block 142 int squashfs_read_data(struct super_block *sb, u64 index, int length, in squashfs_read_data() argument 151 if (length) { in squashfs_read_data() 155 compressed = SQUASHFS_COMPRESSED_BLOCK(length); in squashfs_read_data() 156 length = SQUASHFS_COMPRESSED_SIZE_BLOCK(length); in squashfs_read_data() 158 index, compressed ? "" : "un", length, outpu in squashfs_read_data() [all...] |
H A D | cache.c | 53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get() 110 entry->length = squashfs_read_data(sb, block, length, in squashfs_cache_get() 115 if (entry->length < 0) in squashfs_cache_get() 116 entry->error = entry->length; in squashfs_cache_get() 289 * Copy up to length bytes from cache entry to buffer starting at offset bytes 290 * into the cache entry. If there's not length bytes then copy the number of 294 int offset, int length) in squashfs_copy_data() 296 int remaining = length; in squashfs_copy_data() 298 if (length in squashfs_copy_data() 52 squashfs_cache_get(struct super_block *sb, struct squashfs_cache *cache, u64 block, int length) squashfs_cache_get() argument 293 squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, int offset, int length) squashfs_copy_data() argument 331 squashfs_read_metadata(struct super_block *sb, void *buffer, u64 *block, int *offset, int length) squashfs_read_metadata() argument 379 squashfs_get_fragment(struct super_block *sb, u64 start_block, int length) squashfs_get_fragment() argument 394 squashfs_get_datablock(struct super_block *sb, u64 start_block, int length) squashfs_get_datablock() argument 406 squashfs_read_table(struct super_block *sb, u64 block, int length) squashfs_read_table() argument [all...] |