Searched refs:reslen (Results 1 - 11 of 11) sorted by relevance

/linux-4.1.27/drivers/staging/i2o/
H A Dcore.h42 int oplen, void *reslist, int reslen);
H A Di2o_config.c94 u32 reslen; i2o_cfg_gethrt() local
100 if (get_user(reslen, kcmd.reslen) < 0) i2o_cfg_gethrt()
114 if (put_user(len, kcmd.reslen)) i2o_cfg_gethrt()
116 else if (len > reslen) i2o_cfg_gethrt()
132 u32 reslen; i2o_cfg_getlct() local
137 if (get_user(reslen, kcmd.reslen) < 0) i2o_cfg_getlct()
150 if (put_user(len, kcmd.reslen)) i2o_cfg_getlct()
152 else if (len > reslen) i2o_cfg_getlct()
168 u32 reslen; i2o_cfg_parms() local
179 if (get_user(reslen, kcmd.reslen)) i2o_cfg_parms()
219 if (put_user(len, kcmd.reslen)) i2o_cfg_parms()
221 else if (len > reslen) i2o_cfg_parms()
H A Ddevice.c467 int oplen, void *reslist, int reslen) i2o_parm_issue()
478 if (i2o_dma_alloc(dev, &res, reslen)) i2o_parm_issue()
558 int reslen) i2o_parm_table_get()
579 size, resblk, reslen); i2o_parm_table_get()
582 if (size > reslen) i2o_parm_table_get()
583 return reslen; i2o_parm_table_get()
466 i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, int oplen, void *reslist, int reslen) i2o_parm_issue() argument
556 i2o_parm_table_get(struct i2o_device *dev, int oper, int group, int fieldcount, void *ibuf, int ibuflen, void *resblk, int reslen) i2o_parm_table_get() argument
/linux-4.1.27/drivers/net/wireless/prism54/
H A Doid_mgt.c520 int reslen = 0; mgt_get_request() local
540 reslen = dlen; mgt_get_request()
556 reslen = response->header->length; mgt_get_request()
565 res->ptr = kmalloc(reslen, GFP_KERNEL); mgt_get_request()
568 memset(res->ptr, 0, reslen); mgt_get_request()
570 memcpy(res->ptr, _res, reslen); mgt_get_request()
581 if (reslen > isl_oid[n].size) mgt_get_request()
585 oid, reslen, isl_oid[n].size); mgt_get_request()
/linux-4.1.27/scripts/kconfig/
H A Dsymbol.c875 size_t reslen; sym_expand_string_value() local
877 reslen = strlen(in) + 1; sym_expand_string_value()
878 res = xmalloc(reslen); sym_expand_string_value()
902 if (newlen > reslen) { sym_expand_string_value()
903 reslen = newlen; sym_expand_string_value()
904 res = realloc(res, reslen); sym_expand_string_value()
918 size_t reslen; sym_escape_string_value() local
922 reslen = strlen(in) + strlen("\"\"") + 1; sym_escape_string_value()
932 reslen++; sym_escape_string_value()
936 res = xmalloc(reslen); sym_escape_string_value()
/linux-4.1.27/include/uapi/linux/
H A Di2o-dev.h61 unsigned int __user *reslen; /* Buffer length in bytes */ member in struct:i2o_cmd_hrtlct
70 unsigned int __user *reslen; /* Result List buffer length in bytes */ member in struct:i2o_cmd_psetget
89 unsigned int __user *reslen; /* Length in bytes of reply buffer */ member in struct:i2o_html
/linux-4.1.27/drivers/acpi/
H A Dresource.c39 u64 reslen = end - start + 1; acpi_dev_resource_len_valid() local
46 * descriptor, so remove check of 'reslen == len' to avoid regression. acpi_dev_resource_len_valid()
48 if (len && reslen && start <= end) acpi_dev_resource_len_valid()
/linux-4.1.27/drivers/scsi/
H A Ddpti.h280 void *resblk, dma_addr_t resblk_pa, int reslen);
H A Dpmcraid.c2838 * @reslen: residual data length to be set in the ioasa
2850 static int _pmcraid_io_done(struct pmcraid_cmd *cmd, int reslen, int ioasc) _pmcraid_io_done() argument
2855 scsi_set_resid(scsi_cmd, reslen); _pmcraid_io_done()
2888 u32 reslen = le32_to_cpu(cmd->ioa_cb->ioasa.residual_data_length); pmcraid_io_done() local
2890 if (_pmcraid_io_done(cmd, reslen, ioasc) == 0) pmcraid_io_done()
H A Ddpt_i2o.c3392 void *resblk_va, dma_addr_t resblk_pa, int reslen) adpt_i2o_issue_params()
3405 msg[7] = 0xD0000000 | reslen; /* ResultBlock */ adpt_i2o_issue_params()
3390 adpt_i2o_issue_params(int cmd, adpt_hba* pHba, int tid, void *opblk_va, dma_addr_t opblk_pa, int oplen, void *resblk_va, dma_addr_t resblk_pa, int reslen) adpt_i2o_issue_params() argument
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_alloc.c148 xfs_extlen_t *reslen) /* result length */ xfs_alloc_compute_aligned()
161 *reslen = diff >= len ? 0 : len - diff; xfs_alloc_compute_aligned()
164 *reslen = len; xfs_alloc_compute_aligned()
143 xfs_alloc_compute_aligned( xfs_alloc_arg_t *args, xfs_agblock_t foundbno, xfs_extlen_t foundlen, xfs_agblock_t *resbno, xfs_extlen_t *reslen) xfs_alloc_compute_aligned() argument

Completed in 418 milliseconds