/linux/drivers/ufs/core/ |
H A D | ufs_bsg.c | 16 static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len, in ufs_bsg_get_query_desc_size() argument 24 *desc_len = min_t(int, QUERY_DESC_MAX_SIZE, desc_size); in ufs_bsg_get_query_desc_size() 30 uint8_t **desc_buff, int *desc_len, in ufs_bsg_alloc_desc_buffer() argument 42 if (ufs_bsg_get_query_desc_size(hba, desc_len, qr)) { in ufs_bsg_alloc_desc_buffer() 47 if (*desc_len > job->request_payload.payload_len) { in ufs_bsg_alloc_desc_buffer() 52 descp = kzalloc(*desc_len, GFP_KERNEL); in ufs_bsg_alloc_desc_buffer() 59 *desc_len); in ufs_bsg_alloc_desc_buffer() 140 int desc_len = 0; in ufs_bsg_request() local 153 ret = ufs_bsg_alloc_desc_buffer(hba, job, &buff, &desc_len, desc_op); in ufs_bsg_request() 161 buff, &desc_len, desc_op); in ufs_bsg_request() [all …]
|
/linux/drivers/nvme/host/ |
H 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/ |
H 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
|
H A D | key.h | 120 u16 desc_len; member 124 u16 desc_len;
|
/linux/include/uapi/scsi/fc/ |
H 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 1134 __be32 desc_len; /* Length of Descriptor List (in bytes). member [all …]
|
/linux/drivers/scsi/ |
H A D | scsi_common.c | 251 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local 261 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find() 262 descp += desc_len; in scsi_sense_desc_find() 264 desc_len = add_len + 2; in scsi_sense_desc_find()
|
/linux/security/keys/ |
H A D | keyring.c | 171 int n, desc_len = index_key->desc_len; in hash_key_type_and_desc() local 174 acc = mult_64x32_and_fold(type, desc_len + 13); in hash_key_type_and_desc() 181 n = desc_len; in hash_key_type_and_desc() 189 desc_len -= n; in hash_key_type_and_desc() 217 size_t n = min_t(size_t, index_key->desc_len, sizeof(index_key->desc)); in key_set_index_key() 273 int desc_len = index_key->desc_len, n = sizeof(chunk); in keyring_get_key_chunk() local 287 if (desc_len <= sizeof(index_key->desc)) in keyring_get_key_chunk() 292 desc_len -= sizeof(index_key->desc); in keyring_get_key_chunk() 293 if (desc_len > n) in keyring_get_key_chunk() 294 desc_len = n; in keyring_get_key_chunk() [all …]
|
H A D | persistent.c | 86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
|
/linux/fs/smb/server/ |
H A D | connection.h | 129 unsigned int desc_len); 133 unsigned int desc_len); 158 unsigned int desc_len); 162 unsigned int desc_len);
|
H A D | connection.c | 245 unsigned int desc_len) in ksmbd_conn_rdma_read() argument 252 desc, desc_len); in ksmbd_conn_rdma_read() 259 unsigned int desc_len) in ksmbd_conn_rdma_write() argument 266 desc, desc_len); in ksmbd_conn_rdma_write()
|
H A D | xattr.h | 96 __u16 desc_len; member
|
/linux/drivers/infiniband/core/ |
H 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/gpu/drm/ |
H 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/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1165 unsigned int *desc_len, in write_large_page_tx_descs() argument 1173 while (*desc_len > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs() 1174 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs() 1176 *gen, nfrags == 0 && *desc_len == 0); in write_large_page_tx_descs() 1180 if (*desc_len) { in write_large_page_tx_descs() 1208 unsigned int i, flags, first_desc_len, desc_len, in write_tx_descs() local 1218 desc_len = skb_headlen(skb); in write_tx_descs() 1221 V_CMD_EOP(nfrags == 0 && desc_len <= SGE_TX_DESC_MAX_PLEN) | in write_tx_descs() 1223 first_desc_len = (desc_len <= SGE_TX_DESC_MAX_PLEN) ? in write_tx_descs() 1224 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs() [all …]
|
/linux/tools/perf/ |
H A D | builtin-list.c | 172 int desc_len = -1; in default_print_event() 175 desc_len = strlen(desc); in default_print_event() 176 desc_len = asprintf(&desc_with_unit, in default_print_event() 177 desc_len > 0 && desc[desc_len - 1] != '.' in default_print_event() 182 wordwrap(fp, desc_len > 0 ? desc_with_unit : desc, 8, pager_get_columns(), 0); in default_print_event() 171 int desc_len = -1; default_print_event() local
|
/linux/drivers/crypto/caam/ |
H 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() 248 (desc_len(desc) - (jump_cmd - desc))); in APPEND_CMD_RET() 256 val |= (desc_len(desc) << (MOVE_OFFSET_SHIFT + 2)) & MOVE_OFFSET_MASK; in set_move_tgt_here()
|
/linux/drivers/target/ |
H A D | target_core_xcopy.c | 303 unsigned short desc_len; in target_xcopy_parse_segdesc_02() local 305 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 306 if (desc_len != 0x18) { in target_xcopy_parse_segdesc_02() 308 " %hu\n", desc_len); in target_xcopy_parse_segdesc_02() 323 desc_len, xop->stdi, xop->dtdi, dc); in target_xcopy_parse_segdesc_02()
|
/linux/net/ceph/ |
H 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/include/rdma/ |
H A D | ib_pack.h | 262 int desc_len, 267 int desc_len,
|
/linux/drivers/hid/surface-hid/ |
H A D | surface_hid_core.c | 51 if (shid->hid_desc.desc_len != sizeof(shid->hid_desc)) { in surface_hid_load_hid_descriptor() 53 shid->hid_desc.desc_len, sizeof(shid->hid_desc)); in surface_hid_load_hid_descriptor()
|
H A D | surface_hid_core.h | 27 __u8 desc_len; /* = 9 */ member
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H 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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 945 long desc_len; in vmw_mksstat_add_ioctl() local 1010 desc_len = strncpy_from_user(pdesc->description, u64_to_user_ptr(arg->description), in vmw_mksstat_add_ioctl() 1013 if (desc_len < 0) { in vmw_mksstat_add_ioctl() 1054 …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/spi/ |
H A D | spi-mxs.c | 171 const int desc_len = vmalloced_buf ? PAGE_SIZE : SG_MAXLEN; in mxs_spi_txrx_dma() local 172 const int sgs = DIV_ROUND_UP(len, desc_len); in mxs_spi_txrx_dma() 203 min = min(len, desc_len); in mxs_spi_txrx_dma()
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 4269 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_nic_desc() 4270 hdr = (void *)hdr + hdr->desc_len; in be_get_nic_desc() 4302 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_pcie_desc() 4303 hdr = (void *)hdr + hdr->desc_len; in be_get_pcie_desc() 4317 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_port_desc() 4318 hdr = (void *)hdr + hdr->desc_len; in be_get_port_desc() 4427 hdr->desc_len = hdr->desc_len ? : RESOURCE_DESC_SIZE_V0; in be_get_nic_pf_num_list() 4428 hdr = (void *)hdr + hdr->desc_len; in be_get_nic_pf_num_list() 4613 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V0; in be_cmd_config_qos() 4620 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_config_qos() [all …]
|