/linux/drivers/scsi/ufs/ |
A D | ufs_bsg.c | 18 ufshcd_map_desc_id_to_length(hba, desc_id, desc_len); in ufs_bsg_get_query_desc_size() 19 if (!*desc_len) in ufs_bsg_get_query_desc_size() 22 *desc_len = min_t(int, *desc_len, desc_size); in ufs_bsg_get_query_desc_size() 43 uint8_t **desc_buff, int *desc_len, in ufs_bsg_alloc_desc_buffer() argument 60 if (*desc_len > job->request_payload.payload_len) { in ufs_bsg_alloc_desc_buffer() 65 descp = kzalloc(*desc_len, GFP_KERNEL); in ufs_bsg_alloc_desc_buffer() 72 *desc_len); in ufs_bsg_alloc_desc_buffer() 90 int desc_len = 0; in ufs_bsg_request() local 107 &desc_len, desc_op); in ufs_bsg_request() 118 desc_buff, &desc_len, desc_op); in ufs_bsg_request() [all …]
|
/linux/drivers/nvme/host/ |
A D | fc.h | 36 nvme_fc_format_rsp_hdr(void *buf, u8 ls_cmd, __be32 desc_len, u8 rqst_ls_cmd) in nvme_fc_format_rsp_hdr() argument 41 acc->desc_list_len = desc_len; in nvme_fc_format_rsp_hdr() 43 acc->rqst.desc_len = in nvme_fc_format_rsp_hdr() 58 rjt->rjt.desc_len = fcnvme_lsdesc_len(sizeof(struct fcnvme_lsdesc_rjt)); in nvme_fc_format_rjt() 179 discon_rqst->associd.desc_len = in nvmefc_fmt_lsreq_discon_assoc() 187 discon_rqst->discon_cmd.desc_len = in nvmefc_fmt_lsreq_discon_assoc() 206 else if (rqst->associd.desc_len != in nvmefc_vldt_lsreq_discon_assoc() 213 else if (rqst->discon_cmd.desc_len != in nvmefc_vldt_lsreq_discon_assoc()
|
/linux/include/linux/ |
A D | nvme-fc.h | 157 __be32 desc_len; member 234 __be32 desc_len; member 255 __be32 desc_len; member 283 __be32 desc_len; member 295 __be32 desc_len; member 302 __be32 desc_len; member 309 __be32 desc_len; member
|
A D | key.h | 114 u16 desc_len; member 118 u16 desc_len;
|
/linux/include/uapi/scsi/fc/ |
A D | fc_els.h | 263 __be32 desc_len; /* Length of Descriptor (in bytes). member 284 (__be32_to_cpu((tlv)->desc_len) + FC_TLV_DESC_HDR_SZ) 305 __be32 desc_len; /* Length of Descriptor (in bytes) (4). member 1010 __be32 desc_len; /* Length of Descriptor (in bytes). member 1040 __be32 desc_len; /* Length of Descriptor (in bytes). member 1056 __be32 desc_len; /* Length of Descriptor (in bytes). member 1082 __be32 desc_len; /* Length of Descriptor (in bytes). member 1103 __be32 desc_len; /* Length of Descriptor List (in bytes). member 1113 __be32 desc_len; /* Length of Descriptor (in bytes). member 1164 __be32 desc_len; /* Length of Descriptor (in bytes). member [all …]
|
/linux/drivers/scsi/ |
A D | scsi_common.c | 208 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local 218 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find() 219 descp += desc_len; in scsi_sense_desc_find() 221 desc_len = add_len + 2; in scsi_sense_desc_find()
|
/linux/security/keys/ |
A D | keyring.c | 171 int n, desc_len = index_key->desc_len; in hash_key_type_and_desc() local 181 n = desc_len; in hash_key_type_and_desc() 189 desc_len -= n; in hash_key_type_and_desc() 273 int desc_len = index_key->desc_len, n = sizeof(chunk); in keyring_get_key_chunk() local 293 if (desc_len > n) in keyring_get_key_chunk() 294 desc_len = n; in keyring_get_key_chunk() 298 } while (--desc_len > 0); in keyring_get_key_chunk() 316 key->index_key.desc_len == index_key->desc_len && in keyring_compare_object() 318 index_key->desc_len) == 0; in keyring_compare_object() 364 if (a->desc_len <= i) in keyring_diff_objects() [all …]
|
/linux/fs/cifs/ |
A D | cifs_spnego.c | 93 size_t desc_len; in cifs_get_spnego_key() local 100 desc_len = MAX_VER_STR_LEN + in cifs_get_spnego_key() 109 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 112 description = kzalloc(desc_len, GFP_KERNEL); in cifs_get_spnego_key()
|
/linux/drivers/infiniband/core/ |
A D | packer.c | 63 int desc_len, in ib_pack() argument 69 for (i = 0; i < desc_len; ++i) { in ib_pack() 149 int desc_len, in ib_unpack() argument 155 for (i = 0; i < desc_len; ++i) { in ib_unpack()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | init.c | 289 int i, bsize, desc_len; in ath_descdma_setup() local 297 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup() 299 desc_len = sizeof(struct ath_desc); in ath_descdma_setup() 302 if ((desc_len % 4) != 0) { in ath_descdma_setup() 304 BUG_ON((desc_len % 4) != 0); in ath_descdma_setup() 308 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup() 321 dma_len = ndesc_skipped * desc_len; in ath_descdma_setup() 348 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() 364 ds += (desc_len * ndesc); in ath_descdma_setup() 379 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | sge.c | 1174 unsigned int *desc_len, in write_large_page_tx_descs() argument 1183 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs() 1189 if (*desc_len) { in write_large_page_tx_descs() 1227 desc_len = skb_headlen(skb); in write_tx_descs() 1233 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs() 1243 desc_len -= first_desc_len; in write_tx_descs() 1253 &desc_mapping, &desc_len, in write_tx_descs() 1256 if (likely(desc_len)) in write_tx_descs() 1279 desc_len = skb_frag_size(frag); in write_tx_descs() 1282 &desc_mapping, &desc_len, in write_tx_descs() [all …]
|
/linux/drivers/crypto/caam/ |
A D | desc_constr.h | 54 #define PRINT_POS do { printk(KERN_DEBUG "%02d: %s\n", desc_len(desc),\ 84 static inline int desc_len(u32 * const desc) in desc_len() function 91 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes() 96 return desc + desc_len(desc); in desc_end() 247 (desc_len(desc) - (jump_cmd - desc))); in APPEND_CMD_RET() 255 val |= (desc_len(desc) << (MOVE_OFFSET_SHIFT + 2)) & MOVE_OFFSET_MASK; in set_move_tgt_here()
|
/linux/drivers/target/ |
A D | target_core_xcopy.c | 302 unsigned short desc_len; in target_xcopy_parse_segdesc_02() local 304 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 305 if (desc_len != 0x18) { in target_xcopy_parse_segdesc_02() 307 " %hu\n", desc_len); in target_xcopy_parse_segdesc_02() 322 desc_len, xop->stdi, xop->dtdi, dc); in target_xcopy_parse_segdesc_02()
|
/linux/include/rdma/ |
A D | ib_pack.h | 257 int desc_len, 262 int desc_len,
|
/linux/net/ceph/ |
A D | cls_lock_client.c | 35 int desc_len = strlen(desc); in ceph_cls_lock() local 44 desc_len + sizeof(__le32) + in ceph_cls_lock() 66 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock()
|
/linux/drivers/hid/surface-hid/ |
A D | surface_hid_core.c | 33 if (shid->hid_desc.desc_len != sizeof(shid->hid_desc)) { in surface_hid_load_hid_descriptor() 35 shid->hid_desc.desc_len, sizeof(shid->hid_desc)); in surface_hid_load_hid_descriptor()
|
A D | surface_hid_core.h | 27 __u8 desc_len; /* = 9 */ member
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00debug.c | 153 data_len -= skbdesc->desc_len; in rt2x00debug_dump_frame() 155 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame() 165 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame() 178 skb_put_data(skbcopy, skbdesc->desc, skbdesc->desc_len); in rt2x00debug_dump_frame()
|
/linux/fs/ksmbd/ |
A D | xattr.h | 96 __u16 desc_len; member
|
/linux/drivers/gpu/drm/ |
A D | drm_ioc32.c | 87 u32 desc_len; /* Length of desc buffer */ member 108 .desc_len = v32.desc_len, in compat_drm_version() 121 v32.desc_len = v.desc_len; in compat_drm_version()
|
/linux/drivers/spi/ |
A D | spi-mxs.c | 170 const int desc_len = vmalloced_buf ? PAGE_SIZE : SG_MAXLEN; in mxs_spi_txrx_dma() local 171 const int sgs = DIV_ROUND_UP(len, desc_len); in mxs_spi_txrx_dma() 202 min = min(len, desc_len); in mxs_spi_txrx_dma()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_msg.c | 1022 long desc_len; in vmw_mksstat_add_ioctl() local 1074 desc_len = strncpy_from_user(pdesc->description, u64_to_user_ptr(arg->description), in vmw_mksstat_add_ioctl() 1077 if (desc_len < 0) { in vmw_mksstat_add_ioctl() 1118 …DRM_DEV_INFO(dev->dev, "pid=%d arg.description='%.*s' id=%zu\n", current->pid, (int)desc_len, pdes… in vmw_mksstat_add_ioctl()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_cmds.c | 4268 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_nic_desc() 4269 hdr = (void *)hdr + hdr->desc_len; in be_get_nic_desc() 4301 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_pcie_desc() 4302 hdr = (void *)hdr + hdr->desc_len; in be_get_pcie_desc() 4316 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_port_desc() 4317 hdr = (void *)hdr + hdr->desc_len; in be_get_port_desc() 4426 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_nic_pf_num_list() 4427 hdr = (void *)hdr + hdr->desc_len; in be_get_nic_pf_num_list() 4612 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V0; in be_cmd_config_qos() 4619 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_config_qos() [all …]
|
/linux/arch/powerpc/perf/ |
A D | hv-24x7.c | 262 __be16 *desc_len = (__be16 *)(ev->remainder + nl - 2); in event_desc() local 264 *len = be16_to_cpu(*desc_len) - 2; in event_desc() 272 unsigned desc_len = be16_to_cpu(*desc_len_); in event_long_desc() local 273 __be16 *long_desc_len = (__be16 *)(ev->remainder + nl + desc_len - 2); in event_long_desc() 276 return (char *)ev->remainder + nl + desc_len; in event_long_desc()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_nvme.h | 131 __le32 desc_len; member
|